[issue1504] Add 2to3 fixer for (un)bound methods

Christian Heimes report at bugs.python.org
Tue Nov 27 22:14:25 CET 2007


Christian Heimes added the comment:

How should I issue a warning in the new module? Should and can I check
for the -3 warning option or should I warn w/o checks for the -3 option?

from warnings import warn as _warn
_warn("The 'new' module is not supported in 3.x",
    DeprecationWarning, 2)

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1504>
__________________________________


More information about the Python-bugs-list mailing list