Message373516
Shouldn't os.setxattr() errno EEXIST be when "XATTR_CREATE was specified, and the attribute exists already" and errno ENODATA be when "XATTR_REPLACE was specified, and the attribute does not exist."? In the current os module documentation, it's the other way around: "If XATTR_REPLACE is given and the attribute does not exist, EEXISTS will be raised. If XATTR_CREATE is given and the attribute already exists, the attribute will not be created and ENODATA will be raised."... Thanks! |
|
Date |
User |
Action |
Args |
2020-07-11 05:45:59 | w0rthle$$ | set | recipients:
+ w0rthle$$ |
2020-07-11 05:45:59 | w0rthle$$ | set | messageid: <1594446359.56.0.57719330174.issue41277@roundup.psfhosted.org> |
2020-07-11 05:45:59 | w0rthle$$ | link | issue41277 messages |
2020-07-11 05:45:59 | w0rthle$$ | create | |
|