[issue4850] Change type and add _Py_ prefix to COUNT_ALLOCS variables
Alexander Belopolsky
report at bugs.python.org
Tue Jan 6 00:06:26 CET 2009
Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:
Attached patch is fairly straightforward with only one caveat: instead
of prefixing unlist_types_without_objects flag with _Py_, I made it
static. This may not be the right thing if it is intended to be
accessible from third party modules (it is not used outside of object.c
in python code). I am not sure how it is supposed to be used because it
appears to be always 0. (Maybe the intent is to change it manually in
specialized builds or in debugger.)
I am not proposing to move declarations to header files with this patch.
That change would cause a massive recompile for everyone and if a
decision is made that globals' declarations belong to header files, this
should probably be done it one sweep with issue4805 .
----------
keywords: +patch
nosy: +lemburg
Added file: http://bugs.python.org/file12607/issue4850.diff
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4850>
_______________________________________
More information about the Python-bugs-list
mailing list