On 3/18/2016 11:26 AM, Marko Rauhamaa wrote:

There's no problem providing pure Unicode strings. Things get iffy when
Python's OS abstraction pretends sys.stdin is text or filenames are
strings.

On Windows, filenames are arrays of wide chars, not bytes, and are better modeled as 3.x strings rather than bytes. Hence, on Windows, the bytes API to filenames has been deprecated. The unix situation is different.

--
Terry Jan Reedy

--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to