Skip to content

Updates from Python SVN, Part 9

The urlopen function of urllib2 now has an optional timeout parameter (note that it actually works with HTTP, HTTPS, FTP and FTPS connections). The OpenerDirector.open() method does too.

sha, md5, mimify, MimeWriter, cfmfile and buildtools modules now raise a DeprecationWarning upon import.

The platform module now supports TurboLinux, Windows Vista and Windows 2008 Server.

The support for AtheOS has stopped and it will cause a build error in configure for the platform.

2 Comments

  1. Stan wrote:

    I haven’t been following things very closely. Why are md5 and sha being deprecated? Those seem like useful modules.

    Sunday, June 17, 2007 at 12:51 pm | Permalink
  2. Lawrence wrote:

    They both have already been replaced by the hashlib module http://docs.python.org/lib/module-hashlib.html

    Sunday, June 17, 2007 at 1:21 pm | Permalink

Additional comments powered by BackType