[IPython-user] More ipython and python2.5: 'with' statements

Fernando Perez Fernando.Perez at colorado.edu
Fri Mar 10 12:38:01 CST 2006


Ville Vainio wrote:
> On 3/10/06, Fernando Perez <Fernando.Perez at colorado.edu> wrote:
> 
> 
>>but you have to keep in mind that ipython imports a ton of modules from the
>>standard library.  I wonder if, in 2.5, any of the stdlib modules have these
>>future imports, which would explain the behavior you are seeing.
> 
> 
> Shouldn't the effect of future statement be limited to the current file?

That would have been my initial thought, but I'm not 100% sure.  I think some 
of those future things have global effects.  I really don't know, I was just 
throwing the only hypothesis I could come up with, as to why this is 
happening.  But it was purely a long-shot guess.

Cheers,

f




More information about the IPython-user mailing list