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 vstinner
Recipients alex, vstinner
Date 2014-11-13.13:05:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1415883929.16.0.506427402469.issue22861@psf.upfronthosting.co.za>
In-reply-to
Content
I worked around this issue by expecting a different error message on Python 2 and Python 3:
https://bitbucket.org/enovance/trollius/commits/be404685d3fd8ba008e1a577438dc6f23b01c63a?at=trollius

+        if compat.PY3:
+            err_msg = "hostname '127.0.0.1' doesn't match 'localhost'"
+        else:
+            # http://bugs.python.org/issue22861
+            err_msg = "hostname '127.0.0.1' doesn't match u'localhost'"
History
Date User Action Args
2014-11-13 13:05:29vstinnersetrecipients: + vstinner, alex
2014-11-13 13:05:29vstinnersetmessageid: <1415883929.16.0.506427402469.issue22861@psf.upfronthosting.co.za>
2014-11-13 13:05:29vstinnerlinkissue22861 messages
2014-11-13 13:05:28vstinnercreate