Message279340
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.) |
|
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 | |
|