[issue28930] bytes_methods.c won't recompile if related stringlib/* changed

Xiang Zhang report at bugs.python.org
Sat Dec 10 05:43:36 EST 2016


Xiang Zhang added the comment:

> Alternatively just BYTESTR_DEPS can be used instead of BYTESMETHODS_DEPS. This would make easier moving implementations between bytesobject.c and bytes_methods.c.

Yes. The only downside of this is some changes may recompile bytes_methods.c unnecessarily but this is not a matter.

> But be aware of possible differences in 3.5.

In 3.5 bytes_methods.c doesn't rely on stringlib/*.

----------
nosy: +haypo
versions:  -Python 3.5
Added file: http://bugs.python.org/file45833/Makefile-bytes-methods-v2.patch

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


More information about the Python-bugs-list mailing list