[Python-Dev] Doc suggestion for Elementtree (for 2.5? a bitlate, I know...)
Aahz
aahz at pythoncraft.com
Tue Aug 29 16:45:03 CEST 2006
On Tue, Aug 29, 2006, Greg Ewing wrote:
> Fredrik Lundh wrote:
>>
>> ET was written years before the "certain modules should use camelcase" stuff
>> was removed from PEP 8.
>
> Maybe so, but I was hoping that additions to the stdlib in this day
> and age might be adapted to follow modern conventions instead of just
> being plonked in as-is.
You have a point, but I think that for external libraries with a large
following the best we can do is set things up so that it's both PEP8
compliant *and* has aliases to the existing setup. From my POV, it's
critical to encourage people to switch to the stdlib version if possible
(but often writing code that works with the external library is the only
way to support multiple Python versions).
That parenthetical bit is the real killer, and I don't think even Py3K
can completely overcome it if PEP8 continues to evolve.
--
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are, by
definition, not smart enough to debug it." --Brian W. Kernighan
More information about the Python-Dev
mailing list