This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eric.araujo
Recipients abrown, belopolsky, brett.cannon, dmhouse, dudologist, eka, eric.araujo, mark.dickinson
Date 2010-06-19.04:36:19
SpamBayes Score 0.0052721226
Marked as misclassified No
Message-id <1276922183.88.0.483637794686.issue6641@psf.upfronthosting.co.za>
In-reply-to
Content
PEP 8 says: “If your public attribute name collides with a reserved keyword, append a single trailing underscore to your attribute name.  This is preferable to an abbreviation or corrupted spelling.” e.g. “class_” is used for an HTML class. “(However, notwithstanding this rule, 'cls' is the preferred spelling for any variable or argument which is known to be a class, especially the first argument to a class method.)” I’d like this recommendation to be followed, even if it’s in an internal function.
History
Date User Action Args
2010-06-19 04:36:24eric.araujosetrecipients: + eric.araujo, brett.cannon, mark.dickinson, belopolsky, eka, dmhouse, abrown, dudologist
2010-06-19 04:36:23eric.araujosetmessageid: <1276922183.88.0.483637794686.issue6641@psf.upfronthosting.co.za>
2010-06-19 04:36:22eric.araujolinkissue6641 messages
2010-06-19 04:36:19eric.araujocreate