[issue10379] locale.format() input regression
Łukasz Langa
report at bugs.python.org
Wed Nov 10 17:09:41 CET 2010
Łukasz Langa <lukasz at langa.pl> added the comment:
Please use the deprecation process when possible. That would mean creating an alias for the function you want to remove somewhat like this (taken from configparser):
def readfp(self, fp, filename=None):
"""Deprecated, use read_file instead."""
warnings.warn(
"This method will be removed in future versions. "
"Use 'parser.read_file()' instead.",
PendingDeprecationWarning, stacklevel=2
)
self.read_file(fp, source=filename)
----------
nosy: +lukasz.langa
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10379>
_______________________________________
More information about the Python-bugs-list
mailing list