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 veky
Recipients serhiy.storchaka, terry.reedy, veky
Date 2016-08-24.07:50:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1472025045.68.0.503592305705.issue27821@psf.upfronthosting.co.za>
In-reply-to
Content
But there is something _I_ can do now. :-)

I put a pdb.set_trace in that code you quoted, and went exploring. And here is what I found.

It calls
    currentOption = idleConf.CurrentKeys()
That one calls
    return self.current_colors_and_keys('Keys')
and _that one_ calls
    default = self.GetOption('main', 'Theme', 'default',
                                      ^^^^^ note this
                                 type='bool', default=True)
and later it uses defaut as default for both theme and keys.

I did have custom keys, but not a custom highlight theme. Sure enough, as soon as I made a trivial copy of IDLE classic, things worked perfectly. :-)

So now I don't have a problem anymore. But still I think it is a bug that should be fixed. Not everyone who hates Alt+p also hates the orange words on white background. :-D
History
Date User Action Args
2016-08-24 07:50:45vekysetrecipients: + veky, terry.reedy, serhiy.storchaka
2016-08-24 07:50:45vekysetmessageid: <1472025045.68.0.503592305705.issue27821@psf.upfronthosting.co.za>
2016-08-24 07:50:45vekylinkissue27821 messages
2016-08-24 07:50:44vekycreate