Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:
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(). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue40596> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com