[Python-Dev] Set the namespace free! (original) (raw)
Alexander Belopolsky alexander.belopolsky at gmail.com
Thu Jul 22 16:59:51 CEST 2010
- Previous message: [Python-Dev] Set the namespace free!
- Next message: [Python-Dev] Set the namespace free!
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Previous message: [Python-Dev] Set the namespace free!
- Next message: [Python-Dev] Set the namespace free!
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]