[issue5748] Objects/bytesobject.c should include stringdefs.h, instead of defining its own macros

Eric Smith report at bugs.python.org
Mon Nov 30 01:56:22 CET 2009

Eric Smith <eric at trueblade.com> added the comment:

This does not apply to 2.x. In both py3k and trunk,
Objects/bytearrayobject.c uses stringlib with some private defines. But
since those defines are only used in bytearrayobject.c, there's nothing
to be gained by factoring then out into a bytearraydef.h file.

So, I'm just going to fix this in Objects/bytesobjects.c, which only
appears in py3k.

versions: +Python 3.2 -Python 2.7, Python 3.1

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list