This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author orsenthil
Recipients dcantrell-rh, dmorr, facundobatista, jjlee, orsenthil, skip.montanaro
Date 2009-01-02.03:49:46
SpamBayes Score 5.5306623e-06
Marked as misclassified No
Message-id <1230868188.52.0.491593071134.issue1675455@psf.upfronthosting.co.za>
In-reply-to
Content
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 use?

AI_CANONNAME flag, I don't accurately remember it now. But I had
encountered issues when testing on IPv-4 systems without it.

I am having different opinion on this issue now.

First is, taking from Facundo's comment on having this functionality in
gethostbyname() and implementing it in C. 

Second is, the wrapper function and suitable way needs to be defined.

I am sorry, I fail to understand the question on why ftp_open does
hostname resolution. You mean to say without it, if we pass it to
ftplib.FTP.connect() it would work for IPv6 address?
History
Date User Action Args
2009-01-02 03:49:48orsenthilsetrecipients: + orsenthil, skip.montanaro, facundobatista, jjlee, dcantrell-rh, dmorr
2009-01-02 03:49:48orsenthilsetmessageid: <1230868188.52.0.491593071134.issue1675455@psf.upfronthosting.co.za>
2009-01-02 03:49:47orsenthillinkissue1675455 messages
2009-01-02 03:49:46orsenthilcreate