A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2003-May/035893.html below:

[Python-Dev] KeyboardInterrupt on Windows

[Python-Dev] KeyboardInterrupt on Windows [Python-Dev] KeyboardInterrupt on WindowsJeremy Hylton jeremy@zope.com
30 May 2003 16:43:28 -0400
It's probably an unintended consequence of the "while 1" optimization
and the fast-next-opcode optimization.  "while 1" doesn't do a test at
runtime anymore.  And opcodes like JUMP_ABSOLUTE bypass the test for
pending exceptions.  The next result is that while 1: pass puts the
interpreter in a tight loop doing a JUMP_ABSOLUTE that goes nowhere. 
That is offset X has JUMP_ABSOLUTE X.

I'd be inclined to call this a bug, but I'm not sure how to fix it.

Jeremy





RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4