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 at sympatico.ca To: python-dev at 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 ... -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20100722/c82299d9/attachment.html>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4