Skip to content

Add more constants and attributes to posix #4552

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

Merged
merged 3 commits into from
Sep 20, 2020
Merged

Conversation

srittau
Copy link
Collaborator

@srittau srittau commented Sep 17, 2020

The constants were found by running dir(posix) on a Debian 10.5 (x86_64)
system.

Also mark module as incomplete.

Partly addresses #616.

The constants were found by running dir(posix) on a Debian 10.5 (x86_64)
system.

Also mark module as incomplete.

Partly addresses python#616.
Copy link
Collaborator

@hauntsaninja hauntsaninja left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I'm not sure we should mark with __getattr__... it looks to me like the stub is mostly complete, so a) this would cause false negatives on typos, b) false positives are rare and to the extent that they lead to contributions are good. The linked issue predates many sizable contributions to this stub.

@hauntsaninja hauntsaninja merged commit 5d467a7 into python:master Sep 20, 2020
@srittau srittau deleted the posix branch September 20, 2020 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants