[issue15009] urlsplit can't round-trip relative-host urls.

2012-06-07 Thread Ankit Toshniwal
Ankit Toshniwal ankitoshni...@gmail.com added the comment: Hello, Did some initial investigation, so looks like as per the code in parse.py, under the function urlunsplit, we take the 5-tuple returned by urlsplit . In the case of foo we get: SplitResult(scheme='yelp', netloc='', path='/foo

[issue5004] socket.getfqdn() doesn't cope properly with purely DNS-based setups

2012-06-07 Thread Ankit Toshniwal
Ankit Toshniwal ankitoshni...@gmail.com added the comment: I cannot reproduce this issue. I just tested this on my mac. atoshniw@prusev-mn:~/Documents/code/python-dev/bin #hostname -f prusev-mn.helloworld.com atoshniw@prusev-mn:~/Documents/code/python-dev/bin #python Python 2.6.1 (r261:67515