Does '#hash' mean anything in IDLE?
John Salerno
johnjsal at NOSPAMgmail.com
Thu Mar 2 15:49:03 EST 2006
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
More information about the Python-list
mailing list