[issue46607] Add DeprecationWarning to configparser's LegacyInterpolation

2022-04-05 Thread STINNER Victor
STINNER Victor added the comment: Thanks Hugo for the your contribution. I close the issue. > Searching the top 5,000 PyPI sdists, there's very little (if any "real") use > of LegacyInterpolation. Details: https://bugs.python.org/issue45173#msg409685 You can offer them a PR to avoid the

[issue46607] Add DeprecationWarning to configparser's LegacyInterpolation

2022-04-05 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset 75280944e5ca957eec7f814b9d0608fc84fc5811 by Hugo van Kemenade in branch 'main': bpo-46607: Add DeprecationWarning for LegacyInterpolation, deprecated in docs since 3.2 (GH-30927)

[issue46607] Add DeprecationWarning to configparser's LegacyInterpolation

2022-02-02 Thread Hugo van Kemenade
Hugo van Kemenade added the comment: > > Other configparser deprecations were added in 3.2, but with > > DeprecationWarnings. > Its deprecation was never documented anywhere in Doc/. Correct, only in the docstring: ``` class LegacyInterpolation(Interpolation): """Deprecated

[issue46607] Add DeprecationWarning to configparser's LegacyInterpolation

2022-02-02 Thread STINNER Victor
STINNER Victor added the comment: Oh, LegacyInterpolation is not documented at: https://docs.python.org/dev/library/configparser.html > Other configparser deprecations were added in 3.2, but with > DeprecationWarnings. Its deprecation was never documented anywhere in Doc/. Well, to respect

[issue46607] Add DeprecationWarning to configparser's LegacyInterpolation

2022-02-01 Thread Hugo van Kemenade
Change by Hugo van Kemenade : -- keywords: +patch pull_requests: +29258 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30927 ___ Python tracker

[issue46607] Add DeprecationWarning to configparser's LegacyInterpolation

2022-02-01 Thread Hugo van Kemenade
New submission from Hugo van Kemenade : 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