[issue23553] Reduce the number of comparison for range checking.

Serhiy Storchaka report at bugs.python.org
Sun Mar 1 07:15:23 CET 2015


Serhiy Storchaka added the comment:

> Wouldn't size_t always work for Py_ssize_t?

Yes. But it wouldn't work for say off_t.

The consistent way is always use size_t instead of Py_ssize_t. But this boat has sailed.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23553>
_______________________________________


More information about the Python-bugs-list mailing list