oops, :name does break things, e.g

   if x :return


So, it could be ::name or  |name  or &name or !name or whatever.




From: gregory.smith3@sympatico.ca
To: python-dev@python.org
Subject: RE: [Python-Dev] Set the namespace free!
Date: Thu, 22 Jul 2010 16:24:27 +0000

I agree with the idea, but a far less radical change is needed to get the desired result.
The basic idea is this: it should be possible to use any name as an identifier in the syntax, including names
like 'while' and 'import'. But there is no need to mess up the entire language to allow this
(either by quoting all the identifiers, perl-style, or by marking the keywords).

All that is needed is something like this:

foo = 7
:foo = 7   # exactly like foo=7
...