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 ezio.melotti
Recipients ezio.melotti, jcea, mjacob, vstinner
Date 2013-02-25.22:47:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1361832461.68.0.951225594455.issue17223@psf.upfronthosting.co.za>
In-reply-to
Content
We discussed this on IRC, and apparently the seemingly valid result I got on 3.2 was because I had a narrow build.  On a wide 3.2 build I get:
>>> str(array('u', b'asdf'))
"array('u', '\\U66647361')"

Since 3.3+ behaves like a wide build and since \U66647361 is not valid, I now agree that raising an error is the right thing to do.

If possible, even 3.2 should raise an error, rather than returning an invalid codepoint.
History
Date User Action Args
2013-02-25 22:47:41ezio.melottisetrecipients: + ezio.melotti, jcea, vstinner, mjacob
2013-02-25 22:47:41ezio.melottisetmessageid: <1361832461.68.0.951225594455.issue17223@psf.upfronthosting.co.za>
2013-02-25 22:47:41ezio.melottilinkissue17223 messages
2013-02-25 22:47:41ezio.melotticreate