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 ivank
Recipients ivank
Date 2010-04-15.01:00:00
SpamBayes Score 0.0016626563
Marked as misclassified No
Message-id <1271293203.08.0.221458450606.issue8403@psf.upfronthosting.co.za>
In-reply-to
Content
If you run
>>> dis.dis(lambda: 99**1000003)
and press Ctrl-C immediately, you'll see the numbers without constant folding:
  1           0 LOAD_CONST               1 (99)
              3 LOAD_CONST               2 (1000003)
              6 BINARY_POWER        
              7 RETURN_VALUE        

If you wait long enough instead (don't press Ctrl-C), you'll see a very big number.

It seems strange to do two different things. Perhaps the KeyboardInterrupt should be rethrown instead?
History
Date User Action Args
2010-04-15 01:00:03ivanksetrecipients: + ivank
2010-04-15 01:00:03ivanksetmessageid: <1271293203.08.0.221458450606.issue8403@psf.upfronthosting.co.za>
2010-04-15 01:00:01ivanklinkissue8403 messages
2010-04-15 01:00:00ivankcreate