Error copying a file
Krzysztof Stachlewski
stach at fr.USUN.pl
Fri Apr 16 17:06:12 EDT 2004
Peter Hansen wrote:
> Okay, any reason not to call this a bug in the Windows version of
> Python, when os.path.isfile can handle the name but Python can't
> open or copy the file?
Hmmm... isfile() apparently uses some OS functions that don't
check for valid characters in filenames.
If it is a bug then it is a bug within Windows.
But from the Windows point of view, a " in filename
is simply some piece of corrupted data so it can do anything with it.
It's good it doesn't display BSOD. ;-)
--
Stach Tlen: stachobywatelpl, GG: 1811474
Jabber: stach at jabber atman pl
More information about the Python-list
mailing list