This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author hugovk
Recipients hugovk
Date 2022-02-02.07:01:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1643785269.24.0.226402381238.issue46607@roundup.psfhosted.org>
In-reply-to
Content
The LegacyInterpolation class of configparser has been deprecated in docs since 3.2, but without raising a DeprecationWarning.

The 3.2 HISTORY file says:

> - configparser: the SafeConfigParser class has been renamed to ConfigParser.
> The legacy ConfigParser class has been removed but its interpolation mechanism is still available as LegacyInterpolation.

Searching the top 5,000 PyPI sdists, there's very little (if any "real") use of LegacyInterpolation. Details: https://bugs.python.org/issue45173#msg409685

Other configparser deprecations were added in 3.2, but with DeprecationWarnings.

Let's add a DeprecationWarning for a couple of releases before removal.
History
Date User Action Args
2022-02-02 07:01:09hugovksetrecipients: + hugovk
2022-02-02 07:01:09hugovksetmessageid: <1643785269.24.0.226402381238.issue46607@roundup.psfhosted.org>
2022-02-02 07:01:09hugovklinkissue46607 messages
2022-02-02 07:01:09hugovkcreate