Martin v. Löwis <[email protected]> added the comment: For the length hint, it would be best to use PyLong_FromSize_t, as in dictobject.c. It would be sad if __length_hint__ would return a much-too-small value (or even a negative number).
For the search finger, dictobject has opted to make me_hash of type Py_ssize_t. ---------- nosy: +loewis _______________________________________ Python tracker <[email protected]> <http://bugs.python.org/issue9612> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
