On Fri, 25 May 2018 13:58:03 +0100, bartc wrote: > As for '@', if a variable name can come before it /and/ after it, and > either or both can be dotted, wouldn't that cause it to be highlighted > as an email address in many circumstances? Such as in code posted here.
Sure. And x/y might be formatted as a file system pathname in many circumstances, and x<y<z might be formatted as an (unclosed) HTML or XML tag under many circumstances, and when I write __dunder__ methods my news client displays them as underlined. Fortunately I don't write code in my news client. I either use a programmers text editor which correctly shows Python syntax, or I use a basic editor which doesn't show *any* formatting at all. What do you use? I think it is ludicrous to expect Python to eschew any syntax which is given a different meaning in some other language, markup or file format. -- Steve -- https://mail.python.org/mailman/listinfo/python-list