[issue4850] Change type and add _Py_ prefix to COUNT_ALLOCS variables
Alexander Belopolsky
report at bugs.python.org
Tue Jan 6 17:27:09 CET 2009
Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:
On Tue, Jan 6, 2009 at 10:53 AM, Marc-Andre Lemburg
<report at bugs.python.org> wrote:
..
> I don't follow you: those symbols are not meant for public use anyway,
> so we can easily change them without any "costs". The same goes for any
> of the private, but still exported symbols in the API, ie. all _Py*
> APIs.
This is the same that I said: "renaming is cost free" if it is done
together with the type change. Martin was right that there is cost
associated with any change. The benefit of "completeness" for a
specialized build would not justify even having this discussion IMO.
On the other hand since the type change needs to be done in order to
make the code correct on a 64 bit platform and compile without
warnings with gcc, a patch is needed anyways. Since we are already
paying the cost of change, renaming is free. There is no disagreement
between you and me here.
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4850>
_______________________________________
More information about the Python-bugs-list
mailing list