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 <rep...@bugs.python.org> <http://bugs.python.org/issue28930> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com