Skip to content
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

Missing UF_ and SF_ flags in Lib/stat.py #113666

Open
ronaldoussoren opened this issue Jan 2, 2024 · 1 comment
Open

Missing UF_ and SF_ flags in Lib/stat.py #113666

ronaldoussoren opened this issue Jan 2, 2024 · 1 comment
Labels
OS-mac type-feature A feature request or enhancement

Comments

@ronaldoussoren
Copy link
Contributor

ronaldoussoren commented Jan 2, 2024

Feature or enhancement

Proposal:

The list of UF_ and SF_ constants is missing a number definitions from recent versions of macOS, in particular:

  • meta constants: UF_SETTABLE, SF_SUPPORTED, SF_SETTABLE, SF_SYNTHETIC
  • UF_TRACKED
  • UF_DATAVAULT
  • SF_RESTRICTED
  • SF_FIRMLINK
  • SF_DATALESS

Has this already been discussed elsewhere?

This is a minor feature, which does not need previous discussion elsewhere

Links to previous discussion of this feature:

No response

Linked PRs

@ronaldoussoren ronaldoussoren added type-feature A feature request or enhancement OS-mac labels Jan 2, 2024
@ronaldoussoren
Copy link
Contributor Author

I'm not sure what to do about the "meta" flags, these are fairly Mac specific, but can be useful.

Also note that #4912 adds most of these.

ronaldoussoren added a commit to ronaldoussoren/cpython that referenced this issue Jan 2, 2024
Add some constants to module 'stat' that are used on macOS.
ronaldoussoren added a commit to ronaldoussoren/cpython that referenced this issue Jan 4, 2024
ronaldoussoren added a commit to ronaldoussoren/cpython that referenced this issue Jan 7, 2024
ronaldoussoren added a commit to ronaldoussoren/cpython that referenced this issue Jan 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OS-mac type-feature A feature request or enhancement
Projects
None yet
Development

No branches or pull requests

1 participant