Repository navigation
Commit 3838468
authored
Add fcntl.F_DUPFD_QUERY on Linux (#16436)
Python 3.14 exposes `F_DUPFD_QUERY` in `fcntl` on Linux, but the stub
did not declare it, so type checkers rejected its use.
- Declare it for Python 3.14 and later on Linux
- Allowlist it as optional for stubtest, since the GitHub Actions
runners build against a glibc that lacks the macro1 parent 249fa03 commit 3838468
2 files changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
124 | 127 | | |
125 | 128 | | |
126 | 129 | | |
| |||
0 commit comments