[Python-Dev] Python 1.7 tokenization feature request

gvwilson@nevex.com gvwilson@nevex.com
Mon, 13 Mar 2000 16:10:52 -0500 (EST)


Once 1.6 is out the door, would people be willing to consider extending
Python's token set to make HTML/XML-ish spellings using entity references
legal?  This would make the following 100% legal Python:

i = 0
while i < 10:
    print i & 1
    i = i + 1

which would in turn make it easier to embed Python in XML such as
config-files-for-whatever-Software-Carpentry-produces-to-replace-make,
PMZ, and so on.

Greg