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 ezio.melotti, methane, serhiy.storchaka, vstinner
Date 2015-10-01.12:47:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <[email protected]>
In-reply-to
Content
Oh, the default handler for errror handlers uses a loop to check for non-ASCII characters. It can be replaced with PyUnicode_IS_ASCII(str) which has a complexity O(1). Done in new patch.
History
Date User Action Args
2015-10-01 12:47:04vstinnersetrecipients: + vstinner, ezio.melotti, methane, serhiy.storchaka
2015-10-01 12:47:04vstinnersetmessageid: <[email protected]>
2015-10-01 12:47:04vstinnerlinkissue25267 messages
2015-10-01 12:47:04vstinnercreate