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 vstinner
Recipients Nick Barnes, ggenellina, lemburg, pitrou, vstinner
Date 2009-05-04.12:00:46
SpamBayes Score 2.28102e-09
Marked as misclassified No
Message-id <1241438451.3.0.802361152379.issue4426@psf.upfronthosting.co.za>
In-reply-to
Content
I updated the patch to python trunk. I was hard because "patch -p1" 
failed at many places, so please double check the updated patch.

Changes from utf7patch:
 * I removed the test "c >=0" in DECODE_DIRECT(c) because c type 
is "Py_UNICODE" and the type is always unsigned (right?)
 * I added "shiftOutStart = p;" at the beginning of 
PyUnicode_DecodeUTF7Stateful() to fix the gcc warning reported by 
pitrou.
 * I fixed the failing test in test_unicode.py (also reported by 
pitrou)
 * I added the tests listed in msg76414 (by nick)

I didn't read the UTF-7 encoder or decoder code. I just updated the 
patch.
History
Date User Action Args
2009-05-04 12:00:51vstinnersetrecipients: + vstinner, lemburg, ggenellina, pitrou, Nick Barnes
2009-05-04 12:00:51vstinnersetmessageid: <1241438451.3.0.802361152379.issue4426@psf.upfronthosting.co.za>
2009-05-04 12:00:50vstinnerlinkissue4426 messages
2009-05-04 12:00:49vstinnercreate