Author Adeokkuw
Recipients Adeokkuw
Date 2019-02-10.12:28:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1549801714.53.0.77041525212.issue35954@roundup.psfhosted.org>
In-reply-to
Content
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
History
Date User Action Args
2019-02-10 12:28:38Adeokkuwsetrecipients: + Adeokkuw
2019-02-10 12:28:34Adeokkuwsetmessageid: <1549801714.53.0.77041525212.issue35954@roundup.psfhosted.org>
2019-02-10 12:28:34Adeokkuwlinkissue35954 messages
2019-02-10 12:28:34Adeokkuwcreate