Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #78916
| From | Terry Reedy <tjreedy@udel.edu> |
|---|---|
| Subject | Re: [OT] spelling colour / color was Re: Toggle |
| Date | 2014-10-09 18:53 -0400 |
| References | <u5kb3alsoleq8lh3eos289h5593m8033og@4ax.com> <5435e4e6$0$12982$c3e8da3$5496439d@news.astraweb.com> <TOzZv.532349$Jh7.32238@fx27.am4> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.14731.1412895254.18130.python-list@python.org> (permalink) |
On 10/9/2014 1:43 PM, mm0fmf wrote:
> On 09/10/2014 02:29, Steven D'Aprano wrote:
>> Apart from the horrible spelling of colour :-)
>
> I've always spelt colour as "color" when programming and as "colour"
> when writing language including documentation about software.
Like it or not, Python uses American English.
Searching 'colour' in F:\Python\dev\4\py34\Doc\*.rst ...
F:\Python\dev\4\py34\Doc\faq\library.rst: 102: functions from ncurses
and SYSV curses such as colour, alternative character set
F:\Python\dev\4\py34\Doc\howto\curses.rst: 382: instead of the
Canadian/British spelling 'colour'. If you're used to the
F:\Python\dev\4\py34\Doc\howto\regex.rst: 1114: Here's a simple example
of using the :meth:`sub` method. It replaces colour
F:\Python\dev\4\py34\Doc\howto\regex.rst: 1115: names with the word
``colour``::
F:\Python\dev\4\py34\Doc\howto\regex.rst: 1118: >>> p.sub( 'colour',
'blue socks and red shoes')
F:\Python\dev\4\py34\Doc\howto\regex.rst: 1119: 'colour socks and
colour shoes'
F:\Python\dev\4\py34\Doc\howto\regex.rst: 1120: >>> p.sub( 'colour',
'blue socks and red shoes', count=1)
F:\Python\dev\4\py34\Doc\howto\regex.rst: 1121: 'colour socks and red
shoes'
F:\Python\dev\4\py34\Doc\howto\regex.rst: 1127: >>> p.subn( 'colour',
'blue socks and red shoes')
F:\Python\dev\4\py34\Doc\howto\regex.rst: 1128: ('colour socks and
colour shoes', 2)
F:\Python\dev\4\py34\Doc\howto\regex.rst: 1129: >>> p.subn( 'colour',
'no colours at all')
F:\Python\dev\4\py34\Doc\howto\regex.rst: 1130: ('no colours at all', 0)
F:\Python\dev\4\py34\Doc\library\colorsys.rst: 24:
http://www.cambridgeincolour.com/tutorials/color-spaces.htm.
F:\Python\dev\4\py34\Doc\whatsnew\2.0.rst: 1059: and SYSV curses, such
as colour, alternative character set support, pads, and
Hits found: 14
most regex examples.
> colour in a programme doesn't seem right.
Perhaps ironically, there are 52 uses of 'colour' in the stdlib, all but
4 in idlelib, and most of those in one file. I just changed all except
in the one file.
--
Terry Jan Reedy
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Toggle Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-10-08 20:11 -0400
Re: Toggle Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-10-09 12:29 +1100
[OT] spelling colour / color was Re: Toggle mm0fmf <none@mailinator.com> - 2014-10-09 18:43 +0100
Re: [OT] spelling colour / color was Re: Toggle duncan smith <buzzard@invalid.invalid> - 2014-10-09 19:24 +0100
Re: [OT] spelling colour / color was Re: Toggle Tim Delaney <timothy.c.delaney@gmail.com> - 2014-10-10 06:53 +1100
Re: [OT] spelling colour / color was Re: Toggle Marko Rauhamaa <marko@pacujo.net> - 2014-10-09 23:48 +0300
Re: [OT] spelling colour / color was Re: Toggle alister <alister.nospam.ware@ntlworld.com> - 2014-10-10 17:31 +0000
Re: [OT] spelling colour / color was Re: Toggle Marko Rauhamaa <marko@pacujo.net> - 2014-10-10 22:01 +0300
Re: [OT] spelling colour / color was Re: Toggle alister <alister.nospam.ware@ntlworld.com> - 2014-10-10 20:05 +0000
Re: [OT] spelling colour / color was Re: Toggle Christian Gollwitzer <auriocus@gmx.de> - 2014-10-11 11:37 +0200
Re: [OT] spelling colour / color was Re: Toggle mm0fmf <none@mailinator.com> - 2014-10-11 12:45 +0100
Re: [OT] spelling colour / color was Re: Toggle duncan smith <buzzard@invalid.invalid> - 2014-10-11 16:26 +0100
Re: [OT] spelling colour / color was Re: Toggle Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2014-10-11 15:20 -0400
Re: [OT] spelling colour / color was Re: Toggle William Ray Wing <wrw@mac.com> - 2014-10-11 15:55 -0400
Re: [OT] spelling colour / color was Re: Toggle duncan smith <buzzard@invalid.invalid> - 2014-10-12 00:40 +0100
Re: [OT] spelling colour / color was Re: Toggle giacomo boffi <pecore@pascolo.net> - 2014-10-18 09:06 +0200
Re: [OT] spelling colour / color was Re: Toggle Simon Ward <simon+python@bleah.co.uk> - 2014-10-11 15:45 +0100
Re: [OT] spelling colour / color was Re: Toggle "Neil D. Cerutti" <neilc@norwich.edu> - 2014-10-10 10:46 -0400
Re: [OT] spelling colour / color was Re: Toggle Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-10-10 18:45 +0100
Re: [OT] spelling colour / color was Re: Toggle Terry Reedy <tjreedy@udel.edu> - 2014-10-09 18:53 -0400
Re: [OT] spelling colour / color was Re: Toggle Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-10-10 18:11 +1100
Re: [OT] spelling colour / color was Re: Toggle Marko Rauhamaa <marko@pacujo.net> - 2014-10-10 13:08 +0300
Re: [OT] spelling colour / color was Re: Toggle Chris Angelico <rosuav@gmail.com> - 2014-10-10 21:40 +1100
Re: [OT] spelling colour / color was Re: Toggle Marko Rauhamaa <marko@pacujo.net> - 2014-10-10 13:51 +0300
Re: [OT] spelling colour / color was Re: Toggle Chris Angelico <rosuav@gmail.com> - 2014-10-10 22:50 +1100
Re: [OT] spelling colour / color was Re: Toggle Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2014-10-10 20:19 -0400
Re: [OT] spelling colour / color was Re: Toggle Marko Rauhamaa <marko@pacujo.net> - 2014-10-11 13:33 +0300
Re: [OT] spelling colour / color was Re: Toggle Chris Angelico <rosuav@gmail.com> - 2014-10-11 22:03 +1100
Re: [OT] spelling colour / color was Re: Toggle Chris Angelico <rosuav@gmail.com> - 2014-10-10 10:21 +1100
Re: [OT] spelling colour / color was Re: Toggle Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-10-10 17:52 +1100
Re: [OT] spelling colour / color was Re: Toggle Chris Angelico <rosuav@gmail.com> - 2014-10-10 18:04 +1100
Re: [OT] spelling colour / color was Re: Toggle Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-10-10 18:38 +0100
Re: Toggle Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-10-09 02:25 +0100
Re:Toggle Dave Angel <davea@davea.name> - 2014-10-08 21:24 -0400
Re: Toggle Ben Finney <ben+python@benfinney.id.au> - 2014-10-09 12:42 +1100
Re: Toggle Rustom Mody <rustompmody@gmail.com> - 2014-10-08 19:34 -0700
Re: Toggle Steven D'Aprano <steve@pearwood.info> - 2014-10-09 04:56 +0000
Re: Toggle Rustom Mody <rustompmody@gmail.com> - 2014-10-08 22:39 -0700
Re: Toggle Chris Angelico <rosuav@gmail.com> - 2014-10-09 16:55 +1100
Re: Toggle Peter Otten <__peter__@web.de> - 2014-10-09 09:51 +0200
Re: Toggle Rustom Mody <rustompmody@gmail.com> - 2014-10-09 05:42 -0700
Re: Toggle Terry Reedy <tjreedy@udel.edu> - 2014-10-09 16:57 -0400
Re: Toggle Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-10-10 18:18 +1100
Re: Toggle Rustom Mody <rustompmody@gmail.com> - 2014-10-10 07:24 -0700
Re: Toggle Rustom Mody <rustompmody@gmail.com> - 2014-10-10 07:28 -0700
Re: Toggle Chris Angelico <rosuav@gmail.com> - 2014-10-11 01:36 +1100
Re: Toggle Ian Kelly <ian.g.kelly@gmail.com> - 2014-10-09 10:07 -0600
Re: Toggle Rustom Mody <rustompmody@gmail.com> - 2014-10-09 09:33 -0700
Re: Toggle Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-10-10 18:15 +1100
Re: Toggle Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-10-09 04:02 +0100
Re: Toggle random832@fastmail.us - 2014-10-08 23:54 -0400
Re: Toggle Chris Angelico <rosuav@gmail.com> - 2014-10-09 14:57 +1100
Re: Toggle Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2014-10-09 17:57 +1300
Re: Toggle Travis Griggs <travisgriggs@gmail.com> - 2014-10-08 22:38 -0700
Re: Toggle alister <alister.nospam.ware@ntlworld.com> - 2014-10-09 15:23 +0000
Re: Toggle Tony the Tiger <tony@tiger.invalid> - 2014-10-12 18:38 +0000
Re: Toggle Chris Angelico <rosuav@gmail.com> - 2014-10-13 05:43 +1100
Re: Toggle alister <alister.nospam.ware@ntlworld.com> - 2014-10-13 08:09 +0000
Re: Toggle Antoon Pardon <antoon.pardon@rece.vub.ac.be> - 2014-10-10 13:44 +0200
csiph-web