Ethan Furman added the comment: Better patch, along the lines of my original thought:
- byarrayformat converts bytearray to bytes - calls bytesformat (now _PyBytes_Format) to do the heavy lifting - uses PyByteArray_FromObject to tranform back to bytearray Now working on in-place format. ---------- Added file: http://bugs.python.org/file37745/issue20284.stoneleaf.03.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20284> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com