This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author skip.montanaro
Recipients
Date 2002-05-23.20:52:22
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
The attached patch to rangeobject.c and bltinmodule.c exposes the
xrange type in te builtins module instead of a function.  The test suite 
passes.  The one obvious problem I'm aware of is that I simply copied 
get_len_of_range from bltinmodule.c, so it's now duplicated (it's used 
by range_new() as well).  I didn't want to create another _Py_* 
symbol just to share this little bit of code.  I'll be happy to resolve this 
problem however seems best. 

Skip
History
Date User Action Args
2007-08-23 15:13:22adminlinkissue559833 messages
2007-08-23 15:13:22admincreate