[issue9612] setobject.c warnings under 64-bit Windows
Martin v. Löwis
report at bugs.python.org
Sun Aug 15 20:11:08 CEST 2010
Martin v. Löwis <martin at v.loewis.de> 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 <report at bugs.python.org>
<http://bugs.python.org/issue9612>
_______________________________________
More information about the Python-bugs-list
mailing list