Author benjamin.peterson
Recipients benjamin.peterson, ferringb, georg.brandl, nnorwitz, rhettinger, schmir
Date 2008-05-16.22:30:27
SpamBayes Score 0.0120549
Marked as misclassified No
Message-id <1210977029.56.0.919152323323.issue1574217@psf.upfronthosting.co.za>
In-reply-to
Content
I'd like to clarify the approach to fixing these types of problems. I
fixed a issue (#2196) like this by only propagating exceptions that
didn't descend from Exception because of this sentence in the hasattr docs:

This is implemented by calling getattr(object, name) and seeing whether
it raises an exception or not.)

However, I like constricting it to AttributeError only as that would
make it much less confusing. This might be something to bring up on
python-dev.
History
Date User Action Args
2008-05-16 22:30:30benjamin.petersonsetspambayes_score: 0.0120549 -> 0.0120549
recipients: + benjamin.peterson, nnorwitz, georg.brandl, rhettinger, ferringb, schmir
2008-05-16 22:30:29benjamin.petersonsetspambayes_score: 0.0120549 -> 0.0120549
messageid: <1210977029.56.0.919152323323.issue1574217@psf.upfronthosting.co.za>
2008-05-16 22:30:28benjamin.petersonlinkissue1574217 messages
2008-05-16 22:30:27benjamin.petersoncreate