…ining non-BMP characters on Windows.
| { | ||
| /* Since there is no way to return an error from PyUnicode_IsIdentifier() | ||
| we have to call PyUnicode_READY() to ensure that the string object is | ||
| in the "canonical" representation. */ |
There was a problem hiding this comment.
I don't think that this comment is worth it. It's something usual to report an error when a function fails. All functions in this file does that. I suggest to remove the comment.
Co-authored-by: Victor Stinner <vstinner@python.org>
https://bugs.python.org/issue40596