20 Aug
2014
20 Aug
'14
5:01 a.m.
Greg Ewing writes:
Stephen J. Turnbull wrote:
This case can be handled now using the surrogateescape error handler,
So maybe the way to make bytes paths go away is to always use surrogateescape for paths on unix?
Backward compatibility rules that out, I think. I certainly would recommend that for new code, but even for new code there are many users who vehemently object to using Unicode as an intermediate representation of things they think of as binary blobs. Not worth the hassle to even seriously propose removing those APIs IMO.