diff options
| author | Guido van Rossum <guido@python.org> | 1998-07-10 16:22:44 (GMT) |
|---|---|---|
| committer | Guido van Rossum <guido@python.org> | 1998-07-10 16:22:44 (GMT) |
| commit | bfc725bf64c1da301fe29b9722efc56e34799cf4 (patch) | |
| tree | fc4a2176935539cbb041d99e0b489afadada4d8b /Lib/test/test_array.py | |
| parent | df901dfdea08e29730aff9872a051e05b0104dfe (diff) | |
| download | cpython-bfc725bf64c1da301fe29b9722efc56e34799cf4.zip cpython-bfc725bf64c1da301fe29b9722efc56e34799cf4.tar.gz cpython-bfc725bf64c1da301fe29b9722efc56e34799cf4.tar.bz2 | |
Changed PySequence_List() and PySequence_Tuple() to support
"indefinite length" sequences. These should still have a length, but
the length is only used as a hint -- the actual length of the sequence
is determined by the item that raises IndexError, which may be either
smaller or larger than what len() returns. (This is a novelty; map(),
filter() and reduce() only allow the actual length to be larger than
what len() returns, not shorter. I'll fix that shortly.)
Diffstat (limited to 'Lib/test/test_array.py')
0 files changed, 0 insertions, 0 deletions
