John Coleman wrote:
> John Coleman wrote:
>> Greetings,
>>    I am currently trying to learn Python through the excellent
>> "Learning Python" book. 

me too!

> It isn't just #hash, but also things like #dict, #int, #len at the
> start of a comment line which defeats IDLE's colorization algorithm.
> Interestingly, things like #while or #for behave as expected so it
> seems to be built-ins rather than keywords which are the problem. To
> answer my own question - this is pretty clearly a (harmless) bug.

also notice that putting a space after # stops the problem
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to