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

Marc-Andre Lemburg report at bugs.python.org
Tue Jan 6 14:01:32 CET 2009


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

On 2009-01-06 13:28, Martin v. Löwis wrote:
> Martin v. Löwis <martin at v.loewis.de> added the comment:
> 
>> For completeness
> 
> I don't think completeness is a useful thing to have here.
> 
>> and to make things easier for all developers,
> 
> It is not easier, but more difficult. It now requires a change,
> whereas leaving things as-is requires no change.

Sure it does: consistent rules always make things easier, since
they avoid doubt.

>> all exported symbols should be prefixed with _Py or Py - regardless
>> of how their export is enabled.
> 
> Ah - but they aren't exported symbols.

I'm only referring to exported symbols. Static globals, of course,
don't need such a prefix.

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


More information about the Python-bugs-list mailing list