Message361048
Other examples are:
* PyObject_HasAttr
* PyObject_HasAttrString
* PyMapping_HasKey
* PyMapping_HasKeyString
They are bad examples, but can't be changed for backward compatibility. I wonder whether PyUnicode_IsIdentifier should also kept unchanged for backward compatibility.
There is also a number of *_Check functions which always succeeds.
Other example is _PyUnicode_EqualToASCIIString where the behavior is intentional.
PyUnicode_IsIdentifier() was not documented before. It makes easier to change its behavior. |
|
Date |
User |
Action |
Args |
2020-01-30 12:04:52 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, vstinner, ezio.melotti |
2020-01-30 12:04:52 | serhiy.storchaka | set | messageid: <1580385892.89.0.367003869761.issue39500@roundup.psfhosted.org> |
2020-01-30 12:04:52 | serhiy.storchaka | link | issue39500 messages |
2020-01-30 12:04:52 | serhiy.storchaka | create | |
|