This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author lukasz.langa
Recipients Steap, barry, lukasz.langa, miss-islington, ned.deily, vinay.sajip
Date 2018-08-08.15:14:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1533741256.63.0.56676864532.issue33802@psf.upfronthosting.co.za>
In-reply-to
Content
None is an invalid value in the configparser. It only accepts strings. See:

>>> cp = ConfigParser()
>>> cp['asd'] = {'a': None}
Traceback (most recent call last):
...
TypeError: option values must be strings



The DEFAULT section was an omission which is now fixed. You can use a RawConfigParser if you want to put invalid types as option values:

>>> rcp = RawConfigParser()
>>> rcp['asd'] = {'a': None}
>>>
History
Date User Action Args
2018-08-08 15:14:16lukasz.langasetrecipients: + lukasz.langa, barry, vinay.sajip, ned.deily, Steap, miss-islington
2018-08-08 15:14:16lukasz.langasetmessageid: <1533741256.63.0.56676864532.issue33802@psf.upfronthosting.co.za>
2018-08-08 15:14:16lukasz.langalinkissue33802 messages
2018-08-08 15:14:16lukasz.langacreate