Message383357
Hi All, thanks for the input. Yeah, the current behavior makes sense, if overflow exception is needed, we can use PyLong_AsLong. I guess my confusion was from the doc:
> set *overflow to 1 or -1, respectively, and return -1;
> Returns -1 on error. Use PyErr_Occurred() to disambiguate.
It's not particularly clear if overflow is an `error` here, but again a quick compile and run will give you the answer. You can take a call if we have to have an explicit statement saying: no exception raised on overflow |
|
Date |
User |
Action |
Args |
2020-12-19 04:20:07 | ganesh3597 | set | recipients:
+ ganesh3597, mark.dickinson, serhiy.storchaka, ZackerySpytz |
2020-12-19 04:20:07 | ganesh3597 | set | messageid: <1608351607.15.0.81131639216.issue42665@roundup.psfhosted.org> |
2020-12-19 04:20:07 | ganesh3597 | link | issue42665 messages |
2020-12-19 04:20:06 | ganesh3597 | create | |
|