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 gvanrossum
Recipients gvanrossum, pyptr2, vstinner, yselivanov
Date 2016-05-28.14:43:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CAP7+vJJ47CNH7ygUqsgV_oFtOvoQiWjrwJXLEqwKo83hgoDHrA@mail.gmail.com>
In-reply-to <1464443709.1.0.601222402886.issue27136@psf.upfronthosting.co.za>
Content
> Why validate at all?

Because (at least for the IP 4/6 protocols) when you give a host name
Python's socket code will do a synchronous DNS lookup which would hold
up the entire event loop until it's done. This would be a major
problem in some cases, so we want to disallow it completely.
History
Date User Action Args
2016-05-28 14:43:00gvanrossumsetrecipients: + gvanrossum, vstinner, yselivanov, pyptr2
2016-05-28 14:43:00gvanrossumlinkissue27136 messages
2016-05-28 14:43:00gvanrossumcreate