Message320899
Unclear if this regression (from this patch) is intentional or not:
```
$ python3.6 -c 'import configparser; configparser.ConfigParser(defaults={"a": None})'
$ python3.7 -c 'import configparser; configparser.ConfigParser(defaults={"a": None})'
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/configparser.py", line 638, in __init__
self._read_defaults(defaults)
File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/configparser.py", line 1216, in _read_defaults
self.read_dict({self.default_section: defaults})
File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/configparser.py", line 753, in read_dict
self.set(section, key, value)
File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/configparser.py", line 1197, in set
self._validate_value_types(option=option, value=value)
File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/configparser.py", line 1182, in _validate_value_types
raise TypeError("option values must be strings")
TypeError: option values must be strings
``` |
|
Date |
User |
Action |
Args |
2018-07-02 16:22:34 | Anthony Sottile | set | recipients:
+ Anthony Sottile, barry, vstinner, r.david.murray, lukasz.langa, aragilar, miss-islington |
2018-07-02 16:22:34 | Anthony Sottile | set | messageid: <1530548554.06.0.56676864532.issue23835@psf.upfronthosting.co.za> |
2018-07-02 16:22:34 | Anthony Sottile | link | issue23835 messages |
2018-07-02 16:22:33 | Anthony Sottile | create | |
|