nested scopes

Michael Hudson mwh at
Mon Feb 18 12:54:30 CET 2002

"Emile van Sebille" <emile at> writes:

> "Nicola Kluge" <NKluge at> wrote in message
> news:zsTb8.129039$th4.37009591 at
> > Nevermind, I found that it doesn't work in IDLE, but it works in
> cmdline
> > Python.
> >
> from __future__ import nested_scopes  needs to be the first thing done,
> and in idle you never get to be first...
> It does work, of course, in idle under 2.2.

__future__ statements work in idle under 2.2, too (i.e. generators,
future division).


  ... when all the programmes on all the channels actually were made
  by actors with cleft pallettes speaking lines by dyslexic writers
  filmed by blind cameramen instead of merely seeming like that, it
  somehow made the whole thing more worthwhile.   -- HHGTG, Episode 11

More information about the Python-list mailing list