Font-lock in xemacs is not displaying triple-quoted strings correctly.
For example:
"""
This is "a test" string
on multiple lines.
"""
The phrases "This is " and " string on multiple lines." are formatted
as strings, but "a test" is not formatted as a string.
It appears that the triple quote is being treated as three
individual quotation marks instead of as a single entity.
A fix for this will be greatly appreciated. I *love* python-mode.el!
Logged In: YES
user_id=12800
This is not something python-mode can realistically address.
As you properly guess, because of limitations in Emacs'
(and XEmacs') built-in syntax table implementation,
python-mode has no choice but to treat triple quoted strings
as three separate entities.
Logged In: YES
user_id=195958
See patch #1023335 (Handle triple-quoted strings correctly):
http://sourceforge.net/tracker/index.php?
func=detail&aid=1023335&group_id=86916&atid=581351
It might not be the prettiest solution, but it works. :)