Skip to content

gh-57187: add xattr support for FreeBSD and macOS #103994

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 15 commits into
base: main
Choose a base branch
from

Conversation

sorcio
Copy link
Contributor

@sorcio sorcio commented Apr 29, 2023

Add support for os.{get,set,list,remove}xattr on FreeBSD and macOS. I took the work that was started in #1690 and fixed merge conflicts and visible bugs.

Some decisions are still pending (discussion) so I'm opening as a draft for early feedback and CI runs.

To do:

  • run autoreconf
  • decide what to do with errnos
  • decide what to do with utf-8 encoding of attr names on Darwin
  • clean up constants / decide on which ones to expose
  • update all docs/docstrings
  • update blurb

worr and others added 5 commits March 2, 2018 23:39
Extended attributes are supported on FreeBSD, but have
a different API than on Linux. This implements a compatibility
layer so that the same set of python functions map to the
equivalent FreeBSD functions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants