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 baikie
Recipients baikie, flox, gdamjan, loewis, orsenthil, vstinner
Date 2010-08-23.22:47:41
SpamBayes Score 3.4399113e-06
Marked as misclassified No
Message-id <20100823224746.GA5500@dbwatson.ukfsn.org>
In-reply-to <1282505760.68.0.355809415426.issue1027206@psf.upfronthosting.co.za>
Content
> Thanks for the patch. Committed as r84261.
> 
> I'm not sure what the point is of supporting IDNA in getnameinfo, so I have removed that from the patch. If you think it's needed, please elaborate.

I don't see the point of it either, but if it's not supposed to
accept hostnames, it should use AI_NUMERICHOST in the call it
makes to getaddrinfo().  As it is, it does both forward and
reverse lookups when called with a hostname.

Attaching a patch to use AI_NUMERICHOST.

Also, this issue # isn't really resolved yet as Python does not
support IRIs (AFAIK).
Files
File name Uploaded
getnameinfo-numerichost.diff baikie, 2010-08-23.22:47:41
History
Date User Action Args
2010-08-23 22:47:43baikiesetrecipients: + baikie, loewis, orsenthil, vstinner, gdamjan, flox
2010-08-23 22:47:42baikielinkissue1027206 messages
2010-08-23 22:47:42baikiecreate