Message 113834 - Python tracker (original) (raw)
Message113834
Author | vstinner |
---|---|
Recipients | Arfrever, amaury.forgeotdarc, eric.araujo, ezio.melotti, pitrou, vstinner |
Date | 2010-08-13.21:27:22 |
SpamBayes Score | 2.855966e-07 |
Marked as misclassified | No |
Message-id | 1281734844.77.0.194095228933.issue9425@psf.upfronthosting.co.za |
In-reply-to |
Content |
---|
New version of the patch _Py_wchar2char-2.patch: - _Py_wchar2char() only escapes characters in range U+DC80..U+DCFF (instead of U+DC00..U+DCFF) - add a comment to _Py_char2wchar() > I don't understand why you decrement `size` in the second pass. Because I would like to avoid buffer overflow when calling wcstombs(). wcstombs() might write more bytes at the second step, even if I don't think that it would be possible. |
History | |||
---|---|---|---|
Date | User | Action | Args |
2010-08-13 21:27:25 | vstinner | set | recipients: + vstinner, amaury.forgeotdarc, pitrou, ezio.melotti, eric.araujo, Arfrever |
2010-08-13 21:27:24 | vstinner | set | messageid: 1281734844.77.0.194095228933.issue9425@psf.upfronthosting.co.za |
2010-08-13 21:27:23 | vstinner | link | issue9425 messages |
2010-08-13 21:27:23 | vstinner | create |