Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | gh-122245: Add test case of generic type with __debug__ (#122322) | Irit Katriel | 2024-07-26 | 2 | -2/+6 | |
| | ||||||
* | Manually override bytecode definition in optimizer, to avoid build error ↵ | Mark Shannon | 2024-07-26 | 2 | -4/+17 | |
| | | | | (GH-122316) | |||||
* | gh-122201: Lock mutex when setting handling_thread to NULL (#122204) | Sam Gross | 2024-07-26 | 2 | -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 Bucher | 2024-07-26 | 6 | -19/+24 | |
| | ||||||
* | gh-122300: Preserve AST nodes for format specifiers with single elements ↵ | Pablo Galindo Salgado | 2024-07-26 | 4 | -3/+8 | |
| | | | | (#122308) | |||||
* | gh-122311: Fix typo in the pickle error formatting code (GH-122312) | Serhiy Storchaka | 2024-07-26 | 1 | -1/+1 | |
| | ||||||
* | gh-121999: Change default tarfile filter to 'data' (GH-122002) | WilliamRoyNelson | 2024-07-26 | 6 | -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 Katriel | 2024-07-26 | 5 | -83/+173 | |
| | | | | (#122246) | |||||
* | GH-116090: Fix test and clarify behavior for exception events when ↵ | Mark Shannon | 2024-07-26 | 2 | -6/+33 | |
| | | | | exhausting a generator. (GH-120697) | |||||
* | GH-122029: Break INSTRUMENTED_CALL into micro-ops, so that its behavior is ↵ | Mark Shannon | 2024-07-26 | 11 | -153/+341 | |
| | | | | consistent with CALL (GH-122177) | |||||
* | GH-121131: Clean up and fix some instrumented instructions. (GH-121132) | Mark Shannon | 2024-07-26 | 15 | -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 Bucher | 2024-07-25 | 8 | -153/+241 | |
| | ||||||
* | Move macOS matrix to the calling workflow (#121809) | Sviatoslav Sydorenko (Святослав Сидоренко) | 2024-07-25 | 2 | -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 Bucher | 2024-07-25 | 9 | -99/+168 | |
| | ||||||
* | GH-122034: Add StackRef variants of type checks to reduce the number of ↵ | Mark Shannon | 2024-07-25 | 4 | -27/+60 | |
| | | | | PyStackRef_AsPyObjectBorrow calls (GH-122037) | |||||
* | gh-121489: Export private _PyBytes_Join() again (#122267) | Marc Mueller | 2024-07-25 | 4 | -5/+5 | |
| | ||||||
* | GH-122160: Remove BUILD_CONST_KEY_MAP opcode. (GH-122164) | Mark Shannon | 2024-07-25 | 16 | -478/+306 | |
| | ||||||
* | gh-116322: Fix typo in the #ifdef check (#122268) | Serhiy Storchaka | 2024-07-25 | 1 | -1/+1 | |
| | ||||||
* | gh-121275: Fix test_logging and test_smtplib with Python build withoud IPv6 ↵ | AN Long | 2024-07-25 | 1 | -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 Long | 2024-07-25 | 1 | -3/+2 | |
| | | | | (#122269) | |||||
* | gh-122270: Fix typos in the Py_DEBUG macro name (GH-122271) | Serhiy Storchaka | 2024-07-25 | 2 | -4/+4 | |
| | ||||||
* | gh-82951: Fix serializing by name in pickle protocols < 4 (GH-122149) | Serhiy Storchaka | 2024-07-25 | 4 | -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 Ohlson | 2024-07-25 | 2 | -8/+8 | |
| | ||||||
* | gh-122187: Avoid TSan reported race in `run_udp_echo_server` (#122189) | Sam Gross | 2024-07-25 | 1 | -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 Storchaka | 2024-07-25 | 1 | -0/+3 | |
| | | | | objects (GH-122219) | |||||
* | gh-113785: csv: fields starting with escapechar are not quoted (GH-122110) | Mikołaj Kuranowski | 2024-07-25 | 3 | -1/+5 | |
| | ||||||
* | gh-122191: Fix test_warnings failure if run with -Werror (GH-122222) | Serhiy Storchaka | 2024-07-25 | 1 | -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 Viehland | 2024-07-24 | 2 | -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 Katriel | 2024-07-24 | 1 | -41/+49 | |
| | ||||||
* | GH-118093: Remove invalidated executors from side exits (GH-121885) | Brandt Bucher | 2024-07-24 | 4 | -28/+27 | |
| | ||||||
* | gh-122229: Add missing `Py_DECREF` in `func_get_annotation_dict` (#122230) | sobolevn | 2024-07-24 | 1 | -0/+1 | |
| | ||||||
* | Integrate `build_msi` into main CI workflow (#121778) | Sviatoslav Sydorenko (Святослав Сидоренко) | 2024-07-24 | 3 | -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 Shannon | 2024-07-24 | 3 | -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 Kemenade | 2024-07-24 | 4 | -146/+77 | |
| | ||||||
* | Fix typo in news document (GH-122209) | Xie Yanbo | 2024-07-24 | 1 | -1/+1 | |
| | ||||||
* | GH-120754: Add more tests around seek + readall (#122103) | Cody Maloney | 2024-07-24 | 1 | -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 Gao | 2024-07-23 | 3 | -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 Snow | 2024-07-23 | 1 | -1/+5 | |
| | ||||||
* | gh-119180: Add `annotationlib` module to support PEP 649 (#119891) | Jelle Zijlstra | 2024-07-23 | 15 | -510/+1815 | |
| | | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | |||||
* | gh-117657: Skip tests that use threads after fork (#122194) | Sam Gross | 2024-07-23 | 1 | -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 Snow | 2024-07-23 | 2 | -10/+66 | |
| | | | | Builtin Types (gh-122192) | |||||
* | gh-122129: Improve support of method descriptors and wrappers in the help ↵ | Serhiy Storchaka | 2024-07-23 | 3 | -3/+18 | |
| | | | | title (GH-122157) | |||||
* | gh-120974: Make _asyncio._leave_task atomic in the free-threaded build (#122139) | Sam Gross | 2024-07-23 | 4 | -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 Storchaka | 2024-07-23 | 8 | -66/+135 | |
| | | | This allows to identify the source of the error. | |||||
* | gh-120974: Use common freelist code in asyncio (#122132) | Sam Gross | 2024-07-23 | 3 | -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 Gross | 2024-07-23 | 1 | -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 Shannon | 2024-07-23 | 4 | -6/+68 | |
| | | | | handling (GH-122158) | |||||
* | Docs: Use cross-reference to `os.uname` in `sysconfig.get_platform` (#122083) | Ville Skyttä | 2024-07-23 | 1 | -1/+1 | |
| | ||||||
* | GH-121970: Remove ``escape4chm`` (#122065) | Adam Turner | 2024-07-23 | 3 | -60/+0 | |
| | ||||||
* | gh-121832: Skip subinterpreter static type check on iOS to restore test ↵ | Russell Keith-Magee | 2024-07-23 | 1 | -1/+2 | |
| | | | | suite. (GH-122150) |