Georg Brandl <[EMAIL PROTECTED]> added the comment:

The problem is in _PyObject_LengthHint which calls len(o) and masks all
exceptions from it. Its comments says "This function never fails.
Accordingly, it will mask exceptions raised in either method."

Would it be better to at least not mask BaseExceptions?

_______________________________________
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1242657>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to