[lxml-dev] Re: ElementTree in the standard library!
Philipp von Weitershausen wrote:
Stefan Behnel wrote:
+1 for this suggestion, though. I don't think there are any modules in stdlib that use upper-case names.
Unfortunately there are:
Tkinter, UserDict, UserList, UserString, cPickle, StringIO, cStringIO, SocketServer, {Base|Simple|CGI}HTTPServer, Cookie, {Simple|Doc}XMLRPCServer, MimeWriter, HTMLParser, and probably some more.
That list may seem long, but compared to the actual number of modules inside the stdlib, it's quite small. Still, it would be nicer if the modules-are-lower-case rule was followed better and were perhaps even immortalized in a style PEP. [...]
This rule is in PEP 8 <http://www.python.org/peps/pep-0008.html>. Bye, Dennis
Dennis Benzinger wrote:
Philipp von Weitershausen wrote:
Stefan Behnel wrote:
+1 for this suggestion, though. I don't think there are any modules in stdlib that use upper-case names.
Unfortunately there are:
Tkinter, UserDict, UserList, UserString, cPickle, StringIO, cStringIO, SocketServer, {Base|Simple|CGI}HTTPServer, Cookie, {Simple|Doc}XMLRPCServer, MimeWriter, HTMLParser, and probably some more.
That list may seem long, but compared to the actual number of modules inside the stdlib, it's quite small. Still, it would be nicer if the modules-are-lower-case rule was followed better and were perhaps even immortalized in a style PEP. [...]
This rule is in PEP 8 <http://www.python.org/peps/pep-0008.html>.
Oh yeah, it is. I thought I knew that PEP pretty well, but I guess I missed a spot :). Now I no longer wonder where that rule comes from :) Thanks for pointing that out, Philipp
participants (2)
-
Dennis Benzinger
-
Philipp von Weitershausen