Message132777
| Author |
benjamin.peterson |
| Recipients |
Elvis.Pranskevichus, amaury.forgeotdarc, benjamin.peterson, rhettinger, stutzbach, terry.reedy |
| Date |
2011年04月01日.23:10:21 |
| SpamBayes Score |
0.00025891588 |
| Marked as misclassified |
No |
| Message-id |
<AANLkTim=p3c9UR8dEHv-axDHNk-ZTQb0sEhxpCZkwkTG@mail.gmail.com> |
| In-reply-to |
<1301699197.28.0.373628590338.issue11674@psf.upfronthosting.co.za> |
| Content |
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. |
|