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 serhiy.storchaka
Recipients Arfrever, asvetlov, ezio.melotti, pitrou, serhiy.storchaka, vstinner
Date 2012-06-15.19:35:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1339788915.2467.9.camel@raxxla>
In-reply-to <1339781687.69.0.881849198768.issue15026@psf.upfronthosting.co.za>
Content
> Serhiy, the tests crash here in debug mode:

My fault. It's operator precedence issue in the assert expression. Gcc
warns about it:

Objects/unicodeobject.c: In function ‘_PyUnicode_EncodeUTF16’:
Objects/unicodeobject.c:5401: warning: suggest parentheses around comparison in operand of ‘&’

Here is a fixed patch.
Files
File name Uploaded
encode-utf16-2.patch serhiy.storchaka, 2012-06-15.19:35:10
History
Date User Action Args
2012-06-15 19:35:13serhiy.storchakasetrecipients: + serhiy.storchaka, pitrou, vstinner, ezio.melotti, Arfrever, asvetlov
2012-06-15 19:35:12serhiy.storchakalinkissue15026 messages
2012-06-15 19:35:12serhiy.storchakacreate