[Python-Dev] Set the namespace free!

Alexander Belopolsky alexander.belopolsky at gmail.com
Thu Jul 22 16:59:51 CEST 2010


On Thu, Jul 22, 2010 at 10:41 AM, Jesse Noller <jnoller at gmail.com> wrote:
..
> I'm not a fan of this - I'd much prefer[1] that we use the exclamation
> point to determine scope:
>
> foobar - local
> !foobar - one up
> !!foobar - higher than the last one
> !!!foobar - even higher in scope
>
> We could do the inverse as well; if you append ! you can push variable
> down in scope.

Replace '!' with '$' and we have a winner! [IANSE]

> [1] I am not serious.

[IANSE] I am not serious either.


More information about the Python-Dev mailing list