16 Jul
2012
16 Jul
'12
4:22 a.m.
Stephen J. Turnbull wrote:
The point is that I don't really see the value in returning a precise estimate that cannot be relied on to be accurate. OK, Python is a "consenting adults" language, but returning an integer here seems like invitation to abuse.
Since __length_hint__ already exists and is already used, we should probably hear from somebody who knows how it is used and what problems and/or benefits it leads to. -- Steven