New submission from Terry J. Reedy: 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.) ---------- assignee: terry.reedy files: color.diff keywords: patch messages: 279340 nosy: terry.reedy priority: normal severity: normal stage: patch review status: open title: Idlelib.configdialog: use 'color' insteadof 'colour' type: enhancement versions: Python 3.6, Python 3.7 Added file: http://bugs.python.org/file45207/color.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28523> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com