[issue4850] Change type and add _Py_ prefix to COUNT_ALLOCS variables

Marc-Andre Lemburg report at bugs.python.org
Tue Jan 6 11:31:03 CET 2009


Marc-Andre Lemburg <mal at egenix.com> added the comment:

On 2009-01-06 11:28, Martin v. Löwis wrote:
> Martin v. Löwis <martin at v.loewis.de> added the comment:
> 
> Making it static is fine. I don't recall what kind of customization I
> did when I introduced it.
> 
> I'm skeptical about the entire issue, though. Why is it that these
> variables should be prefixed? I disagree that all names need to be
> prefixed: those only present in certain debug builds need not.

For completeness and to make things easier for all developers,
all exported symbols should be prefixed with _Py or Py - regardless
of how their export is enabled.

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4850>
_______________________________________


More information about the Python-bugs-list mailing list