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 georg.brandl
Recipients georg.brandl, kmtracey, rhettinger, stevea_zope
Date 2008-07-20.21:44:39
SpamBayes Score 0.007370885
Marked as misclassified No
Message-id <1216590280.82.0.378092253399.issue1242657@psf.upfronthosting.co.za>
In-reply-to
Content
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?
History
Date User Action Args
2008-07-20 21:44:41georg.brandlsetspambayes_score: 0.00737088 -> 0.007370885
recipients: + georg.brandl, rhettinger, stevea_zope, kmtracey
2008-07-20 21:44:40georg.brandlsetspambayes_score: 0.00737088 -> 0.00737088
messageid: <1216590280.82.0.378092253399.issue1242657@psf.upfronthosting.co.za>
2008-07-20 21:44:40georg.brandllinkissue1242657 messages
2008-07-20 21:44:39georg.brandlcreate