[issue25271] SystemError when doing codecs.escape_encode(b'')

2015-09-29 Thread Zachary Ware
Changes by Zachary Ware : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> codecs.escape_encode systemerror on empty byte string ___ Python tracker ___

[issue25271] SystemError when doing codecs.escape_encode(b'')

2015-09-29 Thread Florian Bruhin
New submission from Florian Bruhin: I can reproduce this with 3.4.3 and 3.5.0: >>> import codecs >>> codecs.escape_encode(b'') Traceback (most recent call last): File "", line 1, in SystemError: Objects/bytesobject.c:3553: bad argument to internal function -- components: Interpreter