Greg> Once 1.6 is out the door, would people be willing to consider Greg> extending Python's token set to make HTML/XML-ish spellings using Greg> entity references legal? This would make the following 100% legal Greg> Python: Greg> i = 0 Greg> while i < 10: Greg> print i & 1 Greg> i = i + 1 What makes it difficult to pump your Python code through cgi.escape when embedding it? There doesn't seem to be an inverse function to cgi.escape (at least not in the cgi module), but I suspect it could rather easily be written. -- Skip Montanaro | http://www.mojam.com/ skip@mojam.com | http://www.musi-cal.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