[EMAIL PROTECTED] schrieb:
> In some algorithms a sentinel value may be useful, so for Python 3.x
> sys.maxint may be replaced by an improvement of the following infinite
> and neginfinite singleton objects:

Python 3.0 doesn't have sys.maxint any more since Python 3's ints are of
arbitrary length. Instead of sys.maxint it has sys.maxsize; the maximum
size of a positive sized size_t aka Py_ssize_t.

Christian
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to