Commit Graph

33 Commits

Author SHA1 Message Date
Alex Waygood
5caaf2e1fb Fix stdlib stubtest for latest Python patch releases (#13464) 2025-02-05 23:33:27 +00:00
Stephen Morton
0969d25a1f Cleaning up os/posix module constants (#13134) 2024-11-28 06:23:44 +01:00
Max Muoto
ab55971e5f Add os.waitid and os.waitid_result for osx (#12391) 2024-07-20 21:19:36 -07:00
Max Muoto
5eaa400f2b Add POSIX_SPAWN_CLOSEFROM for 3.13 linux (#12386) 2024-07-20 20:59:46 -07:00
Max Muoto
f54427b660 Add timer notification functions for os/posix, 3.13 (#12378) 2024-07-20 13:39:10 -07:00
Max Muoto
304b8e9626 Add missing posix functions for 3.13 (#12375) 2024-07-20 12:26:35 -07:00
Amin Alaee
9916efae63 Update os. EX_NOTFOUND not available in Linux (#11461) 2024-02-26 09:36:33 +01:00
Sebastian Rittau
23604858a6 Remove Python 3.7 branches (#11238) 2024-01-05 11:39:39 +01:00
Nikita Sobolev
cc5b3f8bc4 Fix platform availability of some os/posix constants (#10831) 2023-10-03 15:20:00 +01:00
Amin Alaee
ac4f4a4c94 Add os.setns for Linux on Python 3.12+ (#10789) 2023-09-28 13:53:25 +02:00
Nikita Sobolev
9f4edca70e Update os and posix to python 3.12 on darwin (#10779) 2023-09-26 09:46:29 +02:00
Amin Alaee
9e79a100b3 Add os.splice and flags on Linux for Python 3.10+ (#10771) 2023-09-25 17:20:37 +02:00
Amin Alaee
e69545844b Add os.eventfd, os.eventfd_read and os.eventfd_write to Linux for Python 3.10+ (#10768)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-09-25 14:10:56 +01:00
Amin Alaee
0a92429627 Add os.unshare clone flags for Linux, Python 3.12+ (#10757) 2023-09-24 16:23:30 +01:00
Alex Waygood
20bc8fa4e3 Fix stubtest errors on macOS / Python 3.11 (#8743) 2022-09-15 15:27:42 -07:00
Alex Waygood
edc0ecd857 Remove Python 3.6 branches from typeshed (#8269) 2022-07-11 10:55:17 +02:00
Jelle Zijlstra
963b8aa2f7 add os.login_tty for 3.11 (#7800)
python/cpython#29658
2022-05-06 22:54:58 -07:00
Martin Fischer
352f5c3237 stdlib: Add os.copy_file_range(src, dst, count) 2022-03-06 15:57:52 -08:00
Martin Fischer
81a85f18b6 stdlib: Add os.pidfd_open(pid) 2022-03-06 15:57:52 -08:00
Alex Waygood
496313d875 Add various missing os constants (#6753) 2021-12-30 15:21:30 +02:00
Akuli
7155bdae63 Re-export more os functions in posix, tweak availability on linux (#6529) 2021-12-07 16:10:41 +01:00
Akuli
7225dfafcf add several re-exports to posix (#6495) 2021-12-05 08:45:24 -08:00
Akuli
ea3f962860 Move all definitions except environ from posix to os (#6442) 2021-12-01 17:07:33 +01:00
Akuli
6d54c10387 Make posix module empty on windows (#6427) 2021-11-28 07:54:30 -08:00
Alex Waygood
10c9d8cfce Add @final to many unsubclassable stdlib classes (#6299) 2021-11-15 14:45:24 +01:00
Akuli
994b69ef8f Use lowercase tuple where possible (#6170) 2021-10-14 17:18:19 -07:00
Akuli
ce11072dbe Big diff: use lower-case list and dict (#5888) 2021-08-08 09:26:35 -07:00
Akuli
ee487304d7 Big diff: Use new "|" union syntax (#5872) 2021-08-08 11:05:21 +02:00
an onion
f30d6f6fd0 Add stubs for posix_spawn and posix_spawnp (#5846) 2021-08-05 18:55:26 -07:00
hatal175
244fc622e6 Add workflow stubtests for macos (#5384)
* Add macos to stubtest

* Add general darwin stubtest exception file

* Adding exceptions and platform ifs
2021-05-09 23:24:00 +03:00
Sebastian Rittau
45916045c8 Upgrade black to 21.4b0 and reformat (#5250)
This introduces newlines before decorators.
2021-04-26 13:58:27 +02:00
Sebastian Rittau
bac1918b5f PathLike cleanup (#5242)
Copy builtins._PathLike to os.PathLike

Use os.PathLike exclusively outside of builtins
2021-04-23 10:15:07 -07:00
Ivan Levkivskyi
16ae4c6120 Re-organize directory structure (#4971)
See discussion in #2491

Co-authored-by: Ivan Levkivskyi <ilevkivskyi@dropbox.com>
2021-01-27 12:00:39 +00:00