Author Anthony Sottile
Recipients Anthony Sottile, aragilar, barry, lukasz.langa, miss-islington, r.david.murray, vstinner
Date 2018-07-02.16:22:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1530548554.06.0.56676864532.issue23835@psf.upfronthosting.co.za>
In-reply-to
Content
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
```
History
Date User Action Args
2018-07-02 16:22:34Anthony Sottilesetrecipients: + Anthony Sottile, barry, vstinner, r.david.murray, lukasz.langa, aragilar, miss-islington
2018-07-02 16:22:34Anthony Sottilesetmessageid: <1530548554.06.0.56676864532.issue23835@psf.upfronthosting.co.za>
2018-07-02 16:22:34Anthony Sottilelinkissue23835 messages
2018-07-02 16:22:33Anthony Sottilecreate