Message362198
The current return type already is Py_ssize_t, exactly for the reason you mention – compatibility with all other "argument count" values in Python. (It would be more correct to use unsigned, but that ship has sailed.)
The *argument* type is unsigned size_t, though: unsigned is the correct type for for bit fields. Also, the "nargsf" value should never be directly used as argument count; making it a different type tends to trigger nice compiler warnings. |
|
Date |
User |
Action |
Args |
2020-02-18 12:10:14 | petr.viktorin | set | recipients:
+ petr.viktorin, vstinner, jdemeyer |
2020-02-18 12:10:14 | petr.viktorin | set | messageid: <1582027814.19.0.789498909219.issue39611@roundup.psfhosted.org> |
2020-02-18 12:10:14 | petr.viktorin | link | issue39611 messages |
2020-02-18 12:10:14 | petr.viktorin | create | |
|