Skip to content

Commit a0e0bb2

Browse files
authored
Merge branch 'main' into main
2 parents c1beb06 + 27ec4c8 commit a0e0bb2

93 files changed

Lines changed: 1646 additions & 838 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

stdlib/@tests/stubtest_allowlists/darwin-py315.txt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,20 @@ _pyrepl.unix_eventqueue
88
ctypes.c_double_complex._type_
99
ctypes.c_float_complex._type_
1010
ctypes.c_longdouble_complex._type_
11-
mmap.MS_ASYNC
12-
mmap.MS_INVALIDATE
13-
mmap.MS_SYNC
14-
mmap.mmap.madvise
15-
mmap.mmap.resize
1611
os.NODEV
1712
os.__all__
1813
posix.NODEV
14+
readline.get_pre_input_hook
15+
16+
17+
# =============================================================
18+
# Allowlist entries that cannot or should not be fixed; >= 3.15
19+
# =============================================================
20+
21+
# Internal implementation details of the sampling profiler.
1922
profiling.sampling.live_collector
2023
profiling.sampling.live_collector.collector
2124
profiling.sampling.live_collector.constants
2225
profiling.sampling.live_collector.display
2326
profiling.sampling.live_collector.trend_tracker
2427
profiling.sampling.live_collector.widgets
25-
readline.get_pre_input_hook
26-
resource.RLIM_SAVED_CUR
27-
resource.RLIM_SAVED_MAX

stdlib/@tests/stubtest_allowlists/linux-py315.txt

Lines changed: 8 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -9,42 +9,9 @@ _decimal
99
_pyrepl.fancy_termios
1010
_pyrepl.unix_console
1111
_pyrepl.unix_eventqueue
12-
_socket.CAN_ISOTP_CHK_PAD_DATA
13-
_socket.CAN_ISOTP_CHK_PAD_LEN
14-
_socket.CAN_ISOTP_DEFAULT_EXT_ADDRESS
15-
_socket.CAN_ISOTP_DEFAULT_FLAGS
16-
_socket.CAN_ISOTP_DEFAULT_FRAME_TXTIME
17-
_socket.CAN_ISOTP_DEFAULT_LL_MTU
18-
_socket.CAN_ISOTP_DEFAULT_LL_TX_DL
19-
_socket.CAN_ISOTP_DEFAULT_LL_TX_FLAGS
20-
_socket.CAN_ISOTP_DEFAULT_PAD_CONTENT
21-
_socket.CAN_ISOTP_DEFAULT_RECV_BS
22-
_socket.CAN_ISOTP_DEFAULT_RECV_STMIN
23-
_socket.CAN_ISOTP_DEFAULT_RECV_WFTMAX
24-
_socket.CAN_ISOTP_EXTEND_ADDR
25-
_socket.CAN_ISOTP_FORCE_RXSTMIN
26-
_socket.CAN_ISOTP_FORCE_TXSTMIN
27-
_socket.CAN_ISOTP_HALF_DUPLEX
28-
_socket.CAN_ISOTP_LISTEN_MODE
29-
_socket.CAN_ISOTP_LL_OPTS
30-
_socket.CAN_ISOTP_OPTS
31-
_socket.CAN_ISOTP_RECV_FC
32-
_socket.CAN_ISOTP_RX_EXT_ADDR
33-
_socket.CAN_ISOTP_RX_PADDING
34-
_socket.CAN_ISOTP_RX_STMIN
35-
_socket.CAN_ISOTP_SF_BROADCAST
36-
_socket.CAN_ISOTP_TX_PADDING
37-
_socket.CAN_ISOTP_TX_STMIN
38-
_socket.CAN_ISOTP_WAIT_TX_DONE
39-
_socket.IPV6_HDRINCL
40-
_socket.SOL_CAN_ISOTP
4112
ctypes.c_double_complex._type_
4213
ctypes.c_float_complex._type_
4314
ctypes.c_longdouble_complex._type_
44-
mmap.MS_ASYNC
45-
mmap.MS_INVALIDATE
46-
mmap.MS_SYNC
47-
mmap.mmap.madvise
4815
os.AT_NO_AUTOMOUNT
4916
os.AT_STATX_DONT_SYNC
5017
os.AT_STATX_FORCE_SYNC
@@ -92,42 +59,17 @@ posix.STATX_SIZE
9259
posix.STATX_TYPE
9360
posix.STATX_UID
9461
posix.statx
62+
readline.get_pre_input_hook
63+
64+
65+
# =============================================================
66+
# Allowlist entries that cannot or should not be fixed; >= 3.15
67+
# =============================================================
68+
69+
# Internal implementation details of the sampling profiler.
9570
profiling.sampling.live_collector
9671
profiling.sampling.live_collector.collector
9772
profiling.sampling.live_collector.constants
9873
profiling.sampling.live_collector.display
9974
profiling.sampling.live_collector.trend_tracker
10075
profiling.sampling.live_collector.widgets
101-
readline.get_pre_input_hook
102-
resource.RLIM_SAVED_CUR
103-
resource.RLIM_SAVED_MAX
104-
socket.CAN_ISOTP_CHK_PAD_DATA
105-
socket.CAN_ISOTP_CHK_PAD_LEN
106-
socket.CAN_ISOTP_DEFAULT_EXT_ADDRESS
107-
socket.CAN_ISOTP_DEFAULT_FLAGS
108-
socket.CAN_ISOTP_DEFAULT_FRAME_TXTIME
109-
socket.CAN_ISOTP_DEFAULT_LL_MTU
110-
socket.CAN_ISOTP_DEFAULT_LL_TX_DL
111-
socket.CAN_ISOTP_DEFAULT_LL_TX_FLAGS
112-
socket.CAN_ISOTP_DEFAULT_PAD_CONTENT
113-
socket.CAN_ISOTP_DEFAULT_RECV_BS
114-
socket.CAN_ISOTP_DEFAULT_RECV_STMIN
115-
socket.CAN_ISOTP_DEFAULT_RECV_WFTMAX
116-
socket.CAN_ISOTP_EXTEND_ADDR
117-
socket.CAN_ISOTP_FORCE_RXSTMIN
118-
socket.CAN_ISOTP_FORCE_TXSTMIN
119-
socket.CAN_ISOTP_HALF_DUPLEX
120-
socket.CAN_ISOTP_LISTEN_MODE
121-
socket.CAN_ISOTP_LL_OPTS
122-
socket.CAN_ISOTP_OPTS
123-
socket.CAN_ISOTP_RECV_FC
124-
socket.CAN_ISOTP_RX_EXT_ADDR
125-
socket.CAN_ISOTP_RX_PADDING
126-
socket.CAN_ISOTP_RX_STMIN
127-
socket.CAN_ISOTP_SF_BROADCAST
128-
socket.CAN_ISOTP_TX_PADDING
129-
socket.CAN_ISOTP_TX_STMIN
130-
socket.CAN_ISOTP_WAIT_TX_DONE
131-
socket.IPV6_HDRINCL
132-
socket.SOL_CAN_ISOTP
133-
socket.__all__

