[issue5137] SystemError when __len__ returns a non-number

Benjamin Peterson report at bugs.python.org
Sat Feb 7 17:58:42 CET 2009


Benjamin Peterson <benjamin at python.org> added the comment:

Here's patch that raises a TypeError like 2.x.

----------
keywords: +needs review, patch
nosy: +benjamin.peterson
Added file: http://bugs.python.org/file12969/SystemError_bad_len.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5137>
_______________________________________


More information about the Python-bugs-list mailing list