Title: SystemError when doing codecs.escape_encode(b'')
Type: behavior Stage: resolved
Components: Interpreter Core Versions: Python 3.4, Python 3.5
Status: closed Resolution: duplicate
Dependencies: Superseder: codecs.escape_encode systemerror on empty byte string
View: 25270
Assigned To: Nosy List: The Compiler, doerwalter, lemburg
Priority: normal Keywords:

Created on 2015-09-29 16:23 by The Compiler, last changed 2015-09-29 16:31 by zach.ware. This issue is now closed.

Messages (1)
msg251869 - (view) Author: Florian Bruhin (The Compiler) * Date: 2015-09-29 16:23
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
Date User Action Args
2015-09-29 16:31:29zach.waresetstatus: open -> closed
superseder: codecs.escape_encode systemerror on empty byte string
resolution: duplicate
stage: resolved
2015-09-29 16:23:20The Compilercreate