.. versionchanged:: 3.5
The *converters* argument was added.
+ .. versionchanged:: 3.7
+ The *defaults* argument is read with :meth:`read_dict()`,
+ providing consistent behavior across the parser: non-string
+ keys and values are implicitly converted to strings.
+
.. method:: defaults()
.. [1] Config parsers allow for heavy customization. If you are interested in
changing the behaviour outlined by the footnote reference, consult the
`Customizing Parser Behaviour`_ section.
-
--- /dev/null
+configparser: reading defaults in the ``ConfigParser()`` constructor is now
+using ``read_dict()``, making its behavior consistent with the rest of the
+parser. Non-string keys and values in the defaults dictionary are now being
+implicitly converted to strings. Patch by James Tocknell.