Mercurial > hgrepos > Python > libs > ConfigMix
comparison CHANGES.txt @ 172:8138d56d7cd3
".load" and ".safe_load" get a keyword parameter "defaults" that allows the provision of a configuration dictionary with default settings
| author | Franz Glasner <f.glasner@feldmann-mg.com> |
|---|---|
| date | Fri, 26 Apr 2019 14:30:52 +0200 |
| parents | 1ff11462a5c1 |
| children | 3c0ff52b2bdb |
comparison
equal
deleted
inserted
replaced
| 171:1ff11462a5c1 | 172:8138d56d7cd3 |
|---|---|
| 18 | 18 |
| 19 .. change:: | 19 .. change:: |
| 20 :tags: breaking, feature | 20 :tags: breaking, feature |
| 21 | 21 |
| 22 The associations from filename extensions to parsers are | 22 The associations from filename extensions to parsers are |
| 23 :py:mod:`fnmatch` style patterns now. | 23 :py:mod:`fnmatch` style patterns now. |
| 24 | 24 |
| 25 Calling :py:func:`configmix.set_loader` prepends to the currently | 25 Calling :py:func:`configmix.set_loader` prepends to the currently |
| 26 defined associations and therefore gets the highest priority. | 26 defined associations and therefore gets the highest priority. |
| 27 | |
| 28 .. change:: | |
| 29 :tags: feature | |
| 30 | |
| 31 :py:func:`configmix.load` and :py:func:`configmix.safe_load` got a | |
| 32 keyword argument `defaults` that allow the provision of an already | |
| 33 existing default configuration wheter all additional configuration | |
| 34 settings are merged into. | |
| 27 | 35 |
| 28 | 36 |
| 29 .. changelog:: | 37 .. changelog:: |
| 30 :version: 0.6 | 38 :version: 0.6 |
| 31 :released: 2019-03-14 | 39 :released: 2019-03-14 |
