Message182998
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. |
|
Date |
User |
Action |
Args |
2013-02-25 22:47:41 | ezio.melotti | set | recipients:
+ ezio.melotti, jcea, vstinner, mjacob |
2013-02-25 22:47:41 | ezio.melotti | set | messageid: <1361832461.68.0.951225594455.issue17223@psf.upfronthosting.co.za> |
2013-02-25 22:47:41 | ezio.melotti | link | issue17223 messages |
2013-02-25 22:47:41 | ezio.melotti | create | |
|