python 2.7.12 on Linux behaving differently than on Windows

Marko Rauhamaa marko at pacujo.net
Fri Dec 9 00:52:33 EST 2016


Random832 <random832 at fastmail.com>:

> On Thu, Dec 8, 2016, at 20:38, Dennis Lee Bieber wrote:
>> 	In the original 8.3 scheme -- no files "contained" a dot
>
> Yes, but they do now, and the compatibility quirks persist.

When porting a Python program to Windows, I noticed the filename "aux"
is not allowed in Windows. I suspect it's the same with "lst", "prn",
"con" and what not.

In Linux, "." and ".." are taboo. So is "".


Marko


More information about the Python-list mailing list