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 vstinner
Recipients David.Edelsohn, python-dev, vstinner
Date 2013-08-01.22:56:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1375397798.7.0.825717532043.issue18609@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2013-08-01 22:56:38vstinnersetrecipients: + vstinner, python-dev, David.Edelsohn
2013-08-01 22:56:38vstinnersetmessageid: <1375397798.7.0.825717532043.issue18609@psf.upfronthosting.co.za>
2013-08-01 22:56:38vstinnerlinkissue18609 messages
2013-08-01 22:56:38vstinnercreate