STINNER Victor <victor.stin...@haypocalc.com> added the comment:

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.

----------
Added file: http://bugs.python.org/file13867/issue4426.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue4426>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to