[New-bugs-announce] [issue1184] test fixes for immutable bytes change

Adam Hupp report at bugs.python.org
Fri Sep 21 00:38:04 CEST 2007


New submission from Adam Hupp:

This patch resolves most of the test failures introduced by Jeffrey
Yasskin's immutable bytes change.

The remaining failures are:

test_io
test_mailbox
test_mhlib
test_old_mailbox
test_email  
test_univnewlines

The first 4 are the same problem.  An array('B') is passed to
PyArg_ParseTuple("t#...").  This results in "TypeError: Cannot be a
character buffer" from ascii_decode in _codecsmodule.c.


Note: This patch is also includes Jeffrey's original changes.

----------
components: Interpreter Core, Library (Lib)
files: immutable-bytes-test-fix.patch
messages: 56066
nosy: hupp
severity: normal
status: open
title: test fixes for immutable bytes change
versions: Python 3.0

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1184>
__________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: immutable-bytes-test-fix.patch
Type: application/octet-stream
Size: 46512 bytes
Desc: not available
Url : http://mail.python.org/pipermail/new-bugs-announce/attachments/20070920/38b741d4/attachment-0001.obj 


More information about the New-bugs-announce mailing list