If I understand how it works correctly, if I pass it a path like "/home/quin" on Linux, it'll return #False because / isn't allowed in filenames on Windows...
This is also written in the docs:
I think it would be better if this function returned different results for all the different OSs, e.g. / shouldn't make it return false on Linux.Even if the syntax-check of this function doesn't complain, there are different 'forbidden' filenames on different OS. For example on Windows filenames containing "COM1" till "COM9", "LPT1" till "LPT9" or "aux" are not allowed. For more information see here.
