Creating a local variable scope.

Jorgen Grahn grahn+nntp at snipabacken.se
Sat Sep 12 13:04:43 CEST 2009


On Fri, 11 Sep 2009 19:07:55 -0700 (PDT), Bearophile <bearophileHUGS at lycos.com> wrote:
...
> No need to add other things to the
> language as the OP suggests.

He didn't suggest that (although he did give examples from other
languages).

Personally ... yes, I sometimes feel like the OP, but usually if I
want that kind of subtle improvements, I am also willing to
restructure my code so the natural scopes become short enough.

/Jorgen

-- 
  // Jorgen Grahn <grahn@  Oo  o.   .  .
\X/     snipabacken.se>   O  o   .



More information about the Python-list mailing list