[Python-Dev] PEP 0424: A method for exposing a length hint

Raymond Hettinger raymond.hettinger at gmail.com
Mon Jul 16 11:51:39 CEST 2012


On Jul 16, 2012, at 12:36 AM, Stefan Behnel wrote:

> I'd like to more visibly repeat my suggestion to make this a slot method
> "tp_length_hint()" in extension types that returns a Py_ssize_t.

That is merely an implementation detail, but it would be a nice improvement.


Raymond

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20120716/ec7a620a/attachment.html>


More information about the Python-Dev mailing list