Message143105
2011/8/28 Antoine Pitrou <report@bugs.python.org>:
>
> Antoine Pitrou <pitrou@free.fr> added the comment:
>
> Is it normal that listxattr() succeeds but getxattr() fails with ENOTSUPP?
>
>>>> os.listxattr("/")
> []
>>>> os.getxattr("/", "foo")
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> OSError: [Errno 95] Operation not supported
The reason you're getting ENOSUP is you have to use the proper prefix.
"user.*" for example. |
|
Date |
User |
Action |
Args |
2011-08-28 16:40:42 | benjamin.peterson | set | recipients:
+ benjamin.peterson, pitrou, Arfrever, neologix |
2011-08-28 16:40:42 | benjamin.peterson | link | issue12720 messages |
2011-08-28 16:40:42 | benjamin.peterson | create | |
|