Commit Graph

1106 Commits

Author SHA1 Message Date
Nikita Sobolev
48d4f7a6a5 Add winreg.HKEYType.handle property (#10848) 2023-10-06 19:20:12 +01:00
Nikita Sobolev
a12b2053cd Add SetErrorMode to msvcrt module (#10842) 2023-10-05 22:06:11 +01:00
Nikita Sobolev
cc5b3f8bc4 Fix platform availability of some os/posix constants (#10831) 2023-10-03 15:20:00 +01:00
Alex Waygood
860e34eec9 Fix allowlist entries in asyncio.windows_events (#10824)
And fix the return value of return value of `IocpProactor.recvfrom_into()`, which was incorrect

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2023-10-02 16:04:11 +01:00
Alex Waygood
54d825af59 Fix Windows-specific allowlist entries in _msi, msilib, selectors and subprocess (#10822) 2023-10-02 13:01:47 +02:00
Nikita Sobolev
07e611d41f select.POLLRDHUP does not exist on macos (#10823) 2023-10-02 11:59:29 +01:00
Nikita Sobolev
66d183fc56 mimetypes.MimeTypes.read_windows_registry always exists (#10821) 2023-10-02 11:35:48 +01:00
Nikita Sobolev
b3b5661f80 Add DefaultSelector.fileno on platforms where it exists (#10820) 2023-10-02 11:15:49 +01:00
Alex Waygood
205cfcfca6 Fix availability of some constants for Windows (#10818) 2023-10-01 16:27:55 -07:00
Alex Waygood
efa7a51d09 Add a few missing things on Windows, py310+ (#10817) 2023-10-01 23:30:44 +01:00
Nikita Sobolev
bd4462cc62 Re-export SYSPROTO_CONTROL and PF_SYSTEM in socket on macos (#10814) 2023-10-01 15:38:44 +01:00
Nikita Sobolev
460fa14dfc Fix curses.color_pair signature (#10811)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-09-30 20:58:37 +01:00
Nikita Sobolev
16b9884601 Fix _posixsubprocess module for python3.12 (#10809) 2023-09-30 17:51:33 +01:00
Nikita Sobolev
4c5d3e5ad2 Some curses functions were removed in 3.12 for macos (#10808) 2023-09-30 11:28:09 +02:00
Nikita Sobolev
398b31de92 Removed unused sections from allowlists (#10804) 2023-09-29 22:53:45 +01:00
Nikita Sobolev
ec69d98778 locale: Remove some hopefully-unnecessary allowlist entries for macos-3.10 (#10805) 2023-09-29 22:44:40 +01:00
Nikita Sobolev
7cf1fed75d Fix sigtimedwait and sigwaitinfo signature (#10803) 2023-09-29 12:38:14 -07:00
Nikita Sobolev
1ac5b7b1ac Add x_exports to xxlimited (#10802) 2023-09-29 10:54:58 +02:00
Amin Alaee
4ea52b3bcf Update resource.prlimit for Python 3.12+ (#10794)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-09-28 13:59:51 +01:00
Amin Alaee
ac4f4a4c94 Add os.setns for Linux on Python 3.12+ (#10789) 2023-09-28 13:53:25 +02:00
Amin Alaee
c6161f7108 Limit os.sendfile arguments based on platform (#10790) 2023-09-28 13:36:25 +02:00
Nikita Sobolev
c9835481e3 Add MAP_STACK to mmap module (#10792)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-09-28 11:12:41 +01:00
Amin Alaee
99ce091f17 Make os.setresuid and os.setresgid positional-only (#10791) 2023-09-28 10:10:21 +01:00
Nikita Sobolev
4dad5311d5 Update tty to python 3.12 (#10784) 2023-09-27 11:15:32 +02:00
Nikita Sobolev
b23042e854 ssl.OP_ENABLE_KTLS should exist on linux (#10778) 2023-09-26 09:48:00 +02:00
Nikita Sobolev
9f4edca70e Update os and posix to python 3.12 on darwin (#10779) 2023-09-26 09:46:29 +02:00
Nikita Sobolev
df2efe6102 Update fcntl to python 3.12 (#10774) 2023-09-25 10:38:48 -07: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
Ali Hamdan
c5dde1e720 Add optional requires_python field to third-party stubs metadata (#10724)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-09-24 18:39:12 +01:00
Amin Alaee
0a92429627 Add os.unshare clone flags for Linux, Python 3.12+ (#10757) 2023-09-24 16:23:30 +01:00
Amin Alaee
8c4dd38840 Make syslog setlogmask, LOG_MASK and LOG_UPTO positional-only (#10756)
Make syslog setlogmask, LOG_MASK, LOG_UPTO positional-only
2023-09-24 11:23:11 +01:00
Alex Waygood
e40b5be2ea Speedup regr_test.py by running test cases concurrently (#10714) 2023-09-23 15:39:24 +01:00
Amin Alaee
96eaa767dd Update os on Windows, Python3.12+ (#10749)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-09-22 16:12:50 +01:00
Amin Alaee
6dfa285230 Add os.EX_OK on Windows, Python 3.11+ (#10748) 2023-09-22 12:51:22 +01:00
Alex Waygood
53422f8918 pytype_test.py: Handle non-typeshed requirements that are stub-only packages (#10723) 2023-09-20 20:03:01 +01:00
Alex Waygood
8597724ac1 Update typing_extensions stubs for v4.8.0 (#10726) 2023-09-18 11:30:28 +01:00
Alex Waygood
487e33112e Bump various test dependencies (#10693) 2023-09-11 14:18:48 +01:00
Alex Waygood
23249c07a9 Update enum for py312 (#10670) 2023-09-11 11:26:18 +01:00
Alex Waygood
a570fb6ced Fix various stubtest complaints on Python 3.12 (#10691) 2023-09-10 14:54:43 -07:00
Alex Waygood
6dda2fe9c8 Fix stubtest complaints for various .get() methods (#10690) 2023-09-10 14:48:09 -07:00
Alex Waygood
c50a708818 Update poplib and smtplib for py312 (#10685) 2023-09-08 18:42:03 +01:00
Nikita Sobolev
53144ca572 Update importlib.metadata to 3.12 (#10665) 2023-09-08 12:42:56 +01:00
Alex Waygood
35a9ed40da Delete unused allowlist entries (#10676)
3.12.0rc2 was just released
2023-09-07 02:30:54 +01:00
Alex Waygood
fecb84eb05 Update asyncio.tasks for py312 (#10669)
Co-authored-by: Sebastian Rittau <srittau@rittau.biz>
2023-09-06 12:35:48 +01:00
Alex Waygood
af97a12a87 Add a lint forbidding PEP-570 syntax (#10660) 2023-09-04 15:37:50 -07:00
Alex Waygood
433204fb8f py312: Fix stubtest nits in typing/typing_extensions (#10659) 2023-09-04 15:39:11 +01:00
Nikita Sobolev
d868dad76b Update importlib.metadata to 3.12 (#10654) 2023-09-03 09:47:19 +01:00
Nikita Sobolev
d13d9859f6 Update zipfile to 3.12 (#10647)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-09-02 16:01:41 +01:00
Nikita Sobolev
f0ba5ba2a2 Update unittest.mock to 3.12 (#10650)
And harmonise some annotations between the stdlib `unittest.mock` module and the third-party `mock` backport package.

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-09-02 15:03:39 +01:00