Message279340
| Author |
terry.reedy |
| Recipients |
terry.reedy |
| Date |
2016年10月24日.21:37:07 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1477345028.99.0.578585352452.issue28523@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
idlelib.configdialog uses the British spelling 'colour' instead of the American spelling 'color' everywhere except for externally mandated import and parameter names and in some recent comments. idlelib uses 'color' everywhere else.
# change 'colour' to 'color' in idlelib.configdialog 3.6
with open('F:/python/dev/36/lib/idlelib/configdialog.py', 'r+') as f:
code = f.read().replace('Colour', 'Color').replace('colour', 'color')
f.seek(0); f.truncate()
f.write(code)
produces the attached patch. I would like to apply this before 3.6.0rc. I might wait until a week before that in case I want to backport any configdialog changes to 3.5. (Any such changes might require regenerating the patch.) |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2016年10月24日 21:37:09 | terry.reedy | set | recipients:
+ terry.reedy |
| 2016年10月24日 21:37:08 | terry.reedy | set | messageid: <1477345028.99.0.578585352452.issue28523@psf.upfronthosting.co.za> |
| 2016年10月24日 21:37:08 | terry.reedy | link | issue28523 messages |
| 2016年10月24日 21:37:08 | terry.reedy | create |
|