Message140961
On Sat, Jul 23, 2011 at 09:37:27AM +0000, Éric Araujo wrote:
> I’ve had a look at the docstring and the reST docs, and they clearly
> say that sequences are supported, not arbitrary iterables.
Yeah. At the first cut, when I saw the suggestion of iter(), I thought
it was better, but looking at it again, we just need to test the
sequence-ness. I would leave it as such with len() unless we come up
with a case that it does not test the sequenceness completely.
As Eric points out, changing it to iter may cause some side-effects
(of exhaustion of the container) |
|
Date |
User |
Action |
Args |
2011-07-23 10:19:54 | orsenthil | set | recipients:
+ orsenthil, ezio.melotti, eric.araujo, r.david.murray, haggholm |
2011-07-23 10:19:54 | orsenthil | link | issue12581 messages |
2011-07-23 10:19:54 | orsenthil | create | |
|