[issue6954] DISTUTILS_DEBUG causes stack trace, really simple fix

2009-09-21 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: Mmm, the problem is deeper for the second stack trace: distutils.fancy_getopt.longopt_xlate was changed from a translation mapping into a lambda in py3, that's why you have it. I'm fixing back this problem too. -- versions: +Python

[issue6954] DISTUTILS_DEBUG causes stack trace, really simple fix

2009-09-21 Thread Tarek Ziadé
Changes by Tarek Ziadé ziade.ta...@gmail.com: -- versions: +Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6954 ___ ___ Python-bugs-list

[issue6954] DISTUTILS_DEBUG causes stack trace, really simple fix

2009-09-21 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: Everything is covered now, and the mentioned bug is fixed in trunk (r74994), py3k (r74999) and release31 (75000). Thanks ! -- status: open - closed ___ Python tracker rep...@bugs.python.org

[issue6954] DISTUTILS_DEBUG causes stack trace, really simple fix

2009-09-20 Thread Ned Batchelder
New submission from Ned Batchelder ned...@users.sourceforge.net: If you set the environment variable DISTUTILS_DEBUG=1, distutils will run with DEBUG, which will trace internal activity. But one of the traces is incorrect, and leads to this stack trace: Traceback (most recent call last):

[issue6954] DISTUTILS_DEBUG causes stack trace, really simple fix

2009-09-20 Thread Ned Batchelder
Ned Batchelder ned...@users.sourceforge.net added the comment: Another one: Traceback (most recent call last): File setup.py, line 72, in module **addl_args File c:\python31\lib\distutils\core.py, line 149, in setup dist.run_commands() File c:\python31\lib\distutils\dist.py, line

[issue6954] DISTUTILS_DEBUG causes stack trace, really simple fix

2009-09-20 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: Thanks for noticing this. I'll add some test covering these and fix the problems. -- priority: - normal resolution: - accepted ___ Python tracker rep...@bugs.python.org