Message40101
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
|
|
Date |
User |
Action |
Args |
2007-08-23 15:13:22 | admin | link | issue559833 messages |
2007-08-23 15:13:22 | admin | create | |
|