Mercurial > hgrepos > Python > libs > ConfigMix
annotate tests/data/conf1.py @ 122:21d92ff8cf31
Begin the handling of JSON-style configuration files
| author | Franz Glasner <hg@dom66.de> |
|---|---|
| date | Wed, 04 Apr 2018 09:45:29 +0200 |
| parents | ba5970a2dcef |
| children | 7e6ec99d5ff5 |
| rev | line source |
|---|---|
| 93 | 1 # -*- coding: utf-8 -*- |
| 2 | |
| 3 key1 = u"the value" | |
| 4 key2 = 2 | |
| 5 key3 = 5.7 | |
| 6 key4 = True | |
| 7 key5 = False | |
| 95 | 8 key6 = 0o377 |
|
120
ba5970a2dcef
The default file encoding when reading INI style files with configmix.ini.load() is now "UTF-8".
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
95
diff
changeset
|
9 key7 = u"Umlaute: ÄÖÜäöüß" |
