
On Sat, Dec 17, 2022 at 9:43 AM <emil@emilstenstrom.se> wrote:
Your reply could easily be read as "this is a bad idea, and you shouldn't have bothered writing it down". I hope that was not your intention, and instead it comes from handling self-indulgent people expecting things from you all day. I know, I get those requests too. I'll assume that was not your intention in my answers below.
Barry Scott wrote:
I think this has been discussed before and rejected.
Do you have a link to that discussion, or is this just from memory? What should I search for to find this discussion? Why was it rejected?
Try googling "python-ideas string prefixes". Doing mimimal diligence is a reasonable expectation before writing up an idea.
If the tags are called as functions then you can do it today with this:
def html(s): return s HEAD = html('<head>')
If I'm not missing anything, this doesn't help with syntax highlighting? Highlighting is the problem I'm talking about in my post above.
Not true. A syntax highlighter can certainly recognize html('...') just as it can recognize html'...'. --- Bruce