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 mgorny
Recipients docs@python, gvanrossum, mgorny, serhiy.storchaka
Date 2018-01-06.20:48:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Well, my two main concerns are:

1) whether it is acceptable for PyPy to not raise TypeError in this case, or if I should report it to PyPy upstream as a bug,

2) and whether programmers can appropriately rely on PySequence_Length() raising TypeError for non-sequence types or if they should use e.g. PySequence_Check() explicitly.
Date User Action Args
2018-01-06 20:48:46mgornysetrecipients: + mgorny, gvanrossum, docs@python, serhiy.storchaka
2018-01-06 20:48:46mgornysetmessageid: <>
2018-01-06 20:48:46mgornylinkissue32500 messages
2018-01-06 20:48:46mgornycreate