[issue46607] Add DeprecationWarning to configparser's LegacyInterpolation
Hugo van Kemenade
report at bugs.python.org
Wed Feb 2 13:54:28 EST 2022
Hugo van Kemenade <hugovk+python at gmail.com> 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 interpolation used in old versions of ConfigParser.
Use BasicInterpolation or ExtendedInterpolation instead."""
```
I've updated GH-30927 to say "deprecated in the docstring" instead of "deprecated in docs".
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46607>
_______________________________________
More information about the Python-bugs-list
mailing list