Message335150
configparser interface implicitly converts all objects to str (read_dict [sic] on line 724 of "Lib/configparser.py") while saving but not while lookup (__getitem__ on line 956).
MWE:
```
config = configparser.ConfigParser()
config[123] = {}
print(config[123])
```
~> KeyError: 123 |
|
Date |
User |
Action |
Args |
2019-02-10 12:28:38 | Adeokkuw | set | recipients:
+ Adeokkuw |
2019-02-10 12:28:34 | Adeokkuw | set | messageid: <1549801714.53.0.77041525212.issue35954@roundup.psfhosted.org> |
2019-02-10 12:28:34 | Adeokkuw | link | issue35954 messages |
2019-02-10 12:28:34 | Adeokkuw | create | |
|