This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients benjamin.peterson, pitrou, rhettinger, serhiy.storchaka
Date 2013-10-23.20:23:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
What if use _PyObject_HasLen?

if (_PyObject_HasLen(o)) {
    res = PyObject_Length(o);

hint = _PyObject_LookupSpecial(o, &PyId___length_hint__);
Date User Action Args
2013-10-23 20:23:45serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, pitrou, benjamin.peterson
2013-10-23 20:23:45serhiy.storchakasetmessageid: <>
2013-10-23 20:23:45serhiy.storchakalinkissue19369 messages
2013-10-23 20:23:45serhiy.storchakacreate