Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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) | |||||
* | gh-122088: Copy the coroutine status of the underlying callable in ↵ | Sebastian Rittau | 2024-07-23 | 3 | -0/+31 | |
| | | | | | | `@warnings.deprecated` (#122086) Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com> | |||||
* | Fix typos in comments and exception message (#122147) | Xie Yanbo | 2024-07-23 | 3 | -3/+3 | |
| | ||||||
* | gh-120974: Make _asyncio._enter_task atomic in the free-threaded build (#122138) | Sam Gross | 2024-07-23 | 1 | -10/+5 | |
| | | | | Use `PyDict_SetDefaultRef` to set the current task in a single operation under the dictionary's lock. | |||||
* | gh-121996: Introduce --disable-safety and --enable-slower-safety options ↵ | Donghee Na | 2024-07-23 | 7 | -7/+93 | |
| | | | | | | | | | | | | | (#122054) * gh-121996: Introduce --disable-safty and --enable-slower-safty * Update GA * fix * Address code review * Update CI | |||||
* | gh-121637: Syntax error for optimized-away incorrect await (#121656) | Jelle Zijlstra | 2024-07-22 | 5 | -55/+107 | |
| | | | Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com> | |||||
* | Refactor test_capi.test_long (GH-122113) | Serhiy Storchaka | 2024-07-22 | 1 | -179/+66 | |
| | | | | | Share common code for tests for PyLong_As*() functions. Co-authored-by: Victor Stinner <vstinner@python.org> | |||||
* | Revert "gh-121946: Temporarily switch to llvm-17 in TSan CI (#121975)" (#122032) | Sam Gross | 2024-07-22 | 1 | -5/+5 | |
| | | | | | This reverts commit 12c1afa9d153fbdf78c970054c08c755f504c5e9. The LLVM 18 Ubuntu package is working now. | |||||
* | gh-121404: move calculation of module start location from compiler_body up ↵ | Irit Katriel | 2024-07-22 | 1 | -20/+28 | |
| | | | | to compiler_codegen (#122127) | |||||
* | gh-100240: Use a consistent implementation for freelists (#121934) | Sam Gross | 2024-07-22 | 27 | -700/+290 | |
| | | | | | | | | This combines and updates our freelist handling to use a consistent implementation. Objects in the freelist are linked together using the first word of memory block. If configured with freelists disabled, these operations are essentially no-ops. | |||||
* | gh-121795: Improve performance of set membership testing from set arguments ↵ | HarryLHW | 2024-07-22 | 3 | -23/+47 | |
| | | | | (#121796) | |||||
* | Remove now unused function from itertools tests (#122100) | Bradley Reynolds | 2024-07-22 | 1 | -20/+0 | |
| | ||||||
* | gh-119698: deprecate ``symtable.Class.get_methods`` (#121902) | Bénédikt Tran | 2024-07-22 | 5 | -16/+53 | |
| | ||||||
* | gh-121957: Emit audit events for `python -i` and `python -m asyncio` (GH-121958) | Łukasz Langa | 2024-07-22 | 6 | -2/+36 | |
| | | | | Relatedly, emit the `cpython.run_startup` event from the Python version of `PYTHONSTARTUP` handling. | |||||
* | gh-111051: [tests] Wait a second to support filesystems with low-resolution ↵ | Łukasz Langa | 2024-07-22 | 1 | -0/+4 | |
| | | | | mtime (GH-121959) | |||||
* | Docs: spelling and grammar fixes (#122084) | Ville Skyttä | 2024-07-22 | 22 | -30/+30 | |
| | | | | | | Corrected some grammar and spelling issues in documentation. Co-authored-by: Russell Keith-Magee <russell@keith-magee.com> Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com> | |||||
* | gh-120522: Apply App Store compliance patch during installation (#121947) | Russell Keith-Magee | 2024-07-21 | 9 | -2/+207 | |
| | | | Adds a --with-app-store-compliance configuration option that patches out code known to be an issue with App Store review processes. This option is applied automatically on iOS, and optionally on macOS. | |||||
* | gh-122096: Remove accidentally left debugging prints (#122097) | Kirill Podoprigora | 2024-07-21 | 1 | -2/+0 | |
| | ||||||
* | Merge Ubuntu test matrices in CI (#121813) | Sviatoslav Sydorenko (Святослав Сидоренко) | 2024-07-21 | 2 | -26/+20 | |
| | | | | Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> | |||||
* | gh-118124: fix assert related C++ checks on Solaris/Illumos (#121974) | Jakub Kulík | 2024-07-21 | 1 | -5/+5 | |
| | | | Fix check for static_assert() for C++ on some platforms. | |||||
* | Delete stale note about mp.Lock.acquire/SIGINT (#120929) | Andrey Mishchenko | 2024-07-21 | 1 | -11/+0 | |
| | ||||||
* | gh-121977: Add tips for handling unhashable data (#122075) | Raymond Hettinger | 2024-07-21 | 1 | -0/+6 | |
| | ||||||
* | GH-73991: Support preserving metadata in `pathlib.Path.copytree()` (#121438) | Barney Gale | 2024-07-20 | 3 | -3/+45 | |
| | | | | | Add *preserve_metadata* keyword-only argument to `pathlib.Path.copytree()`, defaulting to false. When set to true, we copy timestamps, permissions, extended attributes and flags where available, like `shutil.copystat()`. | |||||
* | GH-73991: Add `pathlib.Path.rmtree()` (#119060) | Barney Gale | 2024-07-20 | 7 | -5/+448 | |
| | | | | | | | | | | | Add a `Path.rmtree()` method that removes an entire directory tree, like `shutil.rmtree()`. The signature of the optional *on_error* argument matches the `Path.walk()` argument of the same name, but differs from the *onexc* and *onerror* arguments to `shutil.rmtree()`. Consistency within pathlib is probably more important. In the private pathlib ABCs, we add an implementation based on `walk()`. Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com> | |||||
* | Docs: Fix duplicate object description warnings (#122068) | Adam Turner | 2024-07-20 | 3 | -1/+7 | |
| | ||||||
* | gh-121988: Fix test hang when pyrepl is not available (#121990) | Sam Gross | 2024-07-20 | 1 | -1/+5 | |
| | | | | Also explicitly fail the test if we timeout while waiting for output so that this failure mode is caught earlier. | |||||
* | GH-121970: Modernise the patchlevel extension (#121995) | Adam Turner | 2024-07-20 | 3 | -54/+62 | |
| | ||||||
* | Docs: Fix a typo in What's New in Python 3.13 (#122051) | Rafael Fontenelle | 2024-07-20 | 1 | -1/+1 | |
| | ||||||
* | gh-121621: Disable asyncio freelist in free-threaded build (#122046) | Sam Gross | 2024-07-19 | 1 | -5/+17 | |
| | | | | The futureobj freelist isn't thread-safe. We intend to re-enable the freelist in a thread-safe way for 3.14 (but not 3.13). | |||||
* | gh-120973: Fix thread-safety issues with `threading.local` (#121655) | mpage | 2024-07-19 | 3 | -150/+245 | |
| | | | | | | This is a small refactoring to the current design that allows us to avoid manually iterating over threads. This should also fix gh-118490. | |||||
* | gh-122026: Fix identification of mismatched parentheses inside f-strings ↵ | Pablo Galindo Salgado | 2024-07-19 | 3 | -0/+6 | |
| | | | | (#122028) | |||||
* | gh-122014: Account for abi_thread in test_sysconfig.test_user_similar ↵ | Karolina Surma | 2024-07-19 | 1 | -2/+2 | |
| | | | | (gh-122017) | |||||
* | gh-118830: Bump pickle.DEFAULT_PROTOCOL to 5 (GH-119340) | Rodrigo Oliveira | 2024-07-19 | 6 | -20/+33 | |
| |