]> granicus.if.org Git - python/commit
Fix thishost helper funtion in urllib. Returns the ipaddress of localhost when
authorSenthil Kumaran <senthil@uthcode.com>
Sat, 1 Jun 2013 18:12:17 +0000 (11:12 -0700)
committerSenthil Kumaran <senthil@uthcode.com>
Sat, 1 Jun 2013 18:12:17 +0000 (11:12 -0700)
commitdcdadfe39afd9b7cddf1e20efa37babdad61ff77
tree1c1c9c64efd8ee8bf533bb1c98cb05d451d6ddcf
parent4e42ae81f6a45f40a3f6a64192575bfc44f61bdb
Fix thishost helper funtion in urllib. Returns the ipaddress of localhost when
hostname is resolvable by socket.gethostname for local machine. This all fixes
certain freebsd builtbot failures.
Lib/urllib/request.py