Westley Martínez <aniko...@gmail.com> added the comment: 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. ---------- Added file: http://bugs.python.org/file25802/cpython-14937.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue14937> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com