On Mon, 13 Mar 2000 gvwilson@nevex.com wrote: > 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. Why? Whatever XML parser you use will output "i<1" as "i<1", so the Python that comes out of the XML parser is quite all right. Why change Python to do an XML parser job? -- Moshe Zadka <mzadka@geocities.com>. http://www.oreilly.com/news/prescod_0300.html http://www.linux.org.il -- we put the penguin in .com
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