[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com