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

Benjamin Peterson report at bugs.python.org
Thu Apr 15 03:33:01 CEST 2010


Benjamin Peterson <benjamin at python.org> added the comment:

2010/4/14 Raymond Hettinger <report at bugs.python.org>:
>
> 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.

Agreed on both points.

----------

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


More information about the Python-bugs-list mailing list