Message361079
It is not convenient to check the result for error. After we remove support of old PyUnicode API, PyUnicode_IsIdentifier() will be always succeeded.
Note that PyUnicode_IsIdentifier() still can crash if you pass a non-PyUnicode object or NULL. It is a prerequisite of this function that the argument must be a PyUnicode object. Add just yet one condition: it must be a ready PyUnicode object. |
|
| Date |
User |
Action |
Args |
| 2020-01-30 21:54:31 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, vstinner, ezio.melotti |
| 2020-01-30 21:54:31 | serhiy.storchaka | set | messageid: <1580421271.32.0.793083425637.issue39500@roundup.psfhosted.org> |
| 2020-01-30 21:54:31 | serhiy.storchaka | link | issue39500 messages |
| 2020-01-30 21:54:31 | serhiy.storchaka | create | |
|