A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2000-March/002584.html below:

[Python-Dev] Python 1.7 tokenization feature request

[Python-Dev] Python 1.7 tokenization feature request [Python-Dev] Python 1.7 tokenization feature requestSkip Montanaro skip@mojam.com (Skip Montanaro)
Mon, 13 Mar 2000 15:23:17 -0600 (CST)
    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