[Python-Dev] sys.settrace() in Python 2.3 vs. 2.4

Armin Rigo arigo at tunes.org
Sat Jul 1 10:52:21 CEST 2006


Hi Josiah,

On Fri, Jun 30, 2006 at 01:27:24PM -0700, Josiah Carlson wrote:
> I'll just have to gracefully degrade functionality for older Pythons. 

More precisely, the bug shows up because in

  while 1:
      pass

the current line remains on the 'pass' forever.  It works for a loop
like that:

  while 1:
      sys
      sys

but it's admittedly quite obscure.


Armin


More information about the Python-Dev mailing list