Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork34.2k
gh-144475: Fix a heap buffer overflow in partial_repr#144571
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Closed
+35,766 −22,725
Closed
Changes fromall commits
Commits
Show all changes
231 commits Select commitHold shift + click to select a range
b0ffe74 Fix a heap buffer overflow in partial_repr
bkap1237c1ed7e 📜🤖 Added by blurb_it.
blurb-it[bot]2723186 Update 2026-02-07-16-37-42.gh-issue-144475.8tFEXw.rst
bkap123239c40d Update 2026-02-07-16-37-42.gh-issue-144475.8tFEXw.rst
bkap123e53d7e9 Apply suggestion from @picnixz
bkap123661af78 Updates to partial_repr
bkap1235ce61d9 Update 2026-02-07-16-37-42.gh-issue-144475.8tFEXw.rst
bkap12392eb6ea Added test and fixed bug in functions/keword arguments
bkap1235bf71f9 Update 2026-02-07-16-37-42.gh-issue-144475.8tFEXw.rst
bkap123cf63067 Update 2026-02-07-16-37-42.gh-issue-144475.8tFEXw.rst
bkap123838c8b1 Merge branch 'main' into fix-functools_partial_repr_bug
bkap123cb25ea5 improved goto logic
bkap123e18f2ad Merge branch 'main' into fix-functools_partial_repr_bug
bkap123f1dc06f Merge branch 'main' into fix-functools_partial_repr_bug
bkap12330d39f4 Update 2026-02-07-16-37-42.gh-issue-144475.8tFEXw.rst
bkap123a004007 Update 2026-02-07-16-37-42.gh-issue-144475.8tFEXw.rst
bkap12324307a2 Update 2026-02-07-16-37-42.gh-issue-144475.8tFEXw.rst
bkap123192ff1e Update 2026-02-07-16-37-42.gh-issue-144475.8tFEXw.rst
bkap123715949f Merge branch 'main' into fix-functools_partial_repr_bug
bkap123a196de4 goto rename with error
bkap123ac8ff42 Merge remote-tracking branch 'upstream/main' into fix-functools_parti…
bkap1230a102fd test update
bkap123464fd67 gh-144490: Fix mimalloc debug build for C++ (#144620)
yoney39ebd56 gh-144652: Support Windows exit status in support get_signal_name() (…
vstinner6aa0be4 gh-143650: Fix importlib race condition on import failure (GH-143651)
gpsheadf074be1 Clarify the docs for `args` in asyncio callbacks (#143873)
akx7f4312b gh-134584: Optimize `_BINARY_OP_SUBSCR_LIST_SLICE` (GH-144659)
Sacul04574601e9c gh-144629: Add test for the PyFunction_GetAnnotations() function (#14…
nybblista9784156 gh-141563: Add missing cast to _PyDateTime_IMPORT() (#144667)
vstinnerfceed06 gh-141563: Don't test datetime.h with the limited C API (#144673)
vstinner00c0a4a gh-133879: Copyedit "What's new in Python 3.15" (#144661)
hugovk227e8f4 gh-141563: Fix test_cext on Windows (#144677)
vstinnerf1dcc5b gh-141563: Fix test_cppext on macOS (#144685)
vstinnera343e30 docs: profiling.sampling: Fix sampling-rate default value description…
dubek25648d5 gh-138122: Add sampling profiler visualisation to docs (#142772)
lkollar1dc38d7 gh-140421: Disable perf trampoline on older macOS (#144647)
jmrootf67040f gh-106318: Improve str.rstrip() method doc (#143893)
adorilson014e849 Python 3.15.0a6
hugovk540eb0a Post 3.15.0a6
hugovkcd82c3b gh-144321: Fix named tuple bug when input is a non-sequence iterable …
bkap123cac6fed gh-142518: Define lock-free and per-object lock (#144548)
lysnikolaou5c2a6df Docs: remove links of modules to themselves (#144695)
nedbatc7ebadd gh-142518: Document thread-safety guarantees of dict operations (#144…
lysnikolaou25ce2a3 gh-144639: Ruff: target Python 3.14 syntax in `Lib/test` (#144656)
hugovk2ce2e1e gh-143300: implement `PyUnstable_SetImmortal` for marking objects as …
kumaraditya3039c6c44f Fix typos and grammar errors across documentation (#144709)
him2him2974cbd7 gh-141563: Enable test_cppext internal C API tests on macOS (#144711)
vstinner4dbc464 gh-84424: Use numeric_changed for UCD.numeric (GH-19457)
wmeehan48c7b6b gh-144675: update to WASI SDK 30 (#144676)
rvolosatovse390afc gh-142349: Implement PEP 810 - Explicit lazy imports (#142351)
pablogsal92a865c gh-106318: Fix incorrectly rendered code block in `str.isalnum()` doc…
adorilsondae3dda gh-142349: Fix build errors from PEP 810 (#144726)
pablogsalfd4cc86 Add missing step to `Modules/expat/refresh.sh` instructions (GH-144719)
StanFromIrelandc891299 gh-57095: Add note about input splitting in `datetime.*.strptime` (GH…
StanFromIrelanda46495c gh-142349: Fix refcount corruption in lazy import specialization (#14…
pablogsalbc2cc21 gh-144285: Improve `AttributeError` attribute suggestions (#144299)
johnslavik8eaeb52 gh-138744: Upgrade Windows to 2025 in GitHub Actions (#144682)
vstinner2c45bbe gh-121617: Include <string.h> for Py_CLEAR() macro (#144666)
vstinner669df2e gh-80667: Fix case-sensitivity of some Unicode literal escapes (GH-10…
SnoopJ66741f7 gh-135906: Test more internal headers in test_cext/test_cppext (#144751)
vstinner05c706a gh-143916: Allow HTAB in wsgiref header values
sethmlarson13d9e3c gh-144706: Warn against using synchronization primitives within signa…
robsdedude8679922 gh-143637: Fix re-entrant mutation of ancillary data in socket.sendms…
priyanshu2282-cybere3947e0 gh-144787: [tests] Allow TLS v1.2 to be minimum version (GH-144790)
colin-pm0e71002 gh-144551: Update Windows builds to use OpenSSL 3.0.19 (GH-144793)
zware5a3ecca gh-144551: Update CI to use latest OpenSSL versions (GH-144794)
zware5671719 gh-136672: Docs: Move parts of Enum HOWTO to API Docs (GH-139176)
RafaelWOfa90ebd gh-144551: Update Windows builds to use OpenSSL 3.5.5 (GH-144796)
zware12cc209 gh-144551: Update OpenSSL version references in Mac/BuildScript/ (GH-…
zware10845cb gh-144551: Update various CI jobs to OpenSSL 3.5 (GH-144808)
zwarea12a0e0 gh-138912: Improve MATCH_CLASS opcode performance (GH-138915)
cdce8p0815f74 gh-144766: Fix a crash in fork child process when perf support is ena…
yilei9835ec6 remove unused _PyFunction_LookupByVersion (GH-144814)
chris-eible0b5abb fix warnings in jit builds (GH-144817)
chris-eibl178ea28 gh-144822: remove redundant decref in `codegen.c` (#144823)
benediktjohannes0b1ce1d gh-144759: Fix undefined behavior from NULL pointer arithmetic in lex…
raminfpc986a1a add whatsnew entry for `PyUnstable_SetImmortal` and `PyDatetime_IMPOR…
kumaraditya3034e1ea49 gh-142349: Add CODEOWNERS for lazy imports (#144840)
pablogsal78f8efd Format CODEOWNERS file (#144842)
pablogsalbaa8a32 gh-144727: Add test for circular lazy import crash (#144727) (#144838)
pablogsal22df6fe gh-86519: Add prefixmatch APIs to the re module (GH-31137)
gpsheada70fbd9 gh-144833: Fix use-after-free in SSL module when SSL_new() fails (GH-…
raminfp4ac371e gh-144551: Update Android builds to use OpenSSL 3.0.19 (GH-144864)
zwared1fd1e7 gh-144551: Update iOS builds to use OpenSSL 3.0.19 (GH-144865)
zware74ad485 gh-80667: Fix Tangut ideographs names in unicodedata (GH-144789)
serhiy-storchakac7391db bpo-32234: Allow mailbox instances as context managers (GH-4770)
sblondon1fd0d45 gh-144878: Gate PEP 810 builtins in xpickle compat tests (#144889)
pablogsal9edaade gh-140715: Add `%D` format code support to `strptime()` (GH-144819)
jyalimb5bb2b7 gh-142349: Fix ast.unparse for lazy import statements (#144893)
pablogsalcb8ce7e gh-144782: Make sure that ArgumentParser instances are pickleable (#1…
mauvilsaa13c261 gh-143637: Fix test_socket.test_sendmsg_reentrant_ancillary_mutation(…
vstinner1044beb gh-141510, PEP 814: Add built-in frozendict type (#144757)
vstinner825a1c4 Enable CPU tests on default ARM build (#144743)
hugovka32ba67 gh-141510: Update mp_length of frozendict to use non atomic operation…
corona1013c721f gh-141510: Remove unncessary lock holding for frozendict repr (gh-144…
corona103f3bd45 gh-144438: Fix false sharing between QSBR and tlbc_index (gh-144554)
colesburydc4da97 gh-141510: Optimize hash(frozendict) (#144919)
vstinnereaf0368 gh-141510: Change repr(frozendict) for empty dict (#144921)
vstinnerb5d4f89 gh-141510: Update `test_xpickle` for `frozendict` (#144927)
StanFromIrelandc2b8cdf gh-141510: Optimize {frozen}dict.fromkeys for frozendict (gh-144915)
corona10d144505 gh-141510: Mention frozendict in dict documentation (#144934)
vstinner839d770 gh-144914: use `mimalloc` for raw allocations on free-threading (#144…
kumaraditya30350fb255 Move CODEOWNERS rule from devguide (GH-144924)
StanFromIreland80f9b37 Docs: Remove unnecessary entry from `nitpick_ignore` (GH-144933)
StanFromIreland2599349 Docs: an "improve this page" feature (#144939)
nedbat80e9d32 gh-142224: unicodedata: support bidi classes for unassigned code poin…
StanFromIreland75d1eaa gh-144882: Optimize name tables in unicodedata by excluding names der…
serhiy-storchaka731e4f9 gh-144386: Update equivalent code for "with", "async with" and "async…
serhiy-storchakaca156b5 gh-135573: Make pickled lists, sets and dicts a tiny bit smaller (GH-…
serhiy-storchaka583b9d7 gh-141510: Implement copy and deepcopy for frozendict (#144905)
eendebakpt37e54b1 gh-140652: Fix a crash in _interpchannels.list_all() after closing a …
serhiy-storchaka9891e9c gh-141984: Reword and reorganize the first part of Atoms docs (GH-144…
encukou32e22ac gh-124748: Fix handling kwargs in `WeakKeyDictionary.update()` (#124783)
rigilfanov2fe8083 Datetime: Tidy up docs (GH-144720)
StanFromIreland208727d gh-141510: Add frozendict fast-path to the set type (#144912)
vstinner77fe2c7 gh-141510: Add can_modify_dict() in dictobject.c (#144955)
vstinnerc43117e gh-141510: Fix frozendict.fromkeys() for subclasses (#144952)
vstinnere19d9ae gh-144763: Don't detach the GIL in tracemalloc (#144779)
vstinnerf223393 gh-135573: Add tests for pickle opcodes with wrong types (GH-144950)
serhiy-storchakaed328b5 gh-141510: Update specializer to support frozendict (gh-144949)
corona1064c7efd gh-141510: Fix frozendict.fromkeys() for dict subclasses (#144962)
vstinnerb7da1f0 gh-141510: Replace MappingProxyType with frozendict (#144904)
vstinner36385c8 gh-144969: Document that the free threading GC can change ob_tid (#14…
colesbury5a4cbbd gh-144888: Don't invalidate executors during function deallocation (#…
Fidget-Spinnerb2c405d Remove unused :platform: in module's docs (GH-144988)
StanFromIrelandb2a1b6f GH-144651: Optimize the new uops added when recording values during t…
markshannon8174d4e GH-144679: When building with VS 2026 on Windows, use PlatformToolset…
chris-eibleb40599 gh-141510: Update Whats News for frozendict (gh-144961)
corona10749f404 gh-144702: Use standard terminology in class pattern error message (#…
sharkdp49f6013 gh-141510: Update ftscalingbench to support frozendict (gh-144999)
corona106fdfc43 gh-84393: Remove AIX workaround: re-enable posix_fadvise and f_alloca…
encukoud51318d gh-139899: Introduce MetaPathFinder.discover and PathEntryFinder.disc…
FFY00863dbc2 GH-134872: add ModuleNotFoundError suggestions (#142512)
FFY0060d6b7e GH-144679: MSVC tailcall CI no longer needs to specify PlatformToolse…
chris-eiblfed90e6 `compute-changes.py`: Fix & test `process_changed_files()` (#144674)
StanFromIrelande63f2ea GH-144679: Switch to windows-2025-vs2026 build image in GitHub Action…
chris-eibl21ab5a3 gh-144156: Fix email header folding concatenating encoded words (#144…
robsdedudec155613 gh-100239: Use ``PyFloat_AS_DOUBLE`` and `_PyLong_IsZero`` in the flo…
chris-eibl0ddf0ff Add myself as a codeowner for the C API documentation (#145017)
ZeroIntensity8e04b79 gh-144986: Fix memory leak in atexit.register() (#144987)
ashm-deva77e9d5 gh-141510: Document ParameterizedMIMEHeader.params change (#145003)
vstinnerf0cf076 Correct MAX_N in Lib/zipfile ZipExtFile (GH-144973)
jberg58379f32 Docs: remove unneeded author attributions (#145002)
nedbat7949f76 Update comments in `_strptime` module (GH-144979)
anton-ryzhovd301409 gh-141811: Split up `init.rst` into multiple pages (GH-144844)
ZeroIntensity5c858b3 Simplify summary tables in the itertools docs (gh-145050)
rhettinger231b811 gh-144981: Make PyUnstable_Code_SetExtra/GetExtra thread-safe (#144980)
yoneyf507369 Fix errors in `CODEOWNERS` (#145049)
StanFromIreland82db0b0 gh-144809: Make deque copy atomic in free-threaded build (gh-144966)
colesburyd59fe3a gh-144748: Document 3.12 and 3.14 changes to `PyErr_CheckSignals` (GH…
ZeroIntensity7f3d407 gh-145028: Fix blake2 tests in test_hashlib when it is missing due to…
tucifb9724c4 gh-144694: Fix re.Match.group() doc claiming [1..99] range limit (#14…
mohsinm-dev2324277 gh-141510, PEP 814: Add frozendict support to pickle (#144967)
vstinner502d21b gh-143698: correctly check `scheduler` and `setpgroup` values for `os…
picnixz87f4507 gh-141510, PEP 814: Add frozendict support to json (#144903)
vstinneref867b3 gh-142516: fix reference leaks in `ssl.SSLContext` objects (#143685)
picnixz2c9962b gh-141226: Deprecate PEP-456 support for embedders (#141287)
picnixz8a2e4dd gh-141510: Fix test_xpickle for Python 3.14 and older (#145069)
vstinnerd982910 gh-144285: Update *What's New* entry after GH-144299 (#145077)
johnslavik5fb3e72 gh-145058: Add input validation to `_PyImport_LazyImportModuleLevelOb…
StanFromIrelandc3796f2 Use `lazy` imports in `collections` (gh-145054)
rhettingerb58bb04 gh-141510: Fix copy.deepcopy() for recursive frozendict (#145027)
vstinnerc6d8dd6 gh-141510: Test frozendict C API (#145081)
vstinnerbb67255 gh-141510: Support frozendict in pprint (#144908)
vstinner8816570 gh-141510: Check argument in PyDict_MergeFromSeq2() (#145082)
vstinner7938d2f gh-66802: Add `unicodedata.block()` function (#145042)
StanFromIrelanda5ce713 gh-141510: Check argument in PyDict_Contains() (#145083)
vstinnerb11c1a4 gh-141510: Test frozendict in test_capi.test_dict (#145084)
vstinner0b326a5 gh-141510: Change dict_unhashable_type() error message for frozendict…
vstinnerff15c9e gh-145076: Check globals type in __lazy_import__() (#145086)
vstinnerd2bf310 gh-145092: Fix compiler warning for memchr() and wcschr() returning c…
heitbaum6b7dc4d Fix warnings on main (GH-145104)
chris-eibla18d210 Refactor jit.yml (#144577)
savannahostrowskic06cdc2 gh-145064: Fix JIT assertion failure during CALL_ALLOC_AND_ENTER_INI…
cocolato60c0567 gh-145131: difflib.Differ._fancy_replace performance (re-use ratio) (…
dg-pb223990f gh-144015: Add portable SIMD optimization for bytes.hex() et. al. (GH…
gpsheadb19a59d gh-145089: Fix frozendict constructor (#145128)
vstinner4763dd7 gh-141004: Document `PyModuleDef_Type` (GH-145043)
ZeroIntensityfb04208 gh-144777: Fix data races in IncrementalNewlineDecoder (gh-144971)
colesburyd9f4bc7 Update argparse `suggest_on_error` code snippet in docs (#144985)
savannahostrowski38e46f5 Add Savannah as `jit.yml` CODEOWNER (#145152)
savannahostrowskicbdc578 Indexing is more straight-forward (and faster) than unpacking (gh-145…
rhettingerf054382 gh-145118: Add `frozendict` support to `str.maketrans()` (gh-145129)
StanFromIreland91c48a0 Update Python install manager docs (GH-145160)
zoobaafa18e1 gh-145110: Fix cleaning of PGO builds in Windows build.bat script (GH…
chris-eibl21f1eae gh-110937: Document full public importlib.metadata.Distribution API (…
flying-sheep605bbc2 `_struct.c`: Fix UB from integer overflow in `prepare_s` (GH-145158)
StanFromIrelandeec5555 gh-101178: Fix possible integer overflow in Ascii85 encoder with wrap…
serhiy-storchaka79b918d gh-66305: Fix a hang on Windows in the tempfile module (GH-144672)
serhiy-storchaka2231fac gh-137335: Fix unlikely name conflicts for named pipes in multiproces…
serhiy-storchakae2bf2ac gh-143304: Fix ctypes.CDLL to honor handle parameter on POSIX systems…
Koolvansh075a269aa Fix `inspect.Parameter` docstring on the `kind` attribute (GH-143541)
johnslavik4b79957 gh-145122: Add _GUARD_NOS_ANY_DICT to prevent STORE_SUBSCR_DICT on fr…
corona101d94bd7 gh-143535: Dispatch on the second argument if generic method is insta…
johnslavik26fbbfd gh-88091: Fix unicodedata.decomposition() for Hangul Syllables (GH-14…
StanFromIrelandbff02ce gh-145187: Fix crash on invalid type parameter bound expression in co…
StanFromIreland3afea78 gh-136677: Introduce executable specific linker flags to configure (#…
rueteh08059f6 GH-145006: add ModuleNotFoundError hints when a module for a differen…
FFY00e68a542 gh-47655: Add support for user data and detail of Tk events to tkinte…
mkiever61f597d GH-145000: Add a tool to record/check removed HTML IDs (#145001)
encukoufd0e4b4 gh-85809: Ensure shutil.make_archive accepts path-like objects in all…
tadejmagajna0f4a555 Update status of blockers on combining pixi packges variant sources (…
FFY0033ff6f6 gh-142518: Move thread safety sections into a new page (#144716)
lysnikolaou19b8f2a Fix "lazy from (...) import (...)" tests (#145213)
FFY0015cab95 Fix compileall in lazy imports test data with bad syntax (#145221)
FFY00d129eae gh-145197: Fix JIT trace crash when recording function from cleared g…
cocolato8c5b2d1 gh-144156: move news entry to Library (#145205)
robsdedudebf5ae6d gh-145037: Fix Emscripten trampoline with emcc >= 4.0.19 (#145038)
hoodmane3032154 gh-145202: Fix crash in unicodedata's GraphemeBreakIterator and Segme…
serhiy-storchaka7e3e3c7 gh-106318: Add examples for str.rjust() method (#143890)
adorilson9577f19 gh-144190: Clarify get_type_hints() instance behavior in docs (#144831)
iamrajhans50beac6 gh-141510: Update `PyDict_Copy` documentation with note on `frozendic…
eendebakptb9b2499 gh-144316: Fix missing exception in _remote_debugging with debug=Fals…
taegyunkim0c4d940 gh-141510: support frozendict's in the C decimal module (gh-145165)
skirpichev18910cc gh-144872: fix heap buffer overflow `_PyTokenizer_ensure_utf8` (#144807)
AdamKorcz26a469c gh-142787: Handle empty sqlite3 blob slices (#142824)
abdoulrasheed03ab030 Fix unlikely potential reference leak in _locale._getdefaultlocale (G…
serhiy-storchaka6bedc25 gh-123853: Cleanup Windows 95 locale fallback support (#144738)
mokurin000aca1c73 gh-145234: Normalize decoded CR in string tokenizer (#145281)
pablogsal2ccbe65 gh-141004: Document missing type flags (GH-145127)
ZeroIntensityb1ae874 gh-144693: Clarify that `PyFrame_GetBack` does not raise exceptions (…
taegyunkimbbcb932 gh-145142: Make str.maketrans safe under free-threading (gh-145157)
VanshAgarwal2403646a35ea gh-145305: Update ocert.org URLs in docs from http to https (#145304)
indoor47a1ecfd1 gh-76007: Deprecate `tarfile.version` (#145326)
StanFromIreland07be84d gh-145230: Update lockbench (gh-145231)
colesbury4560c85 GH-144533: Use wasmtime's --argv0 to auto-discover sysconfig in WASI …
savannahostrowski2958b3c gh-145334: Make lazy import tests discoverable (#145336)
johnslavike916488 gh-142927: Tachyon: Fix singular and plurals (#145329)
hugovk0d13a6e gh-145241: specialize SyntaxError for single trailing-comma with item…
pablogsalb17b37c gh-145269: simplify bisect.bisect doc example (#145270)
ngoldbaum8795fa5 Add Stan to 'Dates and times' reviewers (#145360)
StanFromIrelandFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
The table of contents is too big for display.
Diff view
Diff view
Uh oh!
There was an error while loading.Please reload this page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.