[Python-Dev] Coding practice for context managers

Barry Warsaw barry at python.org
Mon Oct 21 13:24:07 CEST 2013


On Oct 21, 2013, at 08:46 PM, Nick Coghlan wrote:

>There's also the fact that I prefer the current lower case names, but
>strongly dislike using lower case names for classes (despite the fact
>closing was included in the original contextlib with a non PEP 8 compliant
>class name).

I think PEP 8 needs to be slightly revised.  If you have suggestions for better
wording, please comment here:

http://bugs.python.org/issue19331

(But *please* let's not bikeshed this on python-dev.)

-Barry


More information about the Python-Dev mailing list