Things that I would do if I was in charge of the Python StdLib
2009-08-24 9:36 am ∴ Thoughts ∴ by matt -

I realize that 99% of what I think would break 99% of all applications, but my dictatorship style is more of a slash and burn kind of style. Out with the old, in with the new.

  • Replace the crappy dom, minidom and pulldom libs with lxml.
    XML support in python has always been kind of crummy, but lxml really changes that. It’s fast, robust, and way better than other xml libs that have been around.
  • Remove Tkinter.
    It’s just taking up space.
  • Remove the stuff for reading and writing audio files.
    I don’t really understand why Python and other stdlibs (I’m looking at you Windows) include stuff for outputting and/or manipulating WAV files. Yet there’s no other format support. This is something that’s best handled by a 3rd party, IMO.
  • Replace telnetlib with an ssh library.
    I hope no one uses telnet anymore. I can’t remember the last time I had to telnet in to something
  • Add an encryption library to the “Cryptographic Services”
    It’s just hashlib and hmac right now.
  • I would also love for FTP to die, so replacing ftplib with an sftp lib might help facilitate that.

:)

Comments are closed.