This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author larry
Recipients georg.brandl, larry, serhiy.storchaka
Date 2012-07-01.15:13:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1341155609.31.0.707694531282.issue15238@psf.upfronthosting.co.za>
In-reply-to
Content
3.3 adds the *xattr() extended attribute functions on Linux.  shutil implements a new internal function(_copyxattr) which copies these extended attributes.  However, it's only used in shutil.copy2().  I assert that shutil.copystat() should also preserve this metadata.  (Which, having subsumed this functionality, means that shutil.copy2() would no longer need to explicitly call it.)

Also: it might be worth considering taking the same approach _copyxattr uses for the other conditional functionality (see "def lookup" inside copystat).  Computing platform support at import time instead of runtime looks cleaner.

Georg, how much of this (if any) do you consider a 3.3 bugfix?
History
Date User Action Args
2012-07-01 15:13:29larrysetrecipients: + larry, georg.brandl, serhiy.storchaka
2012-07-01 15:13:29larrysetmessageid: <1341155609.31.0.707694531282.issue15238@psf.upfronthosting.co.za>
2012-07-01 15:13:28larrylinkissue15238 messages
2012-07-01 15:13:28larrycreate