Python Worst Practices

Chris Angelico rosuav at gmail.com
Sat Feb 28 03:55:16 EST 2015


On Sat, Feb 28, 2015 at 6:50 PM, Dan Sommers <dan at tombstonezero.net> wrote:
> Now if only emacs were clever enough *not* to colorize "id" when it's
> one of my names and not the builtin...  ;-)

I think (part of) the point of the colorization is to make it obvious
that you've shadowed a builtin. If you use << str = 'spam' >> in your
code, the str should be highlighted.

ChrisA



More information about the Python-list mailing list