why is this failing?

Skip Montanaro skip at pobox.com
Mon Sep 15 21:34:39 CEST 2003

    John> You wouldn't happen to know how to do this for python-mode?

The attached patch for python-mode colors the 2.3 builtins like keywords.
(Maybe they should be a different color, but I'm lazy.)  Note that I
included the specials __debug__, __doc__, __import__ and __name__.  That was
initially an oversight, but upon a nanosecond's worth of reflection I
decided that leaving them colored isn't obviously a bad idea.  You can just
delete them from the kw3 list if you don't agree.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: python-mode.diffs
Type: application/octet-stream
Size: 2243 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20030915/446bf99e/attachment.obj>

More information about the Python-list mailing list