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 kbk
Date 2004-12-20.01:33:40
SpamBayes Score
Marked as misclassified
Logged In: YES 

This bug was caused by adding the colorization of built-in
keywords.  The current design of the themes and keybindings
in the configuration system saves the entire modified config
file instead of just the changes.  When IDLE tried to load your
config-highlight.cfg it got out of sync and died miserably.

An initial fix would be to fix the config system to load the
default bindings (as intended) when there was a problem
with the user binding.

But to fully fix the problem and make the config system
robust, it appears to be necessary to redesign it to save
only the changes, as it does for config-main.cfg and 
config-extensions.cfg.  That way any new color items
would be loaded from the default config-highlight.def.
That's a bit of work.  Maybe someone will step up.

I've attached a patch to config-highlight.def which should take
care of the problem.  On Windows it's easiest, no doubt, to
just type in the four missing lines.  Or just delete
config-highlights.cfg and recreate it, whichever is less
Date User Action Args
2007-08-23 14:28:12adminlinkissue1080387 messages
2007-08-23 14:28:12admincreate