[issue13201] Implement comparison operators for range objects

Sven Marnach report at bugs.python.org
Sun Oct 23 00:54:42 CEST 2011


Sven Marnach <sven at marnach.net> added the comment:

Victor Stinner wrote:
> If would be nice to have a PyLong_CompareLong() function.

In most cases, global variables Py_Zero and Py_One would be enough to simplify this kind of code.

----------

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


More information about the Python-bugs-list mailing list