Michał Górny <mgo...@gentoo.org> added the comment:

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.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue32500>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to