[Python-Dev] Bytes path support
Guido van Rossum
guido at python.org
Wed Aug 20 07:06:03 CEST 2014
On Tuesday, August 19, 2014, Stephen J. Turnbull <stephen at xemacs.org> wrote:
> 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.
But maybe we don't have to add new ones?
--Guido van Rossum (on iPad)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-Dev