New submission from Paul Kehrer: Python 3.5.0 (default, Sep 13 2015, 10:33:07) [GCC 4.2.1 Compatible Apple LLVM 6.1.0 (clang-602.0.53)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> 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
I've tested this on Python 3.2 through 3.5. ---------- components: Interpreter Core messages: 251868 nosy: reaperhulk priority: normal severity: normal status: open title: codecs.escape_encode systemerror on empty byte string type: behavior versions: Python 3.2, Python 3.3, Python 3.4, Python 3.5 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25270> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com