[New-bugs-announce] [issue3951] Disable Py_USING_MEMORY_DEBUGGER!
STINNER Victor
report at bugs.python.org
Wed Sep 24 02:29:18 CEST 2008
New submission from STINNER Victor <victor.stinner at haypocalc.com>:
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 <report at bugs.python.org>
<http://bugs.python.org/issue3951>
_______________________________________
More information about the New-bugs-announce
mailing list