Message132777
2011/4/1 Raymond Hettinger <report@bugs.python.org>:
> [benjamin]
> The __length_hint__ protocol is a public API, so anyone can use it. Also, the issue is a broader than __length_hint__, it is really distinguishing multiple possible meanings for a TypeError raised by a call to __len__.
What?? I certainly hope not. I thought it was supposed to be a performance hack. |
|
Date |
User |
Action |
Args |
2011-04-01 23:10:21 | benjamin.peterson | set | recipients:
+ benjamin.peterson, rhettinger, terry.reedy, amaury.forgeotdarc, stutzbach, Elvis.Pranskevichus |
2011-04-01 23:10:21 | benjamin.peterson | link | issue11674 messages |
2011-04-01 23:10:21 | benjamin.peterson | create | |
|