[New-bugs-announce] [issue16577] Suspect test.test_codeccallbacks.test_mutatingdecodehandler
Amaury Forgeot d'Arc
report at bugs.python.org
Thu Nov 29 13:51:48 CET 2012
New submission from Amaury Forgeot d'Arc:
The test created by 504084c04ac0 passes for bad reasons, at least for the second part:
- "test.mutating" error handler is never used.
- If I replace the last line of the test, it still passes, but the TypeError is raised by exc.object[:] = b"" (bytes are not mutable!)
I suggest to revert this old change completely. The premises ("the decoder might use memory that's no longer in use") are no longer true.
----------
components: Unicode
messages: 176645
nosy: amaury.forgeotdarc, ezio.melotti, haypo
priority: normal
severity: normal
status: open
title: Suspect test.test_codeccallbacks.test_mutatingdecodehandler
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16577>
_______________________________________
More information about the New-bugs-announce
mailing list