This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author hupp
Recipients hupp
Date 2007-09-20.22:38:03
SpamBayes Score 0.0018261689
Marked as misclassified No
Message-id <1190327884.17.0.303606254957.issue1184@psf.upfronthosting.co.za>
In-reply-to
Content
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.
Files
File name Uploaded
immutable-bytes-test-fix.patch hupp, 2007-09-20.22:38:03
History
Date User Action Args
2007-09-20 22:38:04huppsetspambayes_score: 0.00182617 -> 0.0018261689
recipients: + hupp
2007-09-20 22:38:04huppsetspambayes_score: 0.00182617 -> 0.00182617
messageid: <1190327884.17.0.303606254957.issue1184@psf.upfronthosting.co.za>
2007-09-20 22:38:04hupplinkissue1184 messages
2007-09-20 22:38:03huppcreate