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 "<stdin>", line 1, in <module> SystemError: Objects/bytesobject.c:3553: bad argument to internal function ---------- components: Interpreter Core messages: 251869 nosy: The Compiler, doerwalter, lemburg priority: normal severity: normal status: open title: SystemError when doing codecs.escape_encode(b'') type: behavior versions: Python 3.4, Python 3.5 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25271> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com