[issue7694] DeprecationWarning from build_ext needs stacklevel

Éric Araujo report at bugs.python.org
Wed Dec 15 23:51:32 CET 2010


Éric Araujo <merwok at netwok.org> added the comment:

I checked again and found those files to be fixed in 3.2: (in Lib/distutils) command/register.py command/sdist.py dist.py extension.py.  Instances of self.warn or file.warn are false positives, they are logging calls.

The situation is different in distutils2: Deprecated code is ripped off, and remaining warnings should probably be made logging warnings.

----------
components: +Distutils -Distutils2
stage:  -> needs patch
versions: +Python 2.7, Python 3.1, Python 3.2 -3rd party

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7694>
_______________________________________


More information about the Python-bugs-list mailing list