Ramchandra Apte maniandra...@gmail.com added the comment:
Bump.
--
nosy: +ramchandra.apte
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1675455
___
Changes by Senthil Kumaran orsent...@gmail.com:
--
assignee: facundobatista - orsenthil
nosy: -BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1675455
___
Mark Lawrence breamore...@yahoo.co.uk added the comment:
@Senthil should this be assigned to your good self?
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1675455
___
Changes by Terry J. Reedy tjre...@udel.edu:
--
versions: +Python 3.2 -Python 2.6, Python 3.0
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1675455
___
Changes by Skip Montanaro s...@pobox.com:
--
nosy: -skip.montanaro
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1675455
___
___
Python-bugs-list
Ned Deily n...@acm.org 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 rep...@bugs.python.org
http://bugs.python.org/issue1675455
Derek Morr derekm...@psu.edu 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
Derek Morr derekm...@psu.edu 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.
Senthil orsent...@gmail.com 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
Derek Morr derekm...@psu.edu 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
Senthil orsent...@gmail.com 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
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
drawback
Changes by Senthil [EMAIL PROTECTED]:
--
type: - feature request
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1675455
___
___
Python-bugs-list
Changes by Christian Heimes:
--
versions: +Python 2.6, Python 3.0
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1675455
_
___
Python-bugs-list mailing list
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,
Changes by Skip Montanaro:
--
nosy: +skip.montanaro
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1675455
_
___
Python-bugs-list mailing list
Unsubscribe:
16 matches
Mail list logo