Mercurial > hgrepos > Python > libs > ConfigMix
comparison CHANGES.txt @ 353:a7491f835cb0
Changelog and minimal docu for `None` and `Empty` filters
| author | Franz Glasner <f.glasner@feldmann-mg.com> |
|---|---|
| date | Thu, 24 Jun 2021 19:39:20 +0200 |
| parents | d7daec119383 |
| children | bd28fb4565e1 |
comparison
equal
deleted
inserted
replaced
| 352:2b209bdf6995 | 353:a7491f835cb0 |
|---|---|
| 15 n/a (not yet) | 15 n/a (not yet) |
| 16 ~~~~~~~~~~~~~ | 16 ~~~~~~~~~~~~~ |
| 17 | 17 |
| 18 - **[feature]** | 18 - **[feature]** |
| 19 New filter function :py:func:`urlquote_plus` | 19 New filter function :py:func:`urlquote_plus` |
| 20 | |
| 21 - **[feature]** | |
| 22 New filter functions :py:func:`None` and :py:func:`Empty`. They are | |
| 23 useful in variable interpolation context where they suppress possible | |
| 24 lookup errors (aka :py:exception:`KeyError`) and instead return with | |
| 25 :py:obj:`None` or an empty string. | |
| 20 | 26 |
| 21 | 27 |
| 22 0.14 (2021-05-10) | 28 0.14 (2021-05-10) |
| 23 ~~~~~~~~~~~~~~~~~ | 29 ~~~~~~~~~~~~~~~~~ |
| 24 | 30 |
