Python syntax highlighting breaks on triple-quotes embedded in a non-triple-quoted string

Bug #493003 reported by Eric Pierce
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Pasta
New
Low
Unassigned

Bug Description

The syntax highlighter (syntax.py) does not correctly handle "'''" or '"""', such as those present in the __init__ method of syntax.py itself. This is probably due to match_multiline being called after all other syntax highlighting is done; instead, it may be necessary to change state when inside a "..." or '...' string, such that ''' and """ can be ignored in that context.

Changed in pasta:
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.