STINNER Victor added the comment:

I wrote this patch while working on new tests for Lib/test/regrtest.py: issue 
#25220. The Windows scripts PCbuild/rt.bat (and Tools/buildbot/test.bat) 
requires a "-d" command line option if the Python was compiled in debug mode. 
The flag is used to choose the name of the Python executable: python.exe or 
python_d.exe. In my patch, I used:

Py_DEBUG = hasattr(sys, 'getobjects')

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue25256>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to