[Python-ideas] PEP 8: raw strings & regular expressions

Yury Selivanov yselivanov.ml at gmail.com
Mon Oct 26 11:17:43 EDT 2015


On 2015-10-22 9:42 PM, Steven D'Aprano wrote:
> If you want my advice, it would be to either just pick whichever style
> of formatting you like, and people will either like your code
> highlighter and use it, or they won't, or you should consider a plug-in
> architecture where your users can choose the string-highlighter style
> they want, and even extend it to other DSLs.

Yeah, I finally figured out a way to make the highlighter easily
configurable, so that users can turn on/off highlighting of
regexes, formatting literals, python2 support etc.

This discussion was actually quite useful to me.
Thanks to everybody for feedback!

Yury


More information about the Python-ideas mailing list