[Python-Dev] Bytes path support
Stephen J. Turnbull
stephen at xemacs.org
Wed Aug 20 07:01:10 CEST 2014
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.
More information about the Python-Dev