mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
gh-89336: Remove configparser APIs that were deprecated for 3.12 (#92503)
https://github.com/python/cpython/issue/89336: Remove configparser 3.12 deprecations. Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
This commit is contained in:
parent
4abab6b603
commit
296e4efebb
5 changed files with 27 additions and 119 deletions
|
@ -178,6 +178,16 @@ although there is currently no date scheduled for their removal.
|
|||
Removed
|
||||
=======
|
||||
|
||||
* Several names deprecated in the :mod:`configparser` way back in 3.2 have
|
||||
been removed per :gh:`89336`:
|
||||
|
||||
* :class:`configparser.ParsingError` no longer has a ``filename`` attribute
|
||||
or argument. Use the ``source`` attribute and argument instead.
|
||||
* :mod:`configparser` no longer has a ``SafeConfigParser`` class. Use the
|
||||
shorter :class:`~configparser.ConfigParser` name instead.
|
||||
* :class:`configparser.ConfigParser` no longer has a ``readfp`` method.
|
||||
Use :meth:`~configparser.ConfigParser.read_file` instead.
|
||||
|
||||
* The following undocumented :mod:`sqlite3` features, deprecated in Python
|
||||
3.10, are now removed:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue