[Python-Dev] Set the namespace free!

Isaac Morland ijmorlan at uwaterloo.ca
Thu Jul 22 14:46:27 CEST 2010


On Thu, 22 Jul 2010, Bartosz Tarnowski wrote:

[....]
> My proposal: let's make a syntax change.

I'm pretty sure this belongs on python-ideas.

> Let all reserved words be preceded with some symbol, i.e. "!" (exclamation 
> mark). This goes also for standard library global identifiers.
>
> !for boo in foo:
>    !if boo is !None:
>        !print(hoo)
>    !else:
>        !return !sorted(woo)

Is today April 1st?

Seriously, an identifier-quoting capability like PostgreSQL has wouldn't 
necessarily be a bad idea, but would be a topic for python-ideas, not 
here on python-dev.

Isaac Morland			CSCF Web Guru
DC 2554C, x36650		WWW Software Specialist


More information about the Python-Dev mailing list