[Python-Dev] PEP 372 -- Adding an ordered directory to collections ready for pronouncement

Armin Ronacher armin.ronacher at active-4.com
Tue Mar 3 00:09:50 CET 2009


Hi,

Raymond Hettinger <python <at> rcn.com> writes:
> When we use the class, we typically only spell-out the constructor
> once while actually using the returned
> object many times.  So, 
> have we really saved any typing?
I'm fine with the typed out name as well, but I still would prefer lowercase to
stay consistent with defaultdict/dict.

Unfortunately PEP 8 never really took off naming-wise, so we're mostly following
the "reuse the naming scheme from existing code in the same module" rule, and I
think there lowercase wins, thanks to defaultdict.

Regards,
Armin



More information about the Python-Dev mailing list