[Python-3000] [Python-Dev] Filename as byte string in python 2.6 or 3.0?
James Y Knight
foom at fuhm.net
Wed Oct 1 02:38:45 CEST 2008
On Sep 30, 2008, at 5:51 PM, Martin v. Löwis wrote:
> While I can sympathize with people having non-ASCII file names on
> disks, I can't sympathize with this example. Normal users just don't
> put \x90 into their command lines, and those who do deserve the error
> message they get.
That's just not true! One of the most common kind of thing to put on a
command line is a filename.
And you can't say that users wouldn't be able to type the odd
bytesequences: tab completion and xargs will both allow input of those
oddly-named files to the command line.
More information about the Python-3000