Message194132
This issue is not a bug, but a new assertion added by myself for the issue #18408. The idea is to not call a Python function with an exception set, because the exception may be cleared or replaced (ex: hasattr() clears the current exception if an attribute is not found).
I didn't see this specific issue because AIX is using a special locale setting. Its locale encoding is an alias of the ISO-8859-1 which is not known by PyUnicode_Decode().
I'm waiting for the buildbot to see if my changeset fixed the issue. If it does, I will also add a fast-path for the "iso8859-1" alias of the ISO-8859-1 codec in PyUnicode_Decode(). So the AIX buildbot will also use the C implementation of the codec. |
|
Date |
User |
Action |
Args |
2013-08-01 22:56:38 | vstinner | set | recipients:
+ vstinner, python-dev, David.Edelsohn |
2013-08-01 22:56:38 | vstinner | set | messageid: <1375397798.7.0.825717532043.issue18609@psf.upfronthosting.co.za> |
2013-08-01 22:56:38 | vstinner | link | issue18609 messages |
2013-08-01 22:56:38 | vstinner | create | |
|