[issue7512] shutil.copystat may fail EOPNOTSUPP

2012-10-16 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ok, thanks. -- resolution: accepted -> fixed status: open -> closed ___ Python tracker ___ ___ Python

[issue7512] shutil.copystat may fail EOPNOTSUPP

2012-10-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Tests added in issue14662. This issue can be closed. -- nosy: +serhiy.storchaka status: pending -> open ___ Python tracker ___

[issue7512] shutil.copystat may fail EOPNOTSUPP

2010-03-22 Thread Antoine Pitrou
Antoine Pitrou added the comment: I committed the simple patch in r79299 (trunk), r79300 (2.6), r79301 (py3k), r79302 (3.1). Tarek suggested a test could be added for this, assigning the issue to him. -- assignee: pitrou -> tarek nosy: +tarek stage: commit review -> committed/rejected

[issue7512] shutil.copystat may fail EOPNOTSUPP

2010-03-17 Thread Joerg Sonnenberger
Joerg Sonnenberger added the comment: A better approach might be to change the function to: def copystat(src, dst): st = os.stat(src) st_dst = os.stat(dst) mode = stat.S_IMODE(st.st_mode) mode_dst = stat.S_IMODE(st_dst.st_mode) if hasattr(os, 'utime'): if st.st_atime != st_dst.st_

[issue7512] shutil.copystat may fail EOPNOTSUPP

2010-03-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: Barry, I suppose this doesn't warrant being a release blocker for 2.6.5, but in any case you're welcome to advise. -- nosy: +barry ___ Python tracker _

[issue7512] shutil.copystat may fail EOPNOTSUPP

2010-03-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: For the record, this seems to break Mercurial on NFS-mounted repositories: http://www.selenic.com/pipermail/mercurial/2010-March/030716.html -- ___ Python tracker _

[issue7512] shutil.copystat may fail EOPNOTSUPP

2010-03-17 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- assignee: -> pitrou nosy: +pitrou resolution: -> accepted stage: -> commit review ___ Python tracker ___

[issue7512] shutil.copystat may fail EOPNOTSUPP

2009-12-14 Thread Kuang-che Wu
New submission from Kuang-che Wu : "flags" is only supported on certain OS. FreeBSD is one of them. FreeBSD itself support chflags but not all of its file systems do. On FreeBSD, copystat() will fail on zfs. The exception is OSError and errno is EOPNOTSUPP. According to manpage chflags(2), the e