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 barry
Recipients barry
Date 2013-10-21.14:01:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1382364108.83.0.592480403248.issue19331@psf.upfronthosting.co.za>
In-reply-to
Content
PEP 8 says:

"""
Class Names
Almost without exception, class names use the CapWords convention. Classes for internal use have a leading underscore in addition.
"""

yet there are some notable exceptions in practice, such as classes designed to be context managers (used with the `with` statement).

This message indicates Nick's implementation choice of a wrapper function in part to avoid naming a class with all lower cases (which look better with `with`, but break the PEP 8 convention).

https://mail.python.org/pipermail/python-dev/2013-October/129791.html

The PEP 8 language should be revised, but striking the right balance might be a little tricky.
History
Date User Action Args
2013-10-21 14:01:48barrysetrecipients: + barry
2013-10-21 14:01:48barrysetmessageid: <1382364108.83.0.592480403248.issue19331@psf.upfronthosting.co.za>
2013-10-21 14:01:48barrylinkissue19331 messages
2013-10-21 14:01:48barrycreate