<div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">However, it is &quot;mission creep&quot;: Martin didn&#39;t volunteer to<br>


write a PEP for it, he volunteered to write a PEP to solve the<br>
&quot;roundtrip the value of os.listdir()&quot; problem.  And he succeeded, up<br>
to some minor details.</blockquote><div><br>Yes, it solves that problem.  But that doesn&#39;t come without cost.<br><br>Most importantly, now Python writes illegal UTF-8 strings even if the user chose a UTF-8 encoding.   That means that illegal UTF-8 encodings can propagate anywhere, without warning.<br>

<br>Furthermore, I don&#39;t believe that PEP 383 works consistently on Windows, and it causes programs to behave differently in unintuitive ways on Windows and Linux.<br><br>I&#39;ll suggest an alternative in a separate message.<br>

</div><br>Tom<br></div><br>