[issue14082] shutil doesn't copy extended attributes

Antoine Pitrou report at bugs.python.org
Sat May 5 19:51:25 CEST 2012


Antoine Pitrou <pitrou at free.fr> added the comment:

The copyxattr() function should be private (_copyxattr()).
For some reason the tests are failing here:

======================================================================
ERROR: test_copy2_xattr (test.test_shutil.TestShutil)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/antoine/cpython/default/Lib/test/test_shutil.py", line 410, in test_copy2_xattr
    os.setxattr(src, 'user.foo', b'42')
OSError: [Errno 95] Operation not supported

======================================================================
ERROR: test_copyxattr (test.test_shutil.TestShutil)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/antoine/cpython/default/Lib/test/test_shutil.py", line 296, in test_copyxattr
    os.setxattr(src, 'user.foo', b'42')
OSError: [Errno 95] Operation not supported

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14082>
_______________________________________


More information about the Python-bugs-list mailing list