[issue8403] dis.dis gives different results if Ctrl-C is pressed

Raymond Hettinger report at bugs.python.org
Thu Apr 15 03:29:58 CEST 2010


Raymond Hettinger <rhettinger at users.sourceforge.net> added the comment:

> Probably due to the fact that the peepholer 
> avoids constant folding when any exception happens.

Yes.  And that is a feature, not a bug.

It would better though if the keyboard interrupt was not swallowed.

----------
assignee:  -> rhettinger
nosy: +rhettinger

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


More information about the Python-bugs-list mailing list