Thomas Wouters <thomas@xs4all.net>: > Well, I guess I agree. The above was just a bit of 'Red Red Wine' induced > brainstorm, but on reflection it does seem logical. The one-dimensionality > of range and xrange always bothered me ;) The biggest problem is, however, > how to create a 'range' of a specific type of object, given a start, step > and end object. A new PyNumberMethods member 'int_range' ? Or some kind of > 'newobject_fromnumber' protocol ? Let's worry about that later. For now, throwing an exception is OK. > How about we checkin the current patch, which does what the PEP describes, > and continue the PEP for the sake of these issues ? :) +1. -- <a href="http://www.tuxedo.org/~esr">Eric S. Raymond</a> If I were to select a jack-booted group of fascists who are perhaps as large a danger to American society as I could pick today, I would pick BATF [the Bureau of Alcohol, Tobacco, and Firearms]. -- U.S. Representative John Dingell, 1980
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