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

Josiah Carlson jcarlson at uci.edu
Sun Jul 2 05:56:07 CEST 2006


Armin Rigo <arigo at tunes.org> wrote:
> 
> 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.

That is good to know, thank you Armin.

 - Josiah



More information about the Python-Dev mailing list