summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* gh-122245: Add test case of generic type with __debug__ (#122322)Irit Katriel2024-07-262-2/+6
|
* Manually override bytecode definition in optimizer, to avoid build error ↵Mark Shannon2024-07-262-4/+17
| | | | (GH-122316)
* gh-122201: Lock mutex when setting handling_thread to NULL (#122204)Sam Gross2024-07-262-4/+15
| | | | | In the free-threaded build, we need to lock pending->mutex when clearing the handling_thread in order not to race with a concurrent make_pending_calls in the same interpreter.
* GH-122294: Burn in the addresses of side exits (GH-122295)Brandt Bucher2024-07-266-19/+24
|
* gh-122300: Preserve AST nodes for format specifiers with single elements ↵Pablo Galindo Salgado2024-07-264-3/+8
| | | | (#122308)
* gh-122311: Fix typo in the pickle error formatting code (GH-122312)Serhiy Storchaka2024-07-261-1/+1
|
* gh-121999: Change default tarfile filter to 'data' (GH-122002)WilliamRoyNelson2024-07-266-76/+76
| | | | | | Co-authored-by: Tomas R <tomas.roun8@gmail.com> Co-authored-by: Scott Odle <scott@sjodle.com> Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com> Co-authored-by: Petr Viktorin <encukou@gmail.com>
* gh-122245: move checks for writes and shadowing of __debug__ to symtable ↵Irit Katriel2024-07-265-83/+173
| | | | (#122246)
* GH-116090: Fix test and clarify behavior for exception events when ↵Mark Shannon2024-07-262-6/+33
| | | | exhausting a generator. (GH-120697)
* GH-122029: Break INSTRUMENTED_CALL into micro-ops, so that its behavior is ↵Mark Shannon2024-07-2611-153/+341
| | | | consistent with CALL (GH-122177)
* GH-121131: Clean up and fix some instrumented instructions. (GH-121132)Mark Shannon2024-07-2615-215/+277
| | | | * Add support for 'prev_instr' to code generator and refactor some INSTRUMENTED instructions
* GH-118093: Add tier two support for BINARY_OP_INPLACE_ADD_UNICODE (GH-122253)Brandt Bucher2024-07-258-153/+241
|
* Move macOS matrix to the calling workflow (#121809)Sviatoslav Sydorenko (Святослав Сидоренко)2024-07-252-34/+33
| | | | Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
* GH-118093: Add tier two support for LOAD_ATTR_PROPERTY (GH-122283)Brandt Bucher2024-07-259-99/+168
|
* GH-122034: Add StackRef variants of type checks to reduce the number of ↵Mark Shannon2024-07-254-27/+60
| | | | PyStackRef_AsPyObjectBorrow calls (GH-122037)
* gh-121489: Export private _PyBytes_Join() again (#122267)Marc Mueller2024-07-254-5/+5
|
* GH-122160: Remove BUILD_CONST_KEY_MAP opcode. (GH-122164)Mark Shannon2024-07-2516-478/+306
|
* gh-116322: Fix typo in the #ifdef check (#122268)Serhiy Storchaka2024-07-251-1/+1
|
* gh-121275: Fix test_logging and test_smtplib with Python build withoud IPv6 ↵AN Long2024-07-251-1/+2
| | | | | support (#121276) Fix test_logging and test_smtplib with Python build withoud IPv6 support
* gh-121913: Use str(exc) instead of exc.strerror in `asyncio.base_events` ↵AN Long2024-07-251-3/+2
| | | | (#122269)
* gh-122270: Fix typos in the Py_DEBUG macro name (GH-122271)Serhiy Storchaka2024-07-252-4/+4
|
* gh-82951: Fix serializing by name in pickle protocols < 4 (GH-122149)Serhiy Storchaka2024-07-254-26/+82
| | | | | | Serializing objects with complex __qualname__ (such as unbound methods and nested classes) by name no longer involves serializing parent objects by value in pickle protocols < 4.
* gh-112301: Make fortify source option check -Werror (gh-122141)Nate Ohlson2024-07-252-8/+8
|
* gh-122187: Avoid TSan reported race in `run_udp_echo_server` (#122189)Sam Gross2024-07-251-2/+7
| | | | | TSan doesn't fully recognize the synchronization via I/O, so ensure that socket name is retrieved earlier and use a different socket for sending the "STOP" message.
* gh-122087: Add tests for ismethoddescriptor() and isroutine() with partial ↵Serhiy Storchaka2024-07-251-0/+3
| | | | objects (GH-122219)
* gh-113785: csv: fields starting with escapechar are not quoted (GH-122110)Mikołaj Kuranowski2024-07-253-1/+5
|
* gh-122191: Fix test_warnings failure if run with -Werror (GH-122222)Serhiy Storchaka2024-07-251-13/+23
| | | | __spec__.loader is now required in the module globals (see gh-86298).
* gh-122208: Don't delivery PyDict_EVENT_ADDED until it can't fail (#122207)Dino Viehland2024-07-242-11/+9
| | | Don't delivery PyDict_EVENT_ADDED until it can't fail
* gh-121404: extract compiler_lookup_arg out of compiler_make_closure (#122181)Irit Katriel2024-07-241-41/+49
|
* GH-118093: Remove invalidated executors from side exits (GH-121885)Brandt Bucher2024-07-244-28/+27
|
* gh-122229: Add missing `Py_DECREF` in `func_get_annotation_dict` (#122230)sobolevn2024-07-241-0/+1
|
* Integrate `build_msi` into main CI workflow (#121778)Sviatoslav Sydorenko (Святослав Сидоренко)2024-07-243-40/+56
| | | | | Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* GH-121832: Assert that the version number of static builtin types is not ↵Mark Shannon2024-07-243-67/+46
| | | | | changed by PyType_Modified. (GH-122182) Update datetime module and test_type_cache.py to not call PyType_Modified.
* gh-122085: Use include files for `whatsnew/3.12.rst` deprecations (#122093)Hugo van Kemenade2024-07-244-146/+77
|
* Fix typo in news document (GH-122209)Xie Yanbo2024-07-241-1/+1
|
* GH-120754: Add more tests around seek + readall (#122103)Cody Maloney2024-07-241-0/+19
| | | | | | | | | | In the process of speeding up readall, A number of related tests (ex. large file tests in test_zipfile) found problems with the change I was making. This adds I/O tests to specifically test these cases to help ensure they don't regress and hopefully make debugging easier. This is part of the improvements from https://github.com/python/cpython/pull/121593#issuecomment-2222261986
* gh-122029: Log call events in sys.setprofile when it's a method with c ↵Tian Gao2024-07-233-0/+28
| | | | | function (GH-122072) Log call events in sys.setprofile when it is a method with a C function.
* gh-122199: Skip test_slot_wrappers When Checking For Refleaks (gh-122200)Eric Snow2024-07-231-1/+5
|
* gh-119180: Add `annotationlib` module to support PEP 649 (#119891)Jelle Zijlstra2024-07-2315-510/+1815
| | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* gh-117657: Skip tests that use threads after fork (#122194)Sam Gross2024-07-231-0/+3
| | | | These tests fail when run under thread sanitizer due to the use of fork and threads.
* gh-117482: Expand Tests for Slot Wrappers of Inherited Slots of Static ↵Eric Snow2024-07-232-10/+66
| | | | Builtin Types (gh-122192)
* gh-122129: Improve support of method descriptors and wrappers in the help ↵Serhiy Storchaka2024-07-233-3/+18
| | | | title (GH-122157)
* gh-120974: Make _asyncio._leave_task atomic in the free-threaded build (#122139)Sam Gross2024-07-234-45/+48
| | | | | | | * gh-120974: Make _asyncio._leave_task atomic in the free-threaded build Update `_PyDict_DelItemIf` to allow for an argument to be passed to the predicate.
* gh-122163: Add notes for JSON serialization errors (GH-122165)Serhiy Storchaka2024-07-238-66/+135
| | | This allows to identify the source of the error.
* gh-120974: Use common freelist code in asyncio (#122132)Sam Gross2024-07-233-70/+10
| | | | | This refactors asyncio to use the common freelist helper functions and macros. As a side effect, the freelist for _asyncio.Future is now re-enabled in the free-threaded build.
* gh-121973: Fix flaky test_pyrepl tests (GH-122140)Sam Gross2024-07-231-4/+4
| | | | | | | | | | | | | | | This fixes the flakiness in: * test_inspect_keeps_globals_from_inspected_file * test_inspect_keeps_globals_from_inspected_module The output already includes newlines. Adding newlines for every entry in the output list introduces non-determinism because it added '\n' in places where stdout is flushed or some buffer becomes full. The regex also needed to be updated because pyrepl includes control characters -- the visible output on each line doesn't immediately follow a newline character. Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* GH-122155: Fix cases generator to correctly compute 'peek' offset for error ↵Mark Shannon2024-07-234-6/+68
| | | | handling (GH-122158)
* Docs: Use cross-reference to `os.uname` in `sysconfig.get_platform` (#122083)Ville Skyttä2024-07-231-1/+1
|
* GH-121970: Remove ``escape4chm`` (#122065)Adam Turner2024-07-233-60/+0
|
* gh-121832: Skip subinterpreter static type check on iOS to restore test ↵Russell Keith-Magee2024-07-231-1/+2
| | | | suite. (GH-122150)