◐ Shell
clean mode source ↗

Message 162169 - Python tracker

Ahh okay, sorry for the triple post, I have an idea.  On UNIX, the function should accept any character except: \0 /, and on Windows should accept any character except: \0 \ / : * ? " < > |  On classic Macintosh, : is invalid.  However, I do not know what characters are valid on other systems.  (I believe Mac OS X is the same as UNIX, but am not sure.)

Included is a patch with FILENAME_CHARS left in in case anything still needs it.