Could we perhaps redefine bytes paths on Windows as utf8 and use Unicode 
everywhere internally?

I really don't like the idea of not being able to use bytes in cross platform 
code. Unless it's become feasible to use Unicode for lossless filenames on 
Linux - last I heard it wasn't.

Top-posted from my Windows Phone

-----Original Message-----
From: "Victor Stinner" <victor.stin...@gmail.com>
Sent: ‎2/‎9/‎2016 5:05
To: "Paul Moore" <p.f.mo...@gmail.com>
Cc: "Python Dev" <Python-Dev@python.org>
Subject: Re: [Python-Dev] Windows: Remove support of bytes filenames in theos 
module?

2016-02-08 19:26 GMT+01:00 Paul Moore <p.f.mo...@gmail.com>:
> On 8 February 2016 at 14:32, Victor Stinner <victor.stin...@gmail.com> wrote:
>> Since 3.3, functions of the os module started to emit
>> DeprecationWarning when called with bytes filenames.
>
> Everywhere? Or just on Windows? I can't tell from your email and I
> don't have a Unix system to hand to check.

I propose to only drop support for bytes filenames on Windows.

Victor
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/steve.dower%40python.org
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to