[New-bugs-announce] [issue1386] py3k-pep3137: patch to ensure that all codecs return bytes

Amaury Forgeot d'Arc report at bugs.python.org
Sun Nov 4 23:08:37 CET 2007


New submission from Amaury Forgeot d'Arc:

Most codecs return buffer objects, when the rule is now to return bytes.
This patch adds a test, and corrects failing codecs.
(more PyBytes_* -> PyString_* replacements)

----------
components: Unicode
files: codecs.diff
messages: 57109
nosy: amaury.forgeotdarc, tiran
severity: normal
status: open
title: py3k-pep3137: patch to ensure that all codecs return bytes
versions: Python 3.0
Added file: http://bugs.python.org/file8690/codecs.diff

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1386>
__________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: codecs.diff
Type: application/octet-stream
Size: 6692 bytes
Desc: not available
Url : http://mail.python.org/pipermail/new-bugs-announce/attachments/20071104/813be2d3/attachment.obj 


More information about the New-bugs-announce mailing list