On Mon, Mar 27, 2017 at 12:26 PM, Terry Reedy <tjre...@udel.edu> wrote: > It might be possible (or not!) to make the clause-heading words like 'where' > or 'groupby' (this would have to be one word) recognized as special only in > the context of starting a new comprehension clause. The precedents for > 'keyword in context' are 'as', 'async', and 'await'. But these were > temporary and a nuisance (both to code and for syntax highlighting) and I > would not be in favor of repeating for this case.
Apologies if it's already been mentioned, but is MacroPy able to do this without introducing actual language keywords? ChrisA _______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/