cpython/Lib/test
Petr Viktorin c62c9e518b
[3.10] gh-113171: gh-65056: Fix "private" (non-global) IP address ranges (GH-113179) (GH-113186) (GH-118177) (GH-118229)
The _private_networks variables, used by various is_private
implementations, were missing some ranges and at the same time had
overly strict ranges (where there are more specific ranges considered
globally reachable by the IANA registries).

This patch updates the ranges with what was missing or otherwise
incorrect.

100.64.0.0/10 is left alone, for now, as it's been made special in [1].

The _address_exclude_many() call returns 8 networks for IPv4, 121
networks for IPv6.

[1] https://github.com/python/cpython/issues/61602

In 3.10 and below, is_private checks whether the network and broadcast
address are both private.
In later versions (where the test wss backported from), it checks
whether they both are in the same private network.

For 0.0.0.0/0, both 0.0.0.0 and 255.225.255.255 are private,
but one is in 0.0.0.0/8 ("This network") and the other in
255.255.255.255/32 ("Limited broadcast").

---------

Co-authored-by: Jakub Stasiak <jakub@stasiak.at>
2024-05-07 11:56:13 +02:00
..
audiodata
capath
cjkencodings
crashers
data
decimaltestdata
dtracedata
encoded_modules
imghdrdata Optimize images by IMGbot (GH-21348) 2022-02-04 16:31:21 +09:00
leakers
libregrtest Run Tools/scripts/reindent.py (#94225) (#94291) 2022-06-26 12:39:16 +02:00
sndhdrdata
subprocessdata
support gh-103109: Document ignore_warnings() test support helper (GH-103110) 2023-04-02 15:38:58 -07:00
test_asyncio [3.10] gh-116773: Fix overlapped memory corruption crash (GH-116774) (GH-117079) 2024-03-27 16:24:34 +01:00
test_capi [3.10] gh-99612: Fix PyUnicode_DecodeUTF8Stateful() for ASCII-only data (GH-99613) (GH-107224) (#107230) 2023-08-22 20:24:40 +02:00
test_email gh-95087: Fix IndexError in parsing invalid date in the email module (GH-95201) 2022-07-24 23:39:00 -07:00
test_import
test_importlib [3.10] gh-99130: Apply bugfixes from importlib_metadata 4.11.4. (#99132) 2022-11-10 16:59:38 +01:00
test_json [3.10] gh-100160: Remove any deprecation warnings in asyncio.get_event_loop() (GH-100412) (GH-100970) 2023-01-13 09:34:55 +02:00
test_peg_generator [3.10] bpo-46633: Skip tests on ASAN and/or MSAN builds (GH-31632) (GH-31634) 2022-03-02 17:05:14 +01:00
test_tools gh-95731: Fix module docstring extraction in pygettext (GH-95732) 2022-10-15 08:33:19 -07:00
test_warnings
test_zoneinfo GH-102537: Handle check for PYTHONTZPATH failing in zoneinfo test (GH-102538) 2023-03-13 04:11:09 -07:00
tracedmodules
typinganndata GH-96073: Fix wild replacement in inspect.formatannotation (GH-96074) 2022-10-07 12:56:29 -07:00
xmltestdata
ziptestdata
__init__.py
__main__.py
_test_atexit.py
_test_eintr.py
_test_embed_set_config.py
_test_multiprocessing.py [3.10] gh-60203: Always pass True/False as boolean arguments in tests (GH-99983) (GH-99989) 2022-12-04 15:08:24 +02:00
_typed_dict_helper.py
allsans.pem
ann_module.py
ann_module2.py
ann_module3.py
ann_module4.py
ann_module5.py
ann_module6.py
ann_module7.py bpo-43118: Fix bug in inspect.signature around 'base.__text_signature__' (GH-30285) (#30765) 2022-01-22 09:28:48 -08:00
audiotest.au
audiotests.py
audit-tests.py gh-87604: Avoid publishing list of active per-interpreter audit hooks via the gc module (GH-99373) 2022-11-15 12:52:14 -08:00
autotest.py
bad_coding.py
bad_coding2.py
bad_getattr.py
bad_getattr2.py
bad_getattr3.py
badcert.pem
badkey.pem
badsyntax_3131.py
badsyntax_future3.py
badsyntax_future4.py
badsyntax_future5.py
badsyntax_future6.py
badsyntax_future7.py
badsyntax_future8.py
badsyntax_future9.py
badsyntax_future10.py
badsyntax_pep3120.py
bisect_cmd.py
cfgparser.1
cfgparser.2
cfgparser.3
clinic.test [3.10] gh-99240: Fix double-free bug in Argument Clinic str_converter generated code (GH-99241) (#100353) 2022-12-20 15:50:42 +05:30
cmath_testcases.txt
coding20731.py
curses_tests.py
dataclass_module_1.py
dataclass_module_1_str.py
dataclass_module_2.py
dataclass_module_2_str.py
dataclass_textanno.py
datetimetester.py gh-91838: Resolve HTTP links which redirect to HTTPS (GH-95642) 2022-08-04 06:15:01 -07:00
dis_module.py
doctest_aliases.py
doctest_lineno.py [3.10] bpo-28249: fix lineno location for empty DocTest instances (GH-30498) (#92981) 2022-05-19 21:16:57 +02:00
double_const.py
empty.vbs
exception_hierarchy.txt
ffdh3072.pem
final_a.py
final_b.py
floating_points.txt
fork_wait.py
formatfloat_testcases.txt
future_test1.py
future_test2.py
gdb_sample.py
good_getattr.py
idnsans.pem
ieee754.txt
imp_dummy.py
inspect_fodder.py
inspect_fodder2.py gh-83035: handle decorator with nested parens in inspect.getsource (GH-99654) 2022-12-07 09:24:41 -08:00
inspect_stock_annotations.py
inspect_stringized_annotations.py
inspect_stringized_annotations_2.py
keycert.passwd.pem
keycert.pem
keycert2.pem
keycert3.pem
keycert4.pem
keycertecc.pem
list_tests.py
lock_tests.py
mailcap.txt
make_ssl_certs.py
mapping_tests.py
math_testcases.txt
memory_watchdog.py
mime.types
mock_socket.py
mod_generics_cache.py
mp_fork_bomb.py
mp_preload.py
multibytecodec_support.py
nokia.pem
nosan.pem
nullbytecert.pem
nullcert.pem
pickletester.py gh-100129: Add tests for pickling all builtin types and functions (GH-100142) 2022-12-21 06:58:31 -08:00
profilee.py
pstats.pck
pycacert.pem
pycakey.pem
pyclbr_input.py
pydoc_mod.py [3.10] bpo-40296: Fix supporting generic aliases in pydoc (GH-30253). (GH-31976) 2022-03-18 20:46:31 +02:00
pydocfodder.py
pythoninfo.py test.pythoninfo: Fix typo, Py_REF_DEBUG => Py_TRACE_REFS (GH-93467) 2022-06-03 07:08:21 -07:00
randv2_32.pck
randv2_64.pck
randv3.pck
re_tests.py
recursion.tar
regrtest.py
relimport.py
reperf.py
revocation.crl
sample_doctest.py
sample_doctest_no_docstrings.py
sample_doctest_no_doctests.py
secp384r1.pem
selfsigned_pythontestdotnet.pem
seq_tests.py
sgml_input.html
signalinterproctester.py
Sine-1000Hz-300ms.aif
sortperf.py
ssl_cert.pem
ssl_key.passwd.pem
ssl_key.pem
ssl_servers.py
ssltests.py
string_tests.py
talos-2019-0758.pem
test___all__.py [3.10] bpo-46633: Skip tests on ASAN and/or MSAN builds (GH-31632) (GH-31634) 2022-03-02 17:05:14 +01:00
test___future__.py
test__locale.py
test__opcode.py
test__osx_support.py
test__xxsubinterpreters.py
test_abc.py
test_abstract_numbers.py
test_aifc.py
test_argparse.py gh-101979: argparse: fix a bug where parentheses in metavar argument of add_argument() were dropped (GH-102318) 2023-03-05 07:16:14 -08:00
test_array.py
test_asdl_parser.py
test_ast.py gh-101229: Add tests for aliases of imported names (GH-101230) 2023-01-30 12:14:38 -08:00
test_asyncgen.py
test_asynchat.py
test_asyncore.py
test_atexit.py
test_audioop.py
test_audit.py gh-87604: Avoid publishing list of active per-interpreter audit hooks via the gc module (GH-99373) 2022-11-15 12:52:14 -08:00
test_augassign.py
test_base64.py
test_baseexception.py gh-97591: In Exception.__setstate__() acquire strong references before calling tp_hash slot (GH-97700) 2022-10-01 21:18:38 -07:00
test_bdb.py gh-101517: make bdb avoid looking up in linecache with lineno=None (GH-101787) 2023-02-10 09:24:30 -08:00
test_bigaddrspace.py
test_bigmem.py
test_binascii.py [3.10] bpo-38256: Fix binascii.crc32 large input. (GH-32000) (GH-32013) 2022-03-20 14:46:52 -07:00
test_binhex.py
test_binop.py
test_bisect.py gh-92839: fixed typo in _bisectmodule.c (line 131) (GH-92849) (#93321) 2022-05-28 13:48:25 -05:00
test_bool.py gh-102252: Improve coverage of test_bool.py (GH-102253) 2023-02-25 13:09:39 -08:00
test_buffer.py
test_bufio.py
test_builtin.py gh-102356: Add thrashcan macros to filter object dealloc (GH-102426) 2023-03-05 03:20:41 -08:00
test_bytes.py GH-91153: Handle mutating __index__ methods in bytearray item assignment (GH-94891) 2022-07-19 10:04:47 -07:00
test_bz2.py
test_c_locale_coercion.py
test_calendar.py gh-101377: improving test_locale_calendar_formatweekday of calendar (GH-101378) 2023-03-14 19:59:49 -07:00
test_call.py [3.10] gh-60203: Always pass True/False as boolean arguments in tests (GH-99983) (GH-99989) 2022-12-04 15:08:24 +02:00
test_cgi.py
test_cgitb.py
test_charmapcodec.py
test_check_c_globals.py gh-95349: Hide a Distutils Warning Filter for test_check_c_globals (GH-95837) 2022-08-10 17:15:53 -07:00
test_class.py
test_clinic.py [3.10] gh-99240: Fix double-free bug in Argument Clinic str_converter generated code (GH-99241) (#100353) 2022-12-20 15:50:42 +05:30
test_cmath.py
test_cmd.py
test_cmd_line.py gh-96848: Fix -X int_max_str_digits option parsing (GH-96988) 2022-09-26 08:46:04 -07:00
test_cmd_line_script.py [3.10] GH-87235: Make sure "python /dev/fd/9 9</path/to/script.py" works on macOS (GH-99768) (#99817) 2023-03-28 14:13:37 +02:00
test_code.py
test_code_module.py
test_codeccallbacks.py bpo-36819: Fix crashes in built-in encoders with weird error handlers (GH-28593) 2022-05-02 02:58:41 -07:00
test_codecencodings_cn.py
test_codecencodings_hk.py
test_codecencodings_iso2022.py [3.10] gh-101180: Fix a bug where iso2022_jp_3 and iso2022_jp_2004 codecs read out of bounds (gh-111695) (gh-111779) 2023-11-06 15:46:20 +01:00
test_codecencodings_jp.py
test_codecencodings_kr.py
test_codecencodings_tw.py
test_codecmaps_cn.py
test_codecmaps_hk.py
test_codecmaps_jp.py
test_codecmaps_kr.py
test_codecmaps_tw.py
test_codecs.py [3.11] gh-98433: Fix quadratic time idna decoding. (GH-99092) (GH-99222) 2022-11-07 19:23:16 -08:00
test_codeop.py gh-96052: codeop: fix handling compiler warnings in incomplete input (GH-96132) 2022-09-25 01:21:21 -07:00
test_collections.py gh-98513: Test abstract methods of some collections types (GH-98516) 2022-11-07 18:19:33 -08:00
test_colorsys.py
test_compare.py
test_compile.py [3.10] GH-95921: Fix positions for some chained comparisons (GH-96968) (GH-96974) 2022-09-20 15:26:56 -07:00
test_compileall.py bpo-40447: accept all path-like objects in compileall.compile_file (GH-19883) 2022-12-23 12:39:55 -08:00
test_complex.py gh-99320: remove tests for old-style class from test_complex (GH-99321) 2022-11-10 03:19:30 -08:00
test_concurrent_futures.py gh-94440: Fix issue of ProcessPoolExecutor shutdown hanging (GH-94468) 2023-03-15 22:08:11 -07:00
test_configparser.py
test_contains.py
test_context.py gh-93065: Fix HAMT to iterate correctly over 7-level deep trees (GH-93066) (GH-93146) 2022-05-24 10:52:29 +02:00
test_contextlib.py [3.10] gh-95882: Add tests for traceback from contextlib context managers (GH-95883) (#100715) 2023-01-03 22:24:19 +00:00
test_contextlib_async.py [3.10] gh-95882: Add tests for traceback from contextlib context managers (GH-95883) (#100715) 2023-01-03 22:24:19 +00:00
test_copy.py [3.10] gh-100871: Improve copy module tests (GH-100872) (#100975) 2023-01-12 11:12:39 +00:00
test_copyreg.py
test_coroutines.py [3.10] gh-93453: Only emit deprecation warning in asyncio.get_event_loop when a new event loop is created (#100059) 2022-12-06 18:40:30 +01:00
test_cprofile.py
test_crashers.py
test_crypt.py [3.10] bpo-46633: Skip tests on ASAN and/or MSAN builds (GH-31632) (GH-31634) 2022-03-02 17:05:14 +01:00
test_csv.py gh-65496: Correct wording on csv's skipinitialspace argument (GH-96170) 2022-10-07 12:30:39 -07:00
test_ctypes.py
test_curses.py gh-91914: Fix test_curses on non-UTF-8 locale (GH-91919) 2022-04-25 22:57:57 -07:00
test_dataclasses.py [3.10] gh-102947: Improve traceback when calling fields() on a non-dataclass (#102948) (#102954) 2023-03-23 15:13:05 +00:00
test_datetime.py
test_dbm.py
test_dbm_dumb.py
test_dbm_gnu.py
test_dbm_ndbm.py
test_decimal.py [3.10] gh-95778: CVE-2020-10735: Prevent DoS by very large int() (#96501) 2022-09-02 09:51:49 -07:00
test_decorators.py
test_defaultdict.py
test_deque.py
test_descr.py [3.10] gh-92112: Fix crash triggered by an evil custom mro() (GH-92113) (#92370) 2022-05-06 21:01:23 -07:00
test_descrtut.py [3.10] gh-91838: Resolve more HTTP links which redirect to HTTPS (GH-95650). (GH-95786) 2022-08-08 18:09:06 +03:00
test_devpoll.py
test_dict.py [3.10] bpo-46198: rename duplicate tests and remove unused code (GH-30297) (GH-31796) 2022-03-10 13:53:50 -08:00
test_dict_version.py
test_dictcomps.py
test_dictviews.py gh-98512: Add more tests for ValuesView (GH-98515) 2022-11-02 19:33:01 -07:00
test_difflib.py
test_difflib_expect.html
test_dis.py gh-92886: make test_ast pass with -O (assertions off) (GH-98058) 2022-10-07 22:02:45 -07:00
test_distutils.py [3.10] bpo-46425: Fix direct invocation of multiple test modules (GH-30666) (GH-30699) 2022-01-20 10:44:21 +09:00
test_doctest.py [3.10] bpo-28249: fix lineno location for empty DocTest instances (GH-30498) (#92981) 2022-05-19 21:16:57 +02:00
test_doctest.txt
test_doctest2.py
test_doctest2.txt
test_doctest3.txt
test_doctest4.txt
test_docxmlrpc.py
test_dtrace.py [3.10] bpo-46425: Fix direct invocation of multiple test modules (GH-30666) (GH-30699) 2022-01-20 10:44:21 +09:00
test_dynamic.py
test_dynamicclassattribute.py
test_eintr.py
test_embed.py bpo-47103: Copy pgort140.dll into output directory when building PGInstrument on Windows (GH-32083) 2022-04-07 23:21:03 +01:00
test_ensurepip.py
test_enum.py
test_enumerate.py
test_eof.py
test_epoll.py
test_errno.py
test_exception_hierarchy.py
test_exception_variations.py
test_exceptions.py gh-96352: Set AttributeError context in _PyObject_GenericGetAttrWithDict (GH-96353) 2022-09-08 04:46:53 -07:00
test_extcall.py
test_faulthandler.py [3.10] bpo-46633: Skip tests on ASAN and/or MSAN builds (GH-31632) (GH-31634) 2022-03-02 17:05:14 +01:00
test_fcntl.py [3.10] gh-95672 fix typo SkitTest to SkipTest (gh-102119) (gh-102122) 2023-02-22 10:36:00 +09:00
test_file.py
test_file_eintr.py
test_filecmp.py
test_fileinput.py [3.10] gh-101961 fileinput.hookcompressed should not set the encoding value for the binary mode (gh-102068) (#102099) 2023-02-21 12:39:30 +09:00
test_fileio.py
test_finalization.py
test_float.py gh-95605: Fix float(s) error message when s contains only whitespace (GH-95665) (GH-95859) 2022-08-10 19:57:55 +01:00
test_flufl.py Fix mistake in barry_as_FLUFL test (GH-31392) 2022-02-17 18:11:34 -08:00
test_fnmatch.py gh-89973: Fix re.error in the fnmatch module. (GH-93072) 2022-06-05 02:39:03 -07:00
test_fork1.py
test_format.py
test_fractions.py
test_frame.py
test_frozen.py
test_fstring.py gh-94869: Fix the location in some expressions for multi-line f-string ast nodes (GH-94895) (#94911) 2022-07-16 22:06:33 +01:00
test_ftplib.py bpo-44359: Fix test_ftplib unhandled thread exceptions (GH-31069) 2022-02-01 18:12:27 -08:00
test_funcattrs.py
test_functools.py [3.10] bpo-46032: Check types in singledispatch's register() at declaration time (GH-30050) (GH-30254) 2021-12-25 16:12:32 +02:00
test_future.py
test_future3.py
test_future4.py
test_future5.py
test_gc.py
test_gdb.py
test_generator_stop.py
test_generators.py
test_genericalias.py
test_genericclass.py
test_genericpath.py
test_genexps.py
test_getopt.py
test_getpass.py
test_gettext.py
test_glob.py
test_global.py
test_grammar.py [3.10] gh-99535: Add test for inheritance of annotations and update documentation (GH-99990) (#100509) 2022-12-26 20:44:53 -08:00
test_graphlib.py
test_grp.py gh-95395: Add argument type error test (GH-95412) (GH-95745) 2022-08-06 19:30:29 +02:00
test_gzip.py
test_hash.py
test_hashlib.py [3.10] gh-98517: Fix buffer overflows in _sha3 module (#98519) 2022-10-21 12:26:01 -07:00
test_heapq.py
test_hmac.py
test_html.py
test_htmlparser.py
test_http_cookiejar.py
test_http_cookies.py
test_httplib.py
test_httpservers.py [3.10] gh-105821: Use a raw f-string in test_httpservers.py (GH-105822) (#115519) 2024-02-16 01:06:00 +00:00
test_idle.py [3.10] bpo-46633: Skip tests on ASAN and/or MSAN builds (GH-31632) (GH-31634) 2022-03-02 17:05:14 +01:00
test_imaplib.py gh-92886: Fix test that fails when running with -O in test_imaplib.py (GH-93237) 2022-06-03 20:38:54 -07:00
test_imghdr.py
test_imp.py gh-99578: Fix refleak in _imp.create_builtin() (GH-99642) 2022-11-21 03:44:56 -08:00
test_index.py
test_inspect.py [3.10] gh-85267: Improvements to inspect.signature __text_signature__ handling (GH-98796) (#100393) 2022-12-20 21:25:18 -08:00
test_int.py gh-96710: Make the test timing more lenient for the int/str DoS regression test. (GH-96717) 2022-09-09 13:13:45 -07:00
test_int_literal.py
test_interpreters.py
test_io.py [3.10] bpo-31718: Fix io.IncrementalNewlineDecoder SystemErrors and s… (#99842) 2022-11-28 16:57:37 +05:30
test_ioctl.py
test_ipaddress.py [3.10] gh-113171: gh-65056: Fix "private" (non-global) IP address ranges (GH-113179) (GH-113186) (GH-118177) (GH-118229) 2024-05-07 11:56:13 +02:00
test_isinstance.py
test_iter.py [3.10] gh-101892: Fix SystemError when a callable iterator call exhausts the iterator (GH-101896) (#102422) 2023-03-04 20:56:12 +05:30
test_iterlen.py
test_itertools.py [3.10] gh-60203: Revert changes in cycle.__setstate__ (GH-99982) (#100017) 2022-12-05 17:58:30 +01:00
test_keyword.py gh-102158: Add tests for softkwlist (GH-102159) 2023-02-23 18:52:31 -08:00
test_keywordonlyarg.py
test_kqueue.py
test_largefile.py
test_lib2to3.py
test_linecache.py gh-92336: linecache.getline should not raise exceptions on decoding errors (GH-94410) 2022-06-30 02:46:27 -07:00
test_list.py gh-97616: list_resize() checks for integer overflow (GH-97617) 2022-09-28 16:03:39 -07:00
test_listcomps.py
test_lltrace.py [3.10] gh-91924: Fix __ltrace__ for non-UTF-8 stdout encoding (#93214) 2022-05-26 00:16:32 +02:00
test_locale.py
test_logging.py [3.10] gh-90195: Unset logger disabled flag when configuring it. (GH-96530) (GH-96533) 2022-09-03 15:10:04 +01:00
test_long.py [3.10] gh-94808: Cover PyObject_PyBytes case with custom __bytes__ method (GH-96610) (#98121) 2022-10-09 07:02:39 -07:00
test_longexp.py
test_lzma.py
test_mailbox.py
test_mailcap.py [3.10] gh-68966: Make mailcap refuse to match unsafe filenames/types/params (GH-91993) (GH-93543) 2022-09-20 13:12:35 +02:00
test_marshal.py
test_math.py GH-98897: fix memory leak if math.dist raises exception (GH-98898) 2022-10-31 19:47:29 -07:00
test_memoryio.py
test_memoryview.py gh-92888: Fix memoryview bad __index__ use after free (GH-92946) (GH-93950) 2022-06-23 18:10:14 +08:00
test_metaclass.py
test_mimetypes.py bpo-20392: Fix inconsistency with uppercase file extensions in mimetypes.guess_type (GH-30229) 2022-03-15 08:14:19 -07:00
test_minidom.py gh-96175: add missing self._localName assignment in xml.dom.minidom.Attr (GH-96176) 2022-08-23 09:42:10 -07:00
test_mmap.py [3.10] gh-107888: Fix test_mmap.test_access_parameter() on macOS 14 (GH-109928) (GH-114185) 2024-01-17 15:02:42 +01:00
test_module.py
test_modulefinder.py
test_msilib.py
test_multibytecodec.py
test_multiprocessing_fork.py
test_multiprocessing_forkserver.py
test_multiprocessing_main_handling.py
test_multiprocessing_spawn.py
test_named_expressions.py
test_netrc.py [3.10] gh-91915: Fix test_netrc on non-UTF-8 locale (GH-91918). (GH-91946) 2022-04-26 10:50:22 +03:00
test_nis.py
test_nntplib.py
test_ntpath.py bpo-42658: Use LCMapStringEx in ntpath.normcase to match OS behaviour for case-folding (GH-93674) 2022-06-10 17:36:02 +01:00
test_numeric_tower.py gh-68163: Correct conversion of Rational instances to float (GH-25619) (GH-96557) 2022-09-04 13:40:24 +01:00
test_opcache.py
test_opcodes.py
test_openpty.py
test_operator.py
test_optparse.py
test_ordered_dict.py
test_os.py [3.10] gh-102179: Fix os.dup2 error reporting for negative fds (GH-102180) (#102419) 2023-03-04 20:57:32 +05:30
test_ossaudiodev.py
test_osx_env.py
test_pathlib.py gh-93156 - fix negative indexing into absolute pathlib.PurePath().parents (GH-93273) 2022-06-03 14:53:00 -07:00
test_patma.py [3.10] gh-93671: Avoid exponential backtracking in deeply nested sequence patterns in match statements (GH-93680) (#93690) 2022-06-10 19:34:15 +01:00
test_pdb.py gh-102980: Add tests for pdf's display, alias and where commands (GH-102981) 2023-03-24 14:09:11 -07:00
test_peepholer.py
test_pickle.py [3.10] GH-89988: Fix memory leak in pickle.Pickler dispatch_table lookup (GH-94298) (#94385) 2022-06-28 17:14:47 +01:00
test_picklebuffer.py
test_pickletools.py
test_pipes.py
test_pkg.py
test_pkgutil.py
test_platform.py gh-97966: Restore prior expectation that uname_result._fields and ._asdict would include the processor. (gh-98343) 2022-11-26 05:52:12 -08:00
test_plistlib.py
test_poll.py
test_popen.py
test_poplib.py Define Py_BUILD_CORE_MODULE 2022-01-13 01:42:47 -08:00
test_positional_only_arg.py
test_posix.py [3.10] gh-97897: Prevent os.mkfifo and os.mknod segfaults with macOS 13 SDK (GH-97944) (#97967) 2022-10-06 12:14:16 -07:00
test_posixpath.py [3.10] gh-96192: fix os.ismount() to use a path that is str or bytes (GH-96194) (#99456) 2023-01-22 05:19:10 -08:00
test_pow.py GH-102341: Improve the test function for pow (GH-102342) 2023-03-05 09:53:50 -08:00
test_pprint.py
test_print.py
test_profile.py
test_property.py [3.10] GH-100942: Fix incorrect cast in property_copy(). (GH-100965). (#101009) 2023-01-15 12:38:59 +05:30
test_pstats.py
test_pty.py [3.10] bpo-46198: rename duplicate tests and remove unused code (GH-30297) (GH-31796) 2022-03-10 13:53:50 -08:00
test_pulldom.py
test_pwd.py gh-95376: Add test for names containing null (GH-GH-5394) (GH-95747) 2022-08-06 19:32:27 +02:00
test_py_compile.py
test_pyclbr.py
test_pydoc.py [3.10] bpo-40296: Fix supporting generic aliases in pydoc (GH-30253). (GH-31976) 2022-03-18 20:46:31 +02:00
test_pyexpat.py [3.10] gh-115398: Expose Expat >=2.6.0 reparse deferral API (CVE-2023-52425) (GH-115623) (GH-116270) 2024-03-07 00:02:55 +01:00
test_queue.py
test_quopri.py
test_raise.py [3.10] bpo-23556: [doc] Fix inaccuracy in documentation for raise without args. Improve tests for context in nested except handlers. (GH-29236) (GH-30953) 2022-01-27 02:51:06 -08:00
test_random.py
test_range.py
test_re.py [3.10] gh-98740: Fix validation of conditional expressions in RE (GH-98764) (GH-99046) 2022-11-03 12:18:50 +02:00
test_readline.py
test_regrtest.py gh-91904: Fix setting envvar PYTHONREGRTEST_UNICODE_GUARD (GH-91905) 2022-04-25 08:03:47 -07:00
test_repl.py
test_reprlib.py
test_resource.py
test_richcmp.py
test_rlcompleter.py
test_robotparser.py
test_runpy.py gh-91916: Fix test_runpy on non-UTF-8 locale (GH-91920) 2022-04-25 22:26:47 -07:00
test_sax.py [3.10] gh-117187: Fix XML tests for vanilla Expat <2.6.0 (GH-117203) (GH-117246) 2024-03-27 14:44:58 +01:00
test_sched.py gh-90808: add more examples to test_sched.test_priority (GH-31144) 2022-09-20 18:55:13 -07:00
test_scope.py
test_script_helper.py
test_secrets.py
test_select.py
test_selectors.py
test_set.py bpo-46615: Don't crash when set operations mutate the sets (GH-31120) 2022-02-11 12:44:17 -08:00
test_setcomps.py
test_shelve.py
test_shlex.py
test_shutil.py [3.10] gh-102950: Implement PEP 706 – Filter for tarfile.extractall (GH-102953) (GH-104128) 2023-05-10 13:43:00 +02:00
test_signal.py [3.10] GH-102397: Fix segfault from race condition in signal handling (GH-102399) (#102527) 2023-03-08 13:51:13 +05:30
test_site.py [3.10] gh-113659: Skip hidden .pth files (GH-113660) (GH-114145) 2024-01-18 14:39:30 +01:00
test_slice.py [3.10] gh-100931: Test all pickle protocols in test_slice (GH-100932). (GH-100978) 2023-01-12 03:14:27 -08:00
test_smtpd.py
test_smtplib.py Define Py_BUILD_CORE_MODULE 2022-01-13 01:42:47 -08:00
test_smtpnet.py
test_sndhdr.py
test_socket.py [3.10] bpo-37013: Fix the error handling in socket.if_indextoname() (GH-13503) (GH-112599) 2024-01-17 14:49:40 +01:00
test_socketserver.py
test_sort.py
test_source_encoding.py gh-96611: Fix error message for invalid UTF-8 in mid-multiline string (GH-96623) 2022-09-06 16:36:03 -07:00
test_spwd.py
test_sqlite.py
test_ssl.py [3.10] gh-108342: Make ssl TestPreHandshakeClose more reliable (GH-108370) (#108406) 2023-08-24 12:09:00 +02:00
test_startfile.py
test_stat.py
test_statistics.py [3.10] [ GH-99155: Fix NormalDist pickle with 0 and 1 protocols (GH-99156). (GH-99188) (GH-99190) 2022-11-07 04:16:54 -06:00
test_strftime.py
test_string.py
test_string_literals.py gh-94808: Coverage: Test uppercase string literal prefixes (GH-95925) 2022-09-25 01:58:50 -07:00
test_stringprep.py
test_strptime.py
test_strtod.py
test_struct.py GH-94254: Make _struct module types immutable (GH-94269) 2022-06-26 03:45:00 -07:00
test_structseq.py
test_subclassinit.py
test_subprocess.py [3.10] gh-104472: Skip test_subprocess.ProcessTestCase.test_empty_env if ASAN is enabled (GH-104667) (#104669) 2023-05-19 14:22:44 -07:00
test_sunau.py
test_sundry.py
test_super.py
test_support.py
test_symtable.py
test_syntax.py [3.10] gh-101400: Fix incorrect lineno in exception message on contin… (gh-101448) 2023-01-31 23:42:22 +09:00
test_sys.py [3.10] gh-95778: CVE-2020-10735: Prevent DoS by very large int() (#96501) 2022-09-02 09:51:49 -07:00
test_sys_setprofile.py [3.10] gh-94510: Raise on re-entrant calls to sys.setprofile and syssettrace (GH-94511) (#94579) 2022-07-05 19:52:33 +01:00
test_sys_settrace.py [3.10] GH-96864: Check for error between line and opcode events (GH-96969) 2022-09-20 11:42:06 -07:00
test_sysconfig.py [3.10] GH-77403: Fix tests which fail when PYTHONUSERBASE is not normalized (GH-93917) (GH-93970) 2022-06-30 02:48:13 -07:00
test_syslog.py [3.10] Add more syslog tests (GH-97953). (GH-98101) 2022-10-09 14:21:10 +03:00
test_tabnanny.py [3.10] bpo-46198: rename duplicate tests and remove unused code (GH-30297) (GH-31796) 2022-03-10 13:53:50 -08:00
test_tarfile.py [3.10] gh-107845: Fix symlink handling for tarfile.data_filter (GH-107846) (#108210) 2023-08-22 18:02:30 +01:00
test_tcl.py
test_telnetlib.py
test_tempfile.py [3.10] gh-91133: tempfile.TemporaryDirectory: fix symlink bug in cleanup (GH-99930) (GH-112840) 2024-01-17 14:49:56 +01:00
test_textwrap.py
test_thread.py
test_threadedtempfile.py
test_threading.py
test_threading_local.py [3.10] GH-100892: Fix race in clearing threading.local (GH-100922). (#100938) 2023-01-11 21:02:02 +05:30
test_threadsignals.py
test_time.py bpo-46530: add "thread_time" to test_time.test_get_clock_info (GH-30913) 2022-01-28 08:56:50 -08:00
test_timeit.py
test_timeout.py
test_tix.py [3.10] bpo-46633: Skip tests on ASAN and/or MSAN builds (GH-31632) (GH-31634) 2022-03-02 17:05:14 +01:00
test_tk.py [3.10] bpo-46633: Skip tests on ASAN and/or MSAN builds (GH-31632) (GH-31634) 2022-03-02 17:05:14 +01:00
test_tokenize.py [3.10] gh-99581: Fix a buffer overflow in the tokenizer when copying lines that fill the available buffer (GH-99605). (#99630) 2022-11-20 22:30:15 +00:00
test_trace.py gh-51524: Fix bug when calling trace.CoverageResults with valid infile (GH-99629) 2022-11-27 23:08:12 -08:00
test_traceback.py
test_tracemalloc.py
test_ttk_guionly.py [3.10] bpo-46633: Skip tests on ASAN and/or MSAN builds (GH-31632) (GH-31634) 2022-03-02 17:05:14 +01:00
test_ttk_textonly.py
test_tuple.py
test_turtle.py bpo-44734: Fix floating point precision in test_turtle (GH-30910) 2022-01-27 06:21:15 -08:00
test_type_annotations.py
test_type_comments.py [3.10] gh-94996: Disallow parsing pos only params with feature_version < (3, 8) (GH-95935) 2022-08-12 12:03:44 -07:00
test_typechecks.py
test_types.py gh-93021: Fix __text_signature__ for __get__ (GH-93023) (GH-94086) 2022-06-21 22:32:24 +02:00
test_typing.py [3.10] gh-102721: Improve coverage of _collections_abc._CallableGenericAlias (GH-102790) 2023-03-17 13:11:58 -07:00
test_ucn.py
test_unary.py
test_unicode.py gh-94808: improve test coverage of number formatting (GH-99472) 2022-12-23 18:14:14 -08:00
test_unicode_file.py
test_unicode_file_functions.py
test_unicode_identifiers.py
test_unicodedata.py gh-99892: test_unicodedata: skip test on download failure (GH-100011) 2022-12-05 08:05:17 -08:00
test_unittest.py
test_univnewlines.py
test_unpack.py
test_unpack_ex.py
test_unparse.py gh-92986: Fix ast.unparse when ImportFrom.level is None (GH-92992) 2022-09-05 10:39:52 -07:00
test_urllib.py
test_urllib2.py [3.10] gh-115197: Stop resolving host in urllib.request proxy bypass (GH-115210) (GH-116070) 2024-03-19 11:53:33 +01:00
test_urllib2_localnet.py gh-87497: Document that urllib.request sends headers in camel case (GH-24661) (#91517) 2022-04-19 18:20:03 -07:00
test_urllib2net.py GH-93112: Fix missing ResourceDenied import in test_urllib2net (GH-93113) 2022-05-24 05:32:19 -07:00
test_urllib_response.py
test_urllibnet.py
test_urlparse.py [3.10] [3.11] gh-102153: Start stripping C0 control and space chars in urlsplit (GH-102508) (GH-104575) (#104592) 2023-05-17 16:06:06 -07:00
test_userdict.py
test_userlist.py
test_userstring.py
test_utf8_mode.py
test_utf8source.py
test_uu.py [3.10] gh-99889: Fix directory traversal security flaw in uu.decode() (GH-104096) (#104330) 2023-05-09 09:46:47 -07:00
test_uuid.py
test_venv.py gh-98251: Allow venv to pass along PYTHON* variables to pip and ensurepip when they do not impact path resolution (GH-98259) 2022-10-14 09:22:19 -07:00
test_wait3.py
test_wait4.py
test_wave.py
test_weakref.py gh-99051: remove duplicated test from test_weakref (GH-99052) 2022-11-06 11:50:12 -08:00
test_weakset.py
test_webbrowser.py
test_winconsoleio.py
test_winreg.py bpo-43984: Allow winreg.SetValueEx to set -1 without treating it as an error (GH-25775) 2022-12-09 05:17:25 -08:00
test_winsound.py
test_with.py
test_wsgiref.py
test_xdrlib.py
test_xml_dom_minicompat.py
test_xml_etree.py [3.10] gh-117187: Fix XML tests for vanilla Expat <2.6.0 (GH-117203) (GH-117246) 2024-03-27 14:44:58 +01:00
test_xml_etree_c.py
test_xmlrpc.py [3.10] gh-95778: CVE-2020-10735: Prevent DoS by very large int() (#96501) 2022-09-02 09:51:49 -07:00
test_xmlrpc_net.py
test_xxlimited.py
test_xxtestfuzz.py
test_yield_from.py
test_zipapp.py
test_zipfile.py [3.10] gh-109858: Protect zipfile from "quoted-overlap" zipbomb (GH-110016) (GH-113914) 2024-01-17 14:50:10 +01:00
test_zipfile64.py [3.10] bpo-46425: Fix direct invocation of multiple test modules (GH-30666) (GH-30699) 2022-01-20 10:44:21 +09:00
test_zipimport.py gh-92886: Fix tests that fail when running with optimizations (-O) in test_zipimport.py (GH-93236) 2022-06-10 16:32:27 -07:00
test_zipimport_support.py
test_zlib.py
testcodec.py
testtar.tar
testtar.tar.xz
tf_inherit_check.py
time_hashlib.py
tokenize_tests-latin1-coding-cookie-and-utf8-bom-sig.txt
tokenize_tests-no-coding-cookie-and-utf8-bom-sig-only.txt
tokenize_tests-utf8-coding-cookie-and-no-utf8-bom-sig.txt
tokenize_tests-utf8-coding-cookie-and-utf8-bom-sig.txt
tokenize_tests.txt
win_console_handler.py
xmltests.py
zip_cp437_header.zip
zipdir.zip