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"
On 8 February 2016 at 14:32, Victor Stinner
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