Message251980
| Author |
markroseman |
| Recipients |
markroseman, ned.deily, terry.reedy, westley.martinez |
| Date |
2015年09月30日.23:54:08 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1443657249.04.0.267181803981.issue20580@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Before creating another layer on top of the existing layers of configuration handling, can I suggest for now at least just hard-coding the few things that are needed in the code itself?
For example, in configHandler.py, after calling LoadCfgFiles, we could call a routine like, e.g.
def AdjustPlatformDefaults(self):
if sys.platform == 'darwin':
self.defaultCfg['main'].set('Keys', 'name', 'IDLE Classic OSX')
...
An appropriate comment could be added to config-main.def about this default option being overridden.
That would allow getting rid of the Makefile hack. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2015年09月30日 23:54:09 | markroseman | set | recipients:
+ markroseman, terry.reedy, ned.deily, westley.martinez |
| 2015年09月30日 23:54:09 | markroseman | set | messageid: <1443657249.04.0.267181803981.issue20580@psf.upfronthosting.co.za> |
| 2015年09月30日 23:54:09 | markroseman | link | issue20580 messages |
| 2015年09月30日 23:54:08 | markroseman | create |
|