[issue1675455] Use getaddrinfo() in urllib2.py for IPv6 support

2012-07-20 Thread Ramchandra Apte
Ramchandra Apte added the comment: Bump. -- nosy: +ramchandra.apte ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue1675455] Use getaddrinfo() in urllib2.py for IPv6 support

2010-11-22 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- assignee: facundobatista -> orsenthil nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-lis

[issue1675455] Use getaddrinfo() in urllib2.py for IPv6 support

2010-09-16 Thread Mark Lawrence
Mark Lawrence added the comment: @Senthil should this be assigned to your good self? -- nosy: +BreamoreBoy ___ Python tracker ___ _

[issue1675455] Use getaddrinfo() in urllib2.py for IPv6 support

2010-07-10 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.2 -Python 2.6, Python 3.0 ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue1675455] Use getaddrinfo() in urllib2.py for IPv6 support

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue1675455] Use getaddrinfo() in urllib2.py for IPv6 support

2009-03-31 Thread Ned Deily
Ned Deily added the comment: Note also Issue5625 - any work for IPv6 should keep in mind that local hosts may have more than one IP address. -- nosy: +nad ___ Python tracker

[issue1675455] Use getaddrinfo() in urllib2.py for IPv6 support

2009-01-01 Thread Senthil
Senthil added the comment: > I am a little confused by this though. It looks like > FileHandler.file_open() checks if there is a hostname in the URL, and > if so, uses FTPHandler instead. So why does FileHandler.open_local_file > check the hostname value? You are right. Even I had observed this

[issue1675455] Use getaddrinfo() in urllib2.py for IPv6 support

2009-01-01 Thread Derek Morr
Derek Morr added the comment: My understanding is that the FileHandler checks if the file:// URL contains the hostname or localhost IP of the local machine (isn't that what FileHandler.names is for?). So, shouldn't the following URLs all open the same file: file:///foo.txt file://localhost/f

[issue1675455] Use getaddrinfo() in urllib2.py for IPv6 support

2009-01-01 Thread Senthil
Senthil added the comment: Derek, This patch was along the lines that when IPv6 address is present, return the first address,which I assumed to be active address and would make the urllib2 work. I am not sure, if returning all the addresses would help and how would we define which address to

[issue1675455] Use getaddrinfo() in urllib2.py for IPv6 support

2009-01-01 Thread Derek Morr
Derek Morr added the comment: Question: Why does FTPHandler.ftp_open() try to resolve the hostname()? The hostname will be passed into connect_ftp(), then into urllib.ftpwrapper(), and eventually into ftplib.FTP.connect(), which is IPv6-aware. ___ Python t

[issue1675455] Use getaddrinfo() in urllib2.py for IPv6 support

2009-01-01 Thread Derek Morr
Derek Morr added the comment: Senthil, I don't think your gethost_addrinfo() function will work. On a v6- enabled machine, it will only return v6 or v4 names. Shouldn't it return both (since a machine could have both v4 and v6 addresses)? For example, on my machine, I have the following addre

[issue1675455] Use getaddrinfo() in urllib2.py for IPv6 support

2008-07-03 Thread Facundo Batista
Facundo Batista <[EMAIL PROTECTED]> added the comment: What I don't understand here is... if gethostbyname() lacks of IPv6 support, instead of creating a new function why not to add the functionality to that same function? Right now gethostbyname() is implemented in C, which would be the drawbac

[issue1675455] Use getaddrinfo() in urllib2.py for IPv6 support

2008-06-30 Thread Senthil
Changes by Senthil <[EMAIL PROTECTED]>: -- type: -> feature request ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list

[issue1675455] Use getaddrinfo() in urllib2.py for IPv6 support

2007-11-23 Thread Christian Heimes
Changes by Christian Heimes: -- versions: +Python 2.6, Python 3.0 _ Tracker <[EMAIL PROTECTED]> _ ___ Python-bugs-list mailing list

[issue1675455] Use getaddrinfo() in urllib2.py for IPv6 support

2007-09-24 Thread Senthil
Changes by Senthil: _ Tracker <[EMAIL PROTECTED]> _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/py

[issue1675455] Use getaddrinfo() in urllib2.py for IPv6 support

2007-09-24 Thread Senthil
Senthil added the comment: Hi, The patch attached required a complete rewrite. I am attaching the modified patch, which will just substitute socket.gethostbyname with a function gethost_addrinfo which internally uses getaddrinfo and takes care of the IPv4 or IPv6 addresses translation. jjlee, sk

[issue1675455] Use getaddrinfo() in urllib2.py for IPv6 support

2007-08-30 Thread Skip Montanaro
Changes by Skip Montanaro: -- nosy: +skip.montanaro _ Tracker <[EMAIL PROTECTED]> _ ___ Python-bugs-list mailing list Unsubscribe: