Changes by STINNER Victor victor.stin...@gmail.com:
--
resolution: - fixed
status: pending - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23321
___
STINNER Victor added the comment:
I closed the issue.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23321
___
___
Python-bugs-list mailing list
Serhiy Storchaka added the comment:
If you have no enhancements to my quick fix Victor, may be this issue can be
closed.
--
status: open - pending
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23321
Serhiy Storchaka added the comment:
I think the changeset which made decoders to use _PyUnicodeWriter (issue16311)
is responsible of the regression.
For example consider b'\x80abc'.decode('utf-8', 'backslashreplace').
The writer reserves string buffer with size 4 (every byte produces at most
STINNER Victor added the comment:
Debugging build crashes in some circumstances in str.decode() (...) buildbots
are broken without it
Is it a regression? Would it be possible to identify the changeset
responsible of the regression?
--
___
Python
Roundup Robot added the comment:
New changeset 1e8937861ee3 by Victor Stinner in branch 'default':
Issue #22286, #23321: Fix failing test on Windows code page 932
https://hg.python.org/cpython/rev/1e8937861ee3
--
___
Python tracker
New submission from Serhiy Storchaka:
Debugging build crashes in some circumstances in str.decode() with error
handler which produces replacement string with length larger than malformed
data. For example the backslashreplace error handler produces 4-character
string for every illegal byte.
Roundup Robot added the comment:
New changeset 2de90090e486 by Serhiy Storchaka in branch '3.4':
Issue #23321: Fixed a crash in str.decode() when error handler returned
https://hg.python.org/cpython/rev/2de90090e486
New changeset 1cd68b3c46aa by Serhiy Storchaka in branch 'default':
Issue
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23321
___