STINNER Victor added the comment: Could you also add a test using a IDNA domain not starting with XN--, but with XN-- in the middle? Example:
self.assertEqual(str(b"bugs.XN--pythn-mua.org.", "idna"), "bugs.pyth\xf6n.org.") And maybe also with mixed cases: Xn-- and xN-- prefixes. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19083> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com