Thoughts on some stdlib modules



I was messing around in google looking for the available python form
validation modules when i found this:
http://www.jorendorff.com/articles/python/path/, and i realized that is very
similar to my python fileutils module,which encapsulate,path
operations,file operations,etc.

And those thoughts comes to mind again, if python is such a great language
why does the stdlib is so bloated with duplication,bad bad library
design,clumsy to use modules,etc.

Why does people have to put wrappers around about half of the standart
library modules? i have wrappers for urllib,urllib2,urlparse in urlutils.
glob,shutils,os.path,os,filecmp,etc in fileutils.
time,datetime.time,date,datetime.datetime,time.date,etc,etc in DateTime.
And so the list goes on.

I mean is this normal? i dont think so.I havent seen such a messy stdlib in
any language.Is it because of legacy code and backwards compatibility or
because not too much people in the python-dev cares about library design? i
admit the python language design is really really great but the stdlib is
totally forgotten.

Are those issues being considered right now? i cant find any PEP addressing
the issue especifically, at least cooking it for python 3000.

specific topics could be:

grouping related modules.
removing useless legacy modules.
refactoring duplicated functionality.
removing/redesigning poorly written modules.
adding a module versioning system.

.



Relevant Pages

  • Re: Whats so funny? WAS Re: rotor replacement
    ... statements like "the Python lib should have a module that does ... Standards in IETF and OMG ... The Python implementation is unsuitable for the stdlib because it's ... already enough available to satisfy an IETF-like standardization ...
    (comp.lang.python)
  • Re: Thoughts on some stdlib modules
    ... > And those thoughts comes to mind again, if python is such a great language ... > why does the stdlib is so bloated with duplication,bad bad library ... The full benefits and limitations of particular design decisions take ...
    (comp.lang.python)
  • Re: Whats so funny? WAS Re: rotor replacement
    ... user noticed that rotor was gone and wanted to know what to do instead. ... The issue of whether there's enough desire for a crypto module to ... that enough users want crypto to make having a stdlib ... I already did that with the Python implementation, ...
    (comp.lang.python)
  • Re: Why do Pythoneers reinvent the wheel?
    ... this code is not available in the stdlib. ... if you think of a python ... I'm gonna search google for another ini file round ... If such a "quick and dirty" section existed, ...
    (comp.lang.python)
  • Re: Hack with os.walk()
    ... scripting in python. ... It is perhaps the only part of the stdlib (note: ... actually considered writing a PEP requesting this, ... certainly looks like a big improvement over the scatterblast which the stdlib ...
    (comp.lang.python)