<div dir="auto"><div><div class="gmail_extra"><div class="gmail_quote">On Dec 31, 2017 7:37 AM, "Stephen J. Turnbull" <<a href="mailto:turnbull.stephen.fw@u.tsukuba.ac.jp">turnbull.stephen.fw@u.tsukuba.ac.jp</a>> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="quoted-text">Nathaniel Smith writes:<br>
<br>
 > Issue 1: Python's built-in IDNA implementation is wrong (implements<br>
 > IDNA 2003, not IDNA 2008).<br>
<br>
</div>Is "wrong" the right word here?  I'll grant you that 2008 is *better*,<br>
but typically in practice versions coexist for years.  Ie, is there no<br>
backward compatibility issue with registries that specified IDNA 2003?<br></blockquote></div></div></div><div dir="auto"><br></div><div dir="auto">Well, yeah, I was simplifying, but at the least we can say that always and only using IDNA 2003 certainly isn't right :-). I think in most cases the preferred way to deal with these kinds of issues is not to carry around an IDNA 2003 implementation, but instead to use an IDNA 2008 implementation with the "transitional compatibility" flag enabled in the UTS46 preprocessor? But this is rapidly exceeding my knowledge.</div><div dir="auto"><br></div><div dir="auto">This is another reason why we ought to let users do their own IDNA handling if they want...</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
This is not entirely an idle question: I'd like to tool up on the<br>
RFCs, research existing practice (especially in the East/Southeast Asian<br>
registries), and contribute to the implementation if there may be an<br>
issue remaining.  (Interpreting RFCs is something I'm reasonably good<br>
at.)<br>
</blockquote></div><br></div><div class="gmail_extra" dir="auto">Maybe this is a good place to start:</div><div class="gmail_extra" dir="auto"><br></div><div class="gmail_extra" dir="auto"><a href="https://github.com/kjd/idna/blob/master/README.rst">https://github.com/kjd/idna/blob/master/README.rst</a><br></div><div class="gmail_extra" dir="auto"><br></div><div class="gmail_extra" dir="auto">-n</div><div class="gmail_extra" dir="auto"><br></div><div class="gmail_extra" dir="auto">[Sorry if my quoting is messed up; posting from my phone and Gmail for Android apparently generates broken text/plain.]</div></div></div>