Author lukasz.langa
Recipients Anthony Sottile, aragilar, barry, lukasz.langa, miss-islington, r.david.murray, vstinner
Date 2018-08-08.15:02:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1533740543.15.0.56676864532.issue23835@psf.upfronthosting.co.za>
In-reply-to
Content
That's intentional. In ConfigParser objects this exception would be raised for any other section's assignment already. You want RawConfigParser if you want to put (invalid) types as option values. See:

>>> cp = ConfigParser()
>>> cp['asd'] = {'a': None}
Traceback (most recent call last):
...
TypeError: option values must be strings
>>> rcp = RawConfigParser()
>>> rcp['asd'] = {'a': None}
>>>
History
Date User Action Args
2018-08-08 15:02:23lukasz.langasetrecipients: + lukasz.langa, barry, vstinner, r.david.murray, aragilar, Anthony Sottile, miss-islington
2018-08-08 15:02:23lukasz.langasetmessageid: <1533740543.15.0.56676864532.issue23835@psf.upfronthosting.co.za>
2018-08-08 15:02:23lukasz.langalinkissue23835 messages
2018-08-08 15:02:23lukasz.langacreate