[issue13104] urllib.request.thishost() returns a garbage value

2011-10-06 Thread Stefan Krah
Stefan Krah added the comment: /etc/hosts was incomplete; works fine now. Closing again. -- resolution: -> fixed stage: test needed -> committed/rejected status: open -> closed ___ Python tracker

[issue13104] urllib.request.thishost() returns a garbage value

2011-10-05 Thread Stefan Krah
Changes by Stefan Krah : -- nosy: +skrah ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org

[issue13104] urllib.request.thishost() returns a garbage value

2011-10-05 Thread Senthil Kumaran
Senthil Kumaran added the comment: hmm. interesting case in FreeBSD. Looks like socket.gethostname() did not return the hostname in freebsd buildbot. -- ___ Python tracker ___

[issue13104] urllib.request.thishost() returns a garbage value

2011-10-05 Thread STINNER Victor
Changes by STINNER Victor : -- resolution: fixed -> status: closed -> open ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue13104] urllib.request.thishost() returns a garbage value

2011-10-05 Thread STINNER Victor
STINNER Victor added the comment: There is a failure on FreeBSD 8.2 buildbot: http://www.python.org/dev/buildbot/all/builders/AMD64%20FreeBSD%208.2%203.x/builds/1104/steps/test/logs/stdio == ERROR: test_thishost (test.test_url

[issue13104] urllib.request.thishost() returns a garbage value

2011-10-05 Thread Senthil Kumaran
Senthil Kumaran added the comment: Thanks for the report. This is fixed now. I hope in 3.3 I remove this old utility functions. (real soon). -- assignee: -> orsenthil resolution: -> fixed status: open -> closed ___ Python tracker

[issue13104] urllib.request.thishost() returns a garbage value

2011-10-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 805a0a1e3c2b by Senthil Kumaran in branch '3.2': Issue13104 - Fix urllib.request.thishost() utility function. http://hg.python.org/cpython/rev/805a0a1e3c2b New changeset a228e59ad693 by Senthil Kumaran in branch 'default': merge from 3.2. Issue131

[issue13104] urllib.request.thishost() returns a garbage value

2011-10-04 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti stage: patch review -> test needed ___ Python tracker ___ ___ Python-bugs-list mailin

[issue13104] urllib.request.thishost() returns a garbage value

2011-10-04 Thread Ned Deily
Changes by Ned Deily : -- nosy: +orsenthil stage: -> patch review versions: +Python 3.3 ___ Python tracker ___ ___ Python-bugs-list m

[issue13104] urllib.request.thishost() returns a garbage value

2011-10-04 Thread Deokhwan Kim
New submission from Deokhwan Kim : There is a minor typo in Lib/urllib/request.py:thishost(). Because of it, the thishost() function is returning a garbage value: >>> import urllib.request >>> urllib.request.thishost() ('XXX.X.XXX.com', ['X.X.XXX.com'], ['123.45.67.89']) It i