Mercurial > hgrepos > Python > libs > ConfigMix
comparison CHANGES.txt @ 654:0d6673d06c2c
Add support for using "tomllib" (in Python's stdlib since 3.11) and "tomli" TOML packages.
They are preferred if they are found to be installed.
But note that the declared dependency for the "toml" extra nevertheless
is the "toml" package. Because it is available for all supported Python
versions.
So use Python 3.11+ or install "tomli" manually if you want to use the
alternate packages.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Thu, 19 May 2022 22:10:59 +0200 |
| parents | 211288645f02 |
| children | 2b1c7a68f913 |
comparison
equal
deleted
inserted
replaced
| 653:211288645f02 | 654:0d6673d06c2c |
|---|---|
| 15 n/a (n/a) | 15 n/a (n/a) |
| 16 ~~~~~~~~~ | 16 ~~~~~~~~~ |
| 17 | 17 |
| 18 - **[feature]** | 18 - **[feature]** |
| 19 Allow to enable and disable the internal caching | 19 Allow to enable and disable the internal caching |
| 20 | |
| 21 - **[feature]** | |
| 22 Add support for using :py:mod:`tomllib` (in Python's stdlib since 3.11) | |
| 23 and :py:mod:`tomli` TOML packages. They are preferred if they are found | |
| 24 to be installed. | |
| 25 | |
| 26 But note that the declared dependency for the ``toml`` extra nevertheless | |
| 27 is the :py:mod:`toml` package. Because it is available for all supported | |
| 28 Python versions. | |
| 29 So use Python 3.11+ or install :py:mod:`tomli` manually if you want to | |
| 30 use the alternate packages. | |
| 20 | 31 |
| 21 - **[bugfix]** | 32 - **[bugfix]** |
| 22 For better consistency: use `.getvarl_s()` instead of `.getvarl()` | 33 For better consistency: use `.getvarl_s()` instead of `.getvarl()` |
| 23 in the implementation of `__len__()` in jailed configurations. | 34 in the implementation of `__len__()` in jailed configurations. |
| 24 | 35 |
