Mention changes to PyRange_New().
This commit is contained in:
parent
b43961fd5d
commit
2118d90cf2
|
@ -43,17 +43,18 @@ Proposed Solution
|
|||
x.tolist() method
|
||||
x.start, x.stop, x.step attributes
|
||||
|
||||
I also propose to change the signature of the PyRange_New() C API
|
||||
to remove the 4th argument (the repetition count).
|
||||
|
||||
By implementing a custom iterator type, we could speed up the
|
||||
common use, but this is optional (the default sequence iterator
|
||||
does just fine).
|
||||
|
||||
I expect it will take at most an hour to rip it all out; another
|
||||
hour to reduce the test suite and documentation.
|
||||
|
||||
|
||||
Scope
|
||||
|
||||
This PEP only affects the xrange() built-in function.
|
||||
This PEP affects the xrange() built-in function and the
|
||||
PyRange_New() C API.
|
||||
|
||||
|
||||
Risks
|
||||
|
|
Loading…
Reference in New Issue