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.

Author fisheggs
Recipients
Date 2004-03-11.04:42:13
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=756090

The purpose of the r"([^\\.]\b|^)" is to prevent member vars with the 
same name as a builtin from being colorised. 
 
ie given self.file=file(filename) only the second 'file' should be colorised as 
the first one is NOT shadowing the builtin. 
 
However, you are quite right WRT the quoting bug. 
 
Changeing the r"([^\\.]\b|^)" to r"([^\\.'\"]\b|^)" seems to fix it so that 
	self.file = file("file") 
is colorised correctly.  Ie the first 'file' is in Normal color, the second is in 
Builtins color and the third is in Strings color. 
 
--  
	Nigel 
History
Date User Action Args
2007-08-23 15:29:07adminlinkissue805830 messages
2007-08-23 15:29:07admincreate