> [theller] > > I _was_ using xrange as sets representing (potentially large) > > ranges of ints. > > Example: > > > > positive = xrange(1, sys.maxint) > > > > if num in positive: > > ... > > > > I didt follow the iterators discussion: would this > > continue to work? > > No, it would break. Since there was a off-by-one bug for 'if num in xrange()' in Pyhon2.0 my code already has been rewritten. Thomas
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4