This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: "as" keyword sometimes highlighted in strings
Type: Stage:
Components: IDLE Versions:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: kbk Nosy List: adsr, kbk, rhettinger
Priority: low Keywords:

Created on 2005-10-12 17:45 by adsr, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
get_redir.py adsr, 2005-10-12 17:45
Messages (3)
msg26575 - (view) Author: Artur de Sousa Rocha (adsr) Date: 2005-10-12 17:45
IDLE sometimes highlights the "as" keyword inside
strings. See the docstring to the get_redir() function
in the attached script.

IDLE 1.1.2, Python 2.4.2, but I've seen it in older
versions too.
msg26576 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2005-10-14 07:20
Logged In: YES 
user_id=80475

It is better to have fast and simple syntax highlighting
which does not special-case literals.  IOW, I prefer the
status quo -- it would be a loss to have the highlighting
code get mired down with parser logic.
msg26577 - (view) Author: Kurt B. Kaiser (kbk) * (Python committer) Date: 2006-07-17 22:13
Logged In: YES 
user_id=149084

closed by patch 1479219, Tal Einat
History
Date User Action Args
2022-04-11 14:56:13adminsetgithub: 42474
2005-10-12 17:45:03adsrcreate