cpython/Lib
Sam Gross 2905690a91
gh-130851: Don't crash when deduping unusual code constants (#130853)
The bytecode compiler only generates a few different types of constants,
like str, int, tuple, slices, etc. Users can construct code objects with
various unusual constants, including ones that are not hashable or not
even constant.

The free threaded build previously crashed with a fatal error when
confronted with these constants. Instead, treat distinct objects of
otherwise unhandled types as not equal for the purposes of deduplication.
2025-03-05 15:04:49 +01:00
..
__phello__
_pyrepl gh-128231: Use runcode() return value for failing early (GH-129488) 2025-02-24 15:50:13 +01:00
asyncio gh-128002: use efficient linked list implementation for eager tasks in asyncio (#130518) 2025-03-03 06:36:43 +00:00
collections Fix outdated reference link in collections module (gh-130349) 2025-02-20 23:58:58 +00:00
concurrent Revert "gh-128041: Add terminate_workers and kill_workers methods to ProcessPoolExecutor (GH-128043)" (#130838) 2025-03-04 11:19:06 -05:00
ctypes gh-119349: Add ctypes.util.dllist -- list loaded shared libraries (GH-122946) 2025-02-08 14:02:36 +01:00
curses
dbm
email gh-80222: Fix email address header folding with long quoted-string (#122753) 2025-01-18 19:50:52 -05:00
encodings
ensurepip gh-129583: update bundled pip to 25.0.1 (#129909) 2025-02-10 12:21:04 +02:00
html
http gh-128982: Revert "#128982: Substitute regular expression in http.cookiejar.join_header_words for an efficient alternative (GH-128983)" and add tests (GH-130584) 2025-02-26 15:42:39 +01:00
idlelib gh-69001: Convert links to more usable buttons (#129591) 2025-02-20 08:30:57 +00:00
importlib gh-130094: Fix race conditions in importlib (gh-130101) 2025-02-18 18:02:42 -05:00
json
logging gh-127712: Fix secure argument of logging.handlers.SMTPHandler (GH-127726) 2025-02-10 12:34:27 +00:00
multiprocessing gh-129948: Add set() to multiprocessing.managers.SyncManager (#129949) 2025-02-23 20:07:33 +00:00
pathlib GH-128520: Merge pathlib._abc into pathlib.types (#130747) 2025-03-03 17:56:57 +00:00
pydoc_data Remove trailing whitespace in Lib/pydoc_data/topics.py (#130014) 2025-02-11 23:28:28 +02:00
re
site-packages
sqlite3 gh-105875: amend sqlite3 docstring wrt. SQLite requirement (#129599) 2025-02-02 23:03:54 +00:00
sysconfig GH-107956: install build-details.json (PEP 739) (#130069) 2025-02-13 13:58:00 +00:00
test gh-130851: Don't crash when deduping unusual code constants (#130853) 2025-03-05 15:04:49 +01:00
tkinter gh-128562: Fix generation of the tkinter widget names (GH-128604) 2025-01-13 15:54:46 +00:00
tomllib gh-118761: Improve import time of tomllib (#128907) 2025-01-16 18:48:42 -08:00
turtledemo
unittest gh-128595: Default to stdout isatty for colour detection instead of stderr (#128498) 2025-01-20 12:52:42 +02:00
urllib gh-105704: Disallow square brackets ([ and ]) in domain names for parsed URLs (#129418) 2025-01-31 09:41:34 -08:00
venv
wsgiref
xml gh-128302: Fix bugs in xml.dom.xmlbuilder (GH-128284) 2025-01-07 12:40:41 +02:00
xmlrpc
zipfile gh-118761: Improve import time for pstats and zipfile (#128981) 2025-01-23 14:49:36 +00:00
zoneinfo
__future__.py
__hello__.py
_aix_support.py
_android_support.py
_apple_support.py
_collections_abc.py
_colorize.py gh-129061: Fix FORCE_COLOR and NO_COLOR when empty strings (#129140) 2025-01-27 16:24:10 +02:00
_compat_pickle.py
_compression.py
_ios_support.py
_markupbase.py _markupbase.py: Use a permalink for the analysis of MS-Word extensions (GH-129017) 2025-02-06 11:40:43 +01:00
_opcode_metadata.py GH-128534: Instrument branches for async for loops. (GH-130569) 2025-02-27 09:36:41 +00:00
_osx_support.py
_py_abc.py
_pydatetime.py gh-107773: Make datetime subclass repr consistent both implementations (#130308) 2025-02-23 16:29:31 -05:00
_pydecimal.py
_pyio.py gh-129005: Align FileIO.readall between _pyio and _io (#129705) 2025-02-07 12:06:11 +01:00
_pylong.py
_sitebuiltins.py
_strptime.py
_threading_local.py
_weakrefset.py
abc.py
annotationlib.py
antigravity.py
argparse.py
ast.py gh-127975: Avoid reusing quote types in ast.unparse if not needed (#127980) 2025-01-31 08:49:06 +00:00
base64.py gh-118761: substitute re import in base64.b16decode for a more efficient alternative (#128736) 2025-01-14 13:25:33 +00:00
bdb.py gh-82987: Stop on calling frame unconditionally for inline breakpoints (#130493) 2025-03-04 11:35:47 -05:00
bisect.py
bz2.py
calendar.py gh-130665: Only apply locale to calendar CLI via --locale and not LANG env var (#130676) 2025-02-28 16:24:05 +02:00
cmd.py gh-118761: Improve import time of cmd module (#130056) 2025-02-17 20:06:08 +00:00
code.py gh-130660: Restore sys.ps1 and sys.ps2 after code.interact (#130661) 2025-02-28 13:15:55 -05:00
codecs.py
codeop.py
colorsys.py
compileall.py
configparser.py gh-128641: Fix ConfigParser.read Perfomance Regression (#129596) 2025-02-24 00:20:37 +00:00
contextlib.py
contextvars.py
copy.py
copyreg.py
cProfile.py
csv.py gh-118761: Improve import time for csv (#128858) 2025-01-18 11:45:18 +01:00
dataclasses.py gh-128184: Fix display of signatures with ForwardRefs (#130815) 2025-03-04 06:58:37 -08:00
datetime.py
decimal.py
difflib.py gh-129939: Add darkmode support for difflib's comparison pages (#129940) 2025-02-11 10:58:57 +02:00
dis.py GH-90916: Add helper function to dis.Instruction and use it to reduce churn in test_dis (GH-130643) 2025-03-04 16:43:39 +00:00
doctest.py gh-128595: Default to stdout isatty for colour detection instead of stderr (#128498) 2025-01-20 12:52:42 +02:00
enum.py
filecmp.py
fileinput.py
fnmatch.py
fractions.py
ftplib.py
functools.py gh-127750: Improve repr of functools.singledispatchmethod (GH-130220) 2025-03-05 13:10:05 +02:00
genericpath.py
getopt.py
getpass.py
gettext.py gh-118761: Improve the import time of `gettext` (#128898) 2025-01-20 00:01:20 +00:00
glob.py Revert "GH-116380: Speed up glob.[i]glob() by making fewer system calls. (#116392)" (#130743) 2025-03-01 20:04:01 +00:00
graphlib.py gh-129892: Doc: Remove unnecessary role directive in graphlib.py (#129896) 2025-02-09 18:22:57 +03:00
gzip.py gh-129726: Break gzip.GzipFile reference loop (#130055) 2025-02-28 09:09:24 +01:00
hashlib.py
heapq.py
hmac.py
imaplib.py gh-55454: Add IMAP4 IDLE support to imaplib (#122542) 2025-02-06 19:15:11 -08:00
inspect.py gh-128184: Fix display of signatures with ForwardRefs (#130815) 2025-03-04 06:58:37 -08:00
io.py
ipaddress.py
keyword.py
linecache.py
locale.py gh-129646: Update the locale alias mapping (#129647) 2025-02-04 16:22:05 +01:00
lzma.py
mailbox.py
mimetypes.py gh-129965: Add missing MIME types (#129969) 2025-02-21 15:44:53 +00:00
modulefinder.py
netrc.py
ntpath.py
nturl2path.py
numbers.py
opcode.py Revert "GH-128914: Remove conditional stack effects from bytecodes.c and the code generators (GH-128918)" (GH-129202) 2025-01-23 09:26:25 +00:00
operator.py
optparse.py gh-118761: Redudce the import time of `optparse` (#128899) 2025-01-20 00:03:19 +00:00
os.py
pdb.py gh-125377: Improve tab indentation for pdb multi-line input (#130471) 2025-03-04 15:45:38 -05:00
pickle.py gh-118761: Improve import time of the pickle module. (#128732) 2025-01-14 12:26:26 +01:00
pickletools.py
pkgutil.py
platform.py
plistlib.py
poplib.py gh-130637: Add validation for numeric response data in stat() method (#130646) 2025-03-02 08:05:40 -05:00
posixpath.py
pprint.py
profile.py
pstats.py gh-118761: Improve import time for pstats and zipfile (#128981) 2025-01-23 14:49:36 +00:00
pty.py
py_compile.py
pyclbr.py
pydoc.py gh-128772: Fix pydoc for methods with __module__ is None (GH-129177) 2025-02-04 16:25:49 +02:00
queue.py
quopri.py
random.py gh-130285: Fix handling of zero or empty counts in random.sample() (gh-130291) 2025-02-21 11:33:10 -06:00
reprlib.py
rlcompleter.py
runpy.py
sched.py
secrets.py
selectors.py
shelve.py
shlex.py
shutil.py gh-81340: Use copy_file_range in shutil.copyfile copy functions (GH-93152) 2025-02-03 10:23:27 +00:00
signal.py
site.py gh-128779: Fix site venv() for system site-packages (#129184) 2025-01-30 00:02:31 +00:00
smtplib.py
socket.py gh-128916: Do not set SO_REUSEPORT on non-AF_INET* sockets (GH-128933) 2025-01-17 16:49:16 -08:00
socketserver.py gh-128916: Do not set SO_REUSEPORT on non-AF_INET* sockets (GH-128933) 2025-01-17 16:49:16 -08:00
sre_compile.py
sre_constants.py
sre_parse.py
ssl.py
stat.py
statistics.py
string.py gh-71494: string.Formatter: support keys/attributes in unnumbered fields (GH-21767) 2025-01-31 13:16:24 +01:00
stringprep.py
struct.py
subprocess.py gh-118761: Revert "Improve import time of subprocess (GH-129427)" (#130201) 2025-02-16 18:40:08 +00:00
symtable.py
tabnanny.py
tarfile.py
tempfile.py gh-127371 Avoid unbounded growth SpooledTempfile.writelines (GH-127372) 2025-03-05 00:06:07 +02:00
textwrap.py
this.py
threading.py gh-129403: Fix ValueError messages in asyncio.Barrier and threading.Barrier (#129419) 2025-01-30 11:11:12 +03:00
timeit.py
token.py
tokenize.py gh-125553: Fix backslash continuation in untokenize (#126010) 2025-01-21 19:58:44 +00:00
trace.py
traceback.py gh-130250: fix regression in traceback.print_last (#130318) 2025-02-19 21:44:35 +00:00
tracemalloc.py
tty.py
turtle.py gh-126349: Add 'fill', 'poly', and 'no_animation' context managers to turtle (#126350) 2025-01-18 11:27:22 +01:00
types.py
typing.py gh-105499: Merge typing.Union and types.UnionType (#105511) 2025-03-04 11:44:19 -08:00
uuid.py gh-89083: add support for UUID version 7 (RFC 9562) (#121119) 2025-03-04 10:47:19 +01:00
warnings.py gh-129842: warnings.py: Remove obsolete requirement reference (GH-129845) 2025-02-08 13:57:17 +01:00
wave.py
weakref.py
webbrowser.py
zipapp.py gh-130379: Fix incorrect zipapp logic to avoid including the target in itself (gh-130509) 2025-02-26 11:25:30 +00:00
zipimport.py gh-125746: Delay deprecated zipimport.zipimporter.load_module removal time to 3.15 (#125748) 2025-02-11 23:59:09 +00:00