Mercurial > hgrepos > Python > libs > ConfigMix
comparison docs/introduction.rst @ 425:88d8de9310af
Docs: jails hold strong references to the unjailed base configuration
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Tue, 07 Dec 2021 09:27:44 +0100 |
| parents | e60b72df15de |
| children | 84d4f82ffe59 |
comparison
equal
deleted
inserted
replaced
| 424:e60b72df15de | 425:88d8de9310af |
|---|---|
| 594 jailed_config2 = jailed_config2.jailed(rootpath="tree2") | 594 jailed_config2 = jailed_config2.jailed(rootpath="tree2") |
| 595 jvalue2 = jailed_config.getvarl_s("key4") | 595 jvalue2 = jailed_config.getvarl_s("key4") |
| 596 | 596 |
| 597 assert value == jvalue2 == "get this as `tree1.tree2.key4'" | 597 assert value == jvalue2 == "get this as `tree1.tree2.key4'" |
| 598 | 598 |
| 599 .. note:: A jailed configuration holds a strong reference to the unjailed | |
| 600 base configuration. | |
| 601 | |
| 599 | 602 |
| 600 Custom filename extensions and custom loaders | 603 Custom filename extensions and custom loaders |
| 601 --------------------------------------------- | 604 --------------------------------------------- |
| 602 | 605 |
| 603 If you want to have custom configuration file extensions and/or custom loaders | 606 If you want to have custom configuration file extensions and/or custom loaders |
