Message323285
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}
>>> |
|
Date |
User |
Action |
Args |
2018-08-08 15:02:23 | lukasz.langa | set | recipients:
+ lukasz.langa, barry, vstinner, r.david.murray, aragilar, Anthony Sottile, miss-islington |
2018-08-08 15:02:23 | lukasz.langa | set | messageid: <1533740543.15.0.56676864532.issue23835@psf.upfronthosting.co.za> |
2018-08-08 15:02:23 | lukasz.langa | link | issue23835 messages |
2018-08-08 15:02:23 | lukasz.langa | create | |
|