Message416104
It is simpler and faster to return NULL than call PyErr_Occurred(). There is a special macro PY_RETURN_NONE, so there is no problem with returning None either.
I do not think it would make the code better. |
|
Date |
User |
Action |
Args |
2022-03-27 06:26:33 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, larry, arhadthedev |
2022-03-27 06:26:32 | serhiy.storchaka | set | messageid: <1648362392.95.0.637366844908.issue47128@roundup.psfhosted.org> |
2022-03-27 06:26:32 | serhiy.storchaka | link | issue47128 messages |
2022-03-27 06:26:32 | serhiy.storchaka | create | |
|