Skip to content

Commit aa1d9ad

Browse files
author
hauntsaninja
committed
iterate
1 parent 5bc314b commit aa1d9ad

File tree

7 files changed

+9
-26
lines changed

7 files changed

+9
-26
lines changed

tests/stubtest_allowlists/darwin-py311.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ _curses.color_pair
33
curses.color_pair
44
termios.tcgetwinsize
55
termios.tcsetwinsize
6+
xxlimited.Xxo.x_exports
67

78
# Exists at runtime, but missing from stubs
89
mmap.MADV_FREE

tests/stubtest_allowlists/darwin.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,6 @@ posix.SCHED_[A-Z_]+
3939
# Some of these exist on non-windows, but they are useless and this is not intended
4040
stat.FILE_ATTRIBUTE_[A-Z_]+
4141

42-
# Loadable SQLite extensions are disabled on GitHub runners
43-
(sqlite3(.dbapi2)?.Connection.enable_load_extension)?
44-
(sqlite3(.dbapi2)?.Connection.load_extension)?
45-
4642
# Methods that come from __getattr__() at runtime
4743
tkinter.Tk.createfilehandler
4844
tkinter.Tk.deletefilehandler

tests/stubtest_allowlists/linux-py311.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
_curses.color_pair
22
curses.color_pair
3+
mmap.MAP_STACK
34
(os|posix).EFD_CLOEXEC
45
(os|posix).EFD_NONBLOCK
56
(os|posix).EFD_SEMAPHORE

tests/stubtest_allowlists/linux.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,6 @@ posix.SCHED_[A-Z_]+
4343
# Some of these exist on non-windows, but they are useless and this is not intended
4444
stat.FILE_ATTRIBUTE_[A-Z_]+
4545

46-
# Loadable SQLite extensions are disabled on GitHub runners
47-
(sqlite3(.dbapi2)?.Connection.enable_load_extension)?
48-
(sqlite3(.dbapi2)?.Connection.load_extension)?
49-
5046
# Methods that come from __getattr__() at runtime
5147
tkinter.Tk.createfilehandler
5248
tkinter.Tk.deletefilehandler

tests/stubtest_allowlists/py311.txt

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,6 @@ asyncio.selector_events.BaseSelectorEventLoop.sock_sendto
117117
asyncio.sslproto.AppProtocolState
118118
asyncio.sslproto.SSLAgainErrors
119119
asyncio.sslproto.SSLProtocol.__init__
120-
asyncio.sslproto.SSLProtocol._finalize
121-
asyncio.sslproto.SSLProtocol._process_write_backlog
122-
asyncio.sslproto.SSLProtocol._write_appdata
123120
asyncio.sslproto.SSLProtocol.buffer_updated
124121
asyncio.sslproto.SSLProtocol.data_received
125122
asyncio.sslproto.SSLProtocol.get_buffer
@@ -134,7 +131,6 @@ asyncio.taskgroups.TaskGroup.create_task
134131
asyncio.tasks.create_task
135132
asyncio.timeout
136133
asyncio.timeout_at
137-
asyncio.trsock.TransportSocket._na
138134
asyncio.unix_events.SelectorEventLoop.create_unix_connection
139135
asyncio.unix_events.SelectorEventLoop.create_unix_server
140136
asyncio.unix_events._UnixSelectorEventLoop.create_unix_connection
@@ -182,8 +178,6 @@ fractions.Fraction.__int__
182178
fractions.Fraction.__new__
183179
ftplib.FTP.trust_server_pasv_ipv4_address
184180
functools.partial.__vectorcalloffset__
185-
gettext.NullTranslations.lgettext
186-
gettext.NullTranslations.lngettext
187181
gettext.install
188182
hmac.new
189183
http.HTTPMethod.description
@@ -193,9 +187,7 @@ importlib.abc.Traversable.__init__
193187
importlib.metadata.EntryPoint.__init__
194188
importlib.metadata.PackageMetadata.__init__
195189
importlib.metadata._meta.PackageMetadata.__init__
196-
importlib.metadata._meta.SimplePath.__div__
197190
importlib.metadata._meta.SimplePath.__init__
198-
importlib.metadata._meta.SimplePath.__truediv__
199191
importlib.resources.Resource
200192
inspect._ParameterKind.description
201193
ipaddress.IPv4Interface.hostmask
@@ -207,13 +199,6 @@ logging.LoggerAdapter.__class_getitem__
207199
logging.StreamHandler.__class_getitem__
208200
logging.getLevelNamesMapping
209201
logging.handlers.SysLogHandler.createSocket
210-
mmap.MAP_STACK
211-
modulefinder.EXTENDED_ARG
212-
modulefinder.IMPORT_NAME
213-
modulefinder.LOAD_CONST
214-
modulefinder.STORE_GLOBAL
215-
modulefinder.STORE_NAME
216-
modulefinder.STORE_OPS
217202
multiprocessing.managers.SharedMemoryServer.create
218203
multiprocessing.managers.SharedMemoryServer.list_segments
219204
multiprocessing.managers.SharedMemoryServer.public
@@ -226,8 +211,7 @@ operator.attrgetter.__vectorcalloffset__
226211
operator.itemgetter.__vectorcalloffset__
227212
os.PathLike.__class_getitem__
228213
os.path.join
229-
pdb.Pdb._runmodule
230-
pdb.Pdb._runscript
214+
os.popen
231215
pickle.Pickler.reducer_override
232216
platform.uname_result.__match_args__
233217
platform.uname_result.__new__
@@ -339,7 +323,6 @@ unicodedata.UCD.is_normalized
339323
unittest.TestCase._addSkip
340324
unittest.case.TestCase._addSkip
341325
unittest.doModuleCleanups
342-
urllib.parse.MAX_CACHE_SIZE
343326
urllib.request.FancyURLopener.http_error_308
344327
urllib.request.HTTPRedirectHandler.http_error_308
345328
weakref.ProxyType.__reversed__

tests/stubtest_allowlists/py3_common.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -370,6 +370,10 @@ socket.AF_DECnet
370370
socket.[A-Z0-9_]+
371371
(termios.[A-Z0-9_]+)?
372372

373+
# Loadable SQLite extensions are disabled on GitHub runners
374+
(sqlite3(.dbapi2)?.Connection.enable_load_extension)?
375+
(sqlite3(.dbapi2)?.Connection.load_extension)?
376+
373377
# Missing aliases to existing methods that not many people seem to use.
374378
# Complicated multiple inheritance, confuses type checkers.
375379
tkinter.Grid.bbox

tests/stubtest_allowlists/win32-py311.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,10 @@ _winapi.MapViewOfFile
1111
_winapi.OpenFileMapping
1212
_winapi.VirtualQuerySize
1313
asyncio.IocpProactor.recvfrom
14+
asyncio.IocpProactor.recvfrom_into
1415
asyncio.IocpProactor.sendto
1516
asyncio.windows_events.IocpProactor.recvfrom
17+
asyncio.windows_events.IocpProactor.recvfrom_into
1618
asyncio.windows_events.IocpProactor.sendto
1719
distutils.command.build_ext.__warningregistry__
1820
msvcrt.GetErrorMode

0 commit comments

Comments
 (0)