10000 `cffi`: run stubtest on Windows by Avasam · Pull Request #9178 · python/typeshed · GitHub
[go: up one dir, main page]

Skip to content

cffi: run stubtest on Windows #9178

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 2 commits into from
Nov 12, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
RTLD_DEEPBIND
  • Loading branch information
Avasam committed Nov 12, 2022
commit 862154e0d5949f0cd7ba8f53027efbf1addc3e6a
2 changes: 1 addition & 1 deletion stubs/cffi/METADATA.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ version = "1.15.*"

[tool.stubtest]
ignore_missing_stub = false
# linux and darwin are equivalent
# linux and darwin are mostly equivalent, except for a single `RTLD_DEEPBIND` variable
platforms = ["linux", "win32"]
3 changes: 2 additions & 1 deletion stubs/cffi/_cffi_backend.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ RTLD_GLOBAL: int
RTLD_LAZY: int
RTLD_LOCAL: int
RTLD_NOW: int
if sys.platform != "win32":
if sys.platform == "linux":
RTLD_DEEPBIND: int
if sys.platform != "win32":
RTLD_NODELETE: int
RTLD_NOLOAD: int

Expand Down
0