How to waste computer memory?
Terry Reedy
tjreedy at udel.edu
Fri Mar 18 13:26:50 EDT 2016
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
More information about the Python-list
mailing list