Demian Brecht added the comment: Thanks for the report and follow up Vova. I've come across this line and it puzzled me as well as to why it's hardcoded. Rather than the hardcoded approach in your patch, I've attached a patch that uses _http_vsn_str which is consistent with other areas of the library.
Additionally, I noticed that a failure will occur if the destination address contains characters outside of ASCII range, so I've added support for IDN. I assume that the patch should be committed to tip and maintenance branches as both issues are bugs (there is IDN support elsewhere in the library). ---------- nosy: +demian.brecht stage: resolved -> patch review versions: -Python 3.2, Python 3.3 Added file: http://bugs.python.org/file38808/issue22708.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22708> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com