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 serhiy.storchaka
Recipients serhiy.storchaka, vstinner
Date 2020-05-12.07:40:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <[email protected]>
In-reply-to
Content
I am not sure that changes in issue39500 was correct. It is easier to catch a bug if crash consistently when you pass a non-canonicalized strings then if silently return a wrong result for specific input on particular platform.

Alternatively, you could reimplement correct handling of surrogate pairs in  PyUnicode_IsIdentifier().
History
Date User Action Args
2020-05-12 07:40:30serhiy.storchakasetrecipients: + serhiy.storchaka, vstinner
2020-05-12 07:40:30serhiy.storchakasetmessageid: <[email protected]>
2020-05-12 07:40:30serhiy.storchakalinkissue40596 messages
2020-05-12 07:40:29serhiy.storchakacreate