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.

classification
Title: documentation: os.setxattr() errno EEXIST and ENODATA
Type: behavior Stage: resolved
Components: Documentation Versions: Python 3.8
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: ZackerySpytz, docs@python, eric.smith, miss-islington, python-dev, w0rthle$$
Priority: normal Keywords: patch

Created on 2020-07-11 05:45 by w0rthle$$, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 25567 closed ZackerySpytz, 2021-04-23 22:56
PR 25742 merged python-dev, 2021-04-30 08:08
PR 25794 merged miss-islington, 2021-05-01 20:55
PR 25795 merged miss-islington, 2021-05-01 20:56
Messages (2)
msg373516 - (view) Author: Pablo Dumas (w0rthle$$) Date: 2020-07-11 05:45
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!
msg392637 - (view) Author: Eric V. Smith (eric.smith) * (Python committer) Date: 2021-05-01 20:54
Sorry, ZackerySpytz. I saw PR 25742 first and reviewed and merged it before I saw that you have an earlier PR on this issue.
History
Date User Action Args
2022-04-11 14:59:33adminsetgithub: 85449
2021-05-01 20:57:25eric.smithsetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2021-05-01 20:56:31miss-islingtonsetpull_requests: + pull_request24485
2021-05-01 20:55:49miss-islingtonsetnosy: + miss-islington
pull_requests: + pull_request24484
2021-05-01 20:54:52eric.smithsetnosy: + eric.smith
messages: + msg392637
2021-04-30 08:08:30python-devsetnosy: + python-dev
pull_requests: + pull_request24432
2021-04-23 22:56:45ZackerySpytzsetkeywords: + patch
nosy: + ZackerySpytz

pull_requests: + pull_request24286
stage: patch review
2020-09-19 18:51:40iritkatrielsetassignee: docs@python

components: + Documentation
nosy: + docs@python
2020-07-11 05:45:59w0rthle$$create