On Tuesday, August 19, 2014, Stephen J. Turnbull <<a href="mailto:stephen@xemacs.org">stephen@xemacs.org</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Greg Ewing writes:<br>
 > Stephen J. Turnbull wrote:<br>
 ><br>
 > > This case can be handled now using the surrogateescape<br>
 > > error handler,<br>
 ><br>
 > So maybe the way to make bytes paths go away is to always<br>
 > use surrogateescape for paths on unix?<br>
<br>
Backward compatibility rules that out, I think.  I certainly would<br>
recommend that for new code, but even for new code there are many<br>
users who vehemently object to using Unicode as an intermediate<br>
representation of things they think of as binary blobs.  Not worth the<br>
hassle to even seriously propose removing those APIs IMO.</blockquote><div><br></div><div>But maybe we don't have to add new ones?</div><br><div>--Guido</div><br><br>-- <br>--Guido van Rossum (on iPad)<br>