Message252278
| Author |
markroseman |
| Recipients |
kbk, markroseman, roger.serwy, terry.reedy |
| Date |
2015年10月04日.18:23:48 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1443983028.38.0.330062493222.issue25313@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
As a follow-on to #24820, when a particular theme is selected in the configuration files, but that theme is not available, IDLE will print out a bunch of warning messages on console. That can occur for example when using a newer built-in theme in an older version before that theme was added, or if the user highlight config file was modified or removed.
IDLE should be smart enough to recognize that and switch to a default theme, without dumping out console error messages. May alert user to that case with an appropriate error message, e.g. theme xyz not found, using default.
The current workaround in #24820 (when a newer theme is chosen in a new version, explain it may not work in older version but explain how it could be made to) is unfortunately necessary unless a more clever solution for this backwards compatibility issue can be found.
Would apply to keysets, etc. in the same was as themes. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2015年10月04日 18:23:48 | markroseman | set | recipients:
+ markroseman, terry.reedy, kbk, roger.serwy |
| 2015年10月04日 18:23:48 | markroseman | set | messageid: <1443983028.38.0.330062493222.issue25313@psf.upfronthosting.co.za> |
| 2015年10月04日 18:23:48 | markroseman | link | issue25313 messages |
| 2015年10月04日 18:23:48 | markroseman | create |
|