[Patches] [ python-Patches-919256 ] PEP-008: Update Naming
Conventions
SourceForge.net
noreply at sourceforge.net
Fri Mar 19 12:51:04 EST 2004
Patches item #919256, was opened at 2004-03-18 23:00
Message generated for change (Comment added) made by jimjjewett
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=919256&group_id=5470
Category: Documentation
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Kurt B. Kaiser (kbk)
Assigned to: Kurt B. Kaiser (kbk)
Summary: PEP-008: Update Naming Conventions
Initial Comment:
Clarify and standardize the format for names of modules, functions,
methods, and instance variables.
Consistent, I hope, with discussion on python-dev
http://mail.python.org/pipermail/python-dev/2004-March/043257.html
http://mail.python.org/pipermail/python-dev/2004-March/043259.html
----------------------------------------------------------------------
Comment By: Jim Jewett (jimjjewett)
Date: 2004-03-19 12:51
Message:
Logged In: YES
user_id=764593
Under modules, should there be a parenthetical comment
saying either
(1) If a module name does include capitals, then it must be
named with capitals during import?
(2) Many existing module names follow an older CapWords
convention, particularly if they export a single class or wrap a
C module.
----------------------------------------------------------------------
Comment By: Guido van Rossum (gvanrossum)
Date: 2004-03-18 23:54
Message:
Logged In: YES
user_id=6380
Thanks!
Looks good, except that the alternate style for functions
and methods is "mixedCase", not "CamelCase". (We may have
our definition of CamelCase mixed up, but the point is that
the initial letter is lower case.)
Go ahead and check it in (if people disagree they can check
in an improvement).
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=919256&group_id=5470
More information about the Patches
mailing list