(original) (raw)
On Tue, Apr 12, 2016 at 9:32 AM, Koos Zevenhoven <k7hoven@gmail.com> wrote:
-- > 1) A "proper" path object -- i.e. pathlib.Path or anything else that
\> supports the path protocol.
\>
\> 2) the bytes that the OS actually needs.
\>
You do have a point there. But since bytes pathnames are deprecated on
windows,
Ah -- there's the fatal flaw -- even Windows needs bytes at the lowest level, but the decision was already made there to use str as the the lingua-franca -- i.e. the user NEVER sees a path as a bytestring on Windows? I guess that's decided then. str is the exchange format.
-CHB
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chris.Barker@noaa.gov