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 amaury.forgeotdarc
Recipients amaury.forgeotdarc, rotem_yaari, theller
Date 2008-07-11.13:30:02
SpamBayes Score 0.05539168
Marked as misclassified No
Message-id <1215783005.56.0.881533405153.issue1779233@psf.upfronthosting.co.za>
In-reply-to
Content
Two things may prevent the exception from being seen:

- First, the async exception is not immediate; it is checked every 100
bytecodes (=sys.getcheckinterval()). When testing from the interactive
prompt, try something like "for x in range(100): pass".

- Then, chances are that the exceptions is actually raised, but silently
swallowed somewhere by the interpreter: for example, if the exception is
raised from inside a __getattr__ function of some object, when called by
hasattr().

SetAsyncExc does not seem very reliable...
History
Date User Action Args
2008-07-11 13:30:06amaury.forgeotdarcsetspambayes_score: 0.0553917 -> 0.05539168
recipients: + amaury.forgeotdarc, theller, rotem_yaari
2008-07-11 13:30:05amaury.forgeotdarcsetspambayes_score: 0.0553917 -> 0.0553917
messageid: <1215783005.56.0.881533405153.issue1779233@psf.upfronthosting.co.za>
2008-07-11 13:30:04amaury.forgeotdarclinkissue1779233 messages
2008-07-11 13:30:02amaury.forgeotdarccreate