[issue17244] py_compile.compile() fails to raise exceptions when writing of target file fails
Tim Golden
mail at timgolden.me.uk
Wed Apr 24 21:28:14 CEST 2013
Essentially: no. The permissions system in Windows is very different
from that of Unix. The CRT attempts to mimic it, but for things like
read-onlyness, it does so by setting the (old-style DOS) attributes.
These are only just meaningful for files, and are meaningless for
directories. (Or, strictly, have a different meaning since ISTR the
Explorer shell uses the readonly bit to indicate that a directory has
some special significance).
More information about the Python-bugs-list
mailing list