Martin v. Löwis <mar...@v.loewis.de> added the comment: It's neither a bug nor a feature. It's simply not possible to copy the hidden flag (or system flag, for that matter), since there is no API for doing so. copystat only copies Unix attributes.
If you were to copy the hidden flag, you would also have to copy the read-only flag, the access control list, and possible alternative file streams. You better use the CopyFile API function of Windows for that. ---------- nosy: +loewis _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5168> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com