[stdlib-sig] PEP 3108
Barry Warsaw
barry at python.org
Tue Jan 22 13:22:41 CET 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Jan 22, 2008, at 5:07 AM, M.-A. Lemburg wrote:
> On 2008-01-22 06:58, Steven Bethard wrote:
>> On Jan 21, 2008 4:39 PM, M.-A. Lemburg <mal at egenix.com> wrote:
>>> * The renaming is done inconsistently, e.g.
>>>
>>> "simple_http_server", "simple_xmlrpc_server", but "socketserver"
>>>
>>> There should either always be an underscore to separate words,
>>> or none.
>>>
>>> I don't think that underscores in module names are particularly
>>> nice, so I'd opt for going with the no-underscores versions.
>>
>> The main reason for the move away from camelCase was that non-native
>> English speakers claimed that it was easier to find the words when
>> under_scores was used instead of camelCase. I assume the same
>> argument
>> applies here: under_scores is better than runtogetherwords.
I agree. Hopefully with a sensible reorganization, multi-word module
names can be reduced as much as possible (e.g. email.MIMEText ->
email.mime.text), but if not, then I don't have a problem with
underscored module names in general.
socket_server is fine, but I also think tkinter is fine since the
later doesn't even contain real words <wink>.
- -Barry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
iQCVAwUBR5XgEXEjvBPtnXfVAQIbZwP/X8sWnnav6TWBuDnILlm6kavyR90rjgtd
bHU4spMSCGP+OiVEXfpreB9i6MWhICF/Mx9Qb7wcWB229Y2eQyCvGwpMzyi5a7Uz
PXSYNRK/n1btuyA2H+ickze41aM5nUj1YewsQGdUZmguViflOcTWO56pgcOD2iuz
pvkSzZXkoFc=
=F/D2
-----END PGP SIGNATURE-----
More information about the stdlib-sig
mailing list