Mercurial > hgrepos > Python > libs > ConfigMix
diff CHANGES.txt @ 221:6f0f39a9a46f
configmix.load() and .safe_load() got a new keyword argument "extras" to be merged in as last configuration dictionary
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Thu, 09 May 2019 09:37:51 +0200 |
| parents | b56586789838 |
| children | 51a355095838 |
line wrap: on
line diff
--- a/CHANGES.txt Thu May 09 09:27:23 2019 +0200 +++ b/CHANGES.txt Thu May 09 09:37:51 2019 +0200 @@ -17,6 +17,16 @@ :released: unreleased .. change:: + :tags: feature + + :py:func:`configmix.load` and :py:func:`configmix.safe_load` got a + new keyword argument `extras` that (if given) will be used as the + *last* configuration dictionary to be merged into the configuration. + + This can be used to overwrite configuration file settings from + commandline arguments. + + .. change:: :tags: bugfix :py:func:`configmix.safe_load` did some preliminary unsafe merges