stdlib/@tests/stubtest_allowlists/py315.txt

Lines changed: 39 additions & 111 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ _frozen_importlib_external.SourceFileLoader.source_to_code
1212
_frozen_importlib_external.SourceLoader.source_to_code
1313
_frozen_importlib_external._LoaderBasics.load_module
1414
_frozen_importlib_external.cache_from_source
15-
_interpqueues.create
16-
_interpqueues.put
1715
_pyrepl.base_eventqueue
1816
_pyrepl.commands
1917
_pyrepl.completing_reader
@@ -36,13 +34,6 @@ _pyrepl.types
3634
_pyrepl.utils
3735
_pyrepl.windows_console
3836
_pyrepl.windows_eventqueue
39-
_ssl.HAS_PSK_TLS13
40-
_ssl._SSLContext.get_groups
41-
_ssl._SSLContext.set_ciphersuites
42-
_ssl._SSLContext.set_client_sigalgs
43-
_ssl._SSLContext.set_groups
44-
_ssl._SSLContext.set_server_sigalgs
45-
_ssl.get_sigalgs
4637
_struct.Struct.pack_into
4738
_struct.pack
4839
_struct.pack_into
@@ -56,9 +47,6 @@ annotationlib.ForwardRef.__extra_names__
5647
annotationlib.ForwardRef.__globals__
5748
annotationlib.ForwardRef.__init_subclass__
5849
annotationlib.ForwardRef.__owner__
59-
annotationlib.ForwardRef.__resolved_str__
60-
annotationlib.ForwardRef.__resolved_str_cache__
61-
annotationlib.ForwardRef.__slots__
6250
annotationlib.ForwardRef.__stringifier_dict__
6351
ast.type_param.__init__
6452
# base64.b64decode uses a private sentinel list as the default for parameters whose public types are bool/buffer.
@@ -69,8 +57,6 @@ codecs.namereplace_errors
6957
codecs.replace_errors
7058
codecs.strict_errors
7159
codecs.xmlcharrefreplace_errors
72-
collections.Counter.__ixor__
73-
collections.Counter.__xor__
7460
concurrent.interpreters._crossinterp.UNBOUND_ERROR
7561
concurrent.interpreters._crossinterp.UNBOUND_REMOVE
7662
concurrent.interpreters._crossinterp.UnboundItem.singleton
@@ -83,7 +69,6 @@ concurrent.interpreters._crossinterp.classonly.__isabstractmethod__
8369
concurrent.interpreters._crossinterp.classonly.__set_name__
8470
concurrent.interpreters._crossinterp.classonly.__wrapped__
8571
copy.deepcopy
86-
ctypes.SetPointerType
8772
dataclasses._MISSING_TYPE
8873
dataclasses.MISSING
8974
dataclasses.field
@@ -101,10 +86,6 @@ genericpath.getmtime
10186
genericpath.getsize
10287
genericpath.samefile
10388
genericpath.samestat
104-
glob.glob0
105-
glob.glob1
106-
gzip.compress
107-
hashlib.__all__
10889
http.HTTPMethod.description
10990
http.client.HTTPConnection.__init__
11091
http.client.HTTPSConnection.__init__
@@ -136,20 +117,6 @@ io.Writer.write
136117
mailbox.Mailbox.__enter__
137118
mailbox.Mailbox.__exit__
138119
mailbox._ProxyFile.__class_getitem__
139-
marshal.dump
140-
marshal.dumps
141-
math.fmax
142-
math.fmin
143-
math.isnormal
144-
math.issubnormal
145-
math.signbit
146-
mmap.mmap.find
147-
mmap.mmap.flush
148-
mmap.mmap.rfind
149-
mmap.mmap.set_name
150-
multiprocessing.context.BaseContext.set_forkserver_preload
151-
multiprocessing.forkserver.ForkServer.set_forkserver_preload
152-
multiprocessing.forkserver.main
153120
multiprocessing.managers.BaseListProxy.clear
154121
multiprocessing.managers.BaseListProxy.copy
155122
multiprocessing.managers._BaseDictProxy.__iter__
@@ -174,9 +141,6 @@ os.path.ALL_BUT_LAST
174141
os.path.__all__
175142
pathlib.PurePath.__vfspath__
176143
pathlib.PurePath.is_reserved
177-
pdb.Pdb.print_stack_entry
178-
pkgutil.resolve_name
179-
platform.java_ver
180144
posixpath.ALL_BUT_LAST
181145
posixpath.__all__
182146
posixpath.basename
@@ -188,89 +152,24 @@ posixpath.split
188152
posixpath.splitdrive
189153
posixpath.splitext
190154
posixpath.splitroot
191-
pprint.PrettyPrinter.__init__
192-
pprint.pformat
193-
pprint.pprint
194-
profiling
195-
profiling.sampling
196-
profiling.sampling.binary_collector
197-
profiling.sampling.binary_reader
198-
profiling.sampling.cli
199-
profiling.sampling.collector
200-
profiling.sampling.constants
201-
profiling.sampling.dump
202-
profiling.sampling.errors
203-
profiling.sampling.gecko_collector
204-
profiling.sampling.heatmap_collector
205-
profiling.sampling.jsonl_collector
206-
profiling.sampling.module_utils
207-
profiling.sampling.opcode_utils
208-
profiling.sampling.pstats_collector
209-
profiling.sampling.sample
210-
profiling.sampling.stack_collector
211-
profiling.sampling.string_table
212-
profiling.tracing
213-
pydoc.Doc.STDLIB_DIR
214-
pydoc.Doc.getdocloc
215-
site.addsitedir
216-
site.addsitepackages
217-
site.addusersitepackages
218-
site.process_startup_files
219155
sre_compile
220156
sre_constants
221157
sre_parse
222-
ssl.SSLObject.client_sigalg
223-
ssl.SSLObject.group
224-
ssl.SSLObject.server_sigalg
225-
ssl.SSLSocket.client_sigalg
226-
ssl.SSLSocket.group
227-
ssl.SSLSocket.server_sigalg
228-
symtable.symtable
229158
sys.__jit
230159
sys._monitoring
231-
sys.abi_info
232-
sys.get_lazy_imports
233-
sys.get_lazy_imports_filter
234160
sys.last_exc
235-
sys.lazy_modules
236-
sys.set_lazy_imports
237-
sys.set_lazy_imports_filter
238161
threading.Condition.locked
239-
threading.__all__
240-
threading.concurrent_tee
241-
threading.serialize_iterator
242-
threading.synchronized_iterator
243-
timeit.Timer.autorange
244-
tkinter.Grid.content
245-
tkinter.Grid.grid_content
246162
tkinter.Image.__iter__
247163
tkinter.Misc.__iter__
248-
tkinter.Misc.content
249-
tkinter.Misc.grid_content
250-
tkinter.Misc.pack_content
251-
tkinter.Misc.place_content
252-
tkinter.Pack.content
253-
tkinter.Pack.pack_content
254-
tkinter.Place.content
255-
tkinter.Place.place_content
256-
tkinter.Text.search
257-
tkinter.Text.search_all
258164
tkinter.font.Font.__iter__
259165
tkinter.simpledialog.__all__
260-
types.AsyncGeneratorType.ag_state
261-
types.CodeType.co_lnotab
262-
types.CoroutineType.cr_state
263-
types.FrameLocalsProxyType
264-
types.GeneratorType.gi_state
265-
types.LazyImportType
266166
types.MappingProxyType.get
267167
types.SimpleNamespace.__delattr__
268168
types.SimpleNamespace.__setattr__
269169
types.UnionType.__class_getitem__
270170
types.UnionType.__mro_entries__
271171
types.UnionType.__name__
272172
types.UnionType.__qualname__
273-
types.__all__
274173
typing.LiteralString
275174
typing.NewType.__mro_entries__
276175
typing.ParamSpec.__mro_entries__
@@ -284,15 +183,44 @@ typing.Union
284183
typing._SpecialForm.__mro_entries__
285184
typing_extensions.__all__
286185
typing_extensions.Protocol
287-
urllib.parse._DefragResultBase.geturl
288-
urllib.parse._ParseResultBase.geturl
289-
urllib.parse._SplitResultBase.geturl
290-
urllib.parse.urldefrag
291-
urllib.parse.urlparse
292-
urllib.parse.urlsplit
293-
urllib.parse.urlunparse
294-
urllib.parse.urlunsplit
295186
xml.etree.ElementTree.__all__
296-
xml.is_valid_name
297-
xml.utils
298187
zipimport.zipimporter.load_module
188+
189+
# =============================================================
190+
# Allowlist entries that cannot or should not be fixed; >=3.15
191+
# =============================================================
192+
193+
# runtime default is a list object used as a sentinel
194+
urllib.parse.urlunparse
195+
urllib.parse.urlunsplit
196+
197+
# Internal implementation details of the sampling profiler.
198+
profiling.sampling.binary_collector
199+
profiling.sampling.binary_reader
200+
profiling.sampling.cli
201+
profiling.sampling.constants
202+
profiling.sampling.dump
203+
profiling.sampling.errors
204+
profiling.sampling.gecko_collector.CATEGORY_CODE_TYPE
205+
profiling.sampling.gecko_collector.CATEGORY_CPU
206+
profiling.sampling.gecko_collector.CATEGORY_EXCEPTION
207+
profiling.sampling.gecko_collector.CATEGORY_GC
208+
profiling.sampling.gecko_collector.CATEGORY_GIL
209+
profiling.sampling.gecko_collector.CATEGORY_NATIVE
210+
profiling.sampling.gecko_collector.CATEGORY_OPCODES
211+
profiling.sampling.gecko_collector.CATEGORY_OTHER
212+
profiling.sampling.gecko_collector.CATEGORY_PYTHON
213+
profiling.sampling.gecko_collector.DEFAULT_SUBCATEGORY
214+
profiling.sampling.gecko_collector.FRAME_ADDRESS_NONE
215+
profiling.sampling.gecko_collector.FRAME_INLINE_DEPTH_ROOT
216+
profiling.sampling.gecko_collector.GECKO_CATEGORIES
217+
profiling.sampling.gecko_collector.GECKO_FORMAT_VERSION
218+
profiling.sampling.gecko_collector.GECKO_PREPROCESSED_VERSION
219+
profiling.sampling.gecko_collector.PROCESS_TYPE_MAIN
220+
profiling.sampling.gecko_collector.RESOURCE_TYPE_LIBRARY
221+
profiling.sampling.gecko_collector.STACKWALK_DISABLED
222+
profiling.sampling.heatmap_collector.FileStats
223+
profiling.sampling.heatmap_collector.TreeNode
224+
profiling.sampling.module_utils
225+
profiling.sampling.opcode_utils
226+
profiling.sampling.sample

stdlib/@tests/stubtest_allowlists/win32-py315.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
# TODO: Allowlist entries that should be fixed
33
# ============================================
44

5-
_socket.IPV6_HDRINCL
65
_winapi.DeregisterEventSource
76
_winapi.EVENTLOG_AUDIT_FAILURE
87
_winapi.EVENTLOG_AUDIT_SUCCESS
@@ -14,6 +13,4 @@ _winapi.GetOEMCP
1413
_winapi.RegisterEventSource
1514
_winapi.ReportEvent
1615
asyncio.windows_events.IocpProactor.finish_socket_func
17-
socket.IPV6_HDRINCL
18-
socket.__all__
1916
winreg.DeleteTree

0 commit comments

Comments
 (0)