New submission from STINNER Victor <[EMAIL PROTECTED]>:

In rev 56476, martin.v.loewis enabled Py_USING_MEMORY_DEBUGGER by 
default in an huge commit:
   PEP 3123: Provide forward compatibility with Python 3.0, 
   while keeping backwards compatibility. Add Py_Refcnt, 
   Py_Type, Py_Size, and PyVarObject_HEAD_INIT.

I guess that's an error, and that Py_USING_MEMORY_DEBUGGER should be 
disabled by default.

Proposition to avoid such bug in future: create a configure option, 
like --with-memory-debugger. See for example my patch to configure.in 
(you will need to run autoconf && autoheader).

----------
files: configure-memory-debugger.patch
keywords: patch
messages: 73683
nosy: haypo
severity: normal
status: open
title: Disable Py_USING_MEMORY_DEBUGGER!
versions: Python 2.6, Python 3.0
Added file: http://bugs.python.org/file11583/configure-memory-debugger.patch

_______________________________________
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue3951>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to