summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Delete stale note about mp.Lock.acquire/SIGINT (#120929)Andrey Mishchenko2024-07-211-11/+0
|
* gh-121977: Add tips for handling unhashable data (#122075)Raymond Hettinger2024-07-211-0/+6
|
* GH-73991: Support preserving metadata in `pathlib.Path.copytree()` (#121438)Barney Gale2024-07-203-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 Gale2024-07-207-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 Turner2024-07-203-1/+7
|
* gh-121988: Fix test hang when pyrepl is not available (#121990)Sam Gross2024-07-201-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 Turner2024-07-203-54/+62
|
* Docs: Fix a typo in What's New in Python 3.13 (#122051)Rafael Fontenelle2024-07-201-1/+1
|
* gh-121621: Disable asyncio freelist in free-threaded build (#122046)Sam Gross2024-07-191-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)mpage2024-07-193-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 Salgado2024-07-193-0/+6
| | | | (#122028)
* gh-122014: Account for abi_thread in test_sysconfig.test_user_similar ↵Karolina Surma2024-07-191-2/+2
| | | | (gh-122017)
* gh-118830: Bump pickle.DEFAULT_PROTOCOL to 5 (GH-119340)Rodrigo Oliveira2024-07-196-20/+33
|
* Docs: move deprecations into include files (#121241)Hugo van Kemenade2024-07-195-309/+312
|
* gh-121160: Note that readline libraries using different history formats. ↵Petr Viktorin2024-07-191-0/+4
| | | | | | (GH-121327) This is not something we can do too much about, without help from the underlying libraries.
* GH-121970: Rewrite the C-API annotations extension (#121985)Adam Turner2024-07-196-1067/+1156
| | | Co-authored-by: Petr Viktorin <encukou@gmail.com>
* GH-121970: Use Ruff to check and format the docs tools (#122018)Adam Turner2024-07-196-52/+157
| | | Co-authored-by: Alex Waygood <Alex.Waygood@gmail.com>
* GH-121970: Make ``DeprecatedRemoved`` a subclass of ``VersionChange`` (#121971)Adam Turner2024-07-191-44/+24
|
* GH-121970: Improve the glossary preview in HTML search (#121991)Adam Turner2024-07-193-93/+91
|
* gh-121905: Consistently use "floating-point" instead of "floating point" ↵Serhiy Storchaka2024-07-19100-241/+241
| | | | (GH-121907)
* Docs: Upgrade Sphinx to 7.4 (#121987)Adam Turner2024-07-191-3/+3
|
* GH-121970: Use ``SphinxDirective`` instead of ``Directive`` (#121972)Adam Turner2024-07-191-20/+16
|
* Docs: Fix typo in description of ``INTRINSIC_ASYNC_GEN_WRAP`` (#122004)Kirill Podoprigora2024-07-191-1/+1
|
* gh-82017: Support as_integer_ratio() in the Fraction constructor (GH-120271)Serhiy Storchaka2024-07-195-13/+66
| | | | | Any objects that have the as_integer_ratio() method (e.g. numpy.float128) can now be converted to a fraction.
* gh-120289: Add external timer in traverse of _lsprof.Profiler (#121998)Tian Gao2024-07-191-0/+1
|
* GH-118093: Add tier two support to several instructions (GH-121884)Brandt Bucher2024-07-1811-108/+372
|
* GH-117928: Bump the minimum Sphinx version to 6.2.1 (#121986)Adam Turner2024-07-181-1/+1
|
* gh-120289: Disallow disable() and clear() in external timer to prevent ↵Tian Gao2024-07-183-1/+58
| | | | use-after-free (#120297)
* GH-121970: Combine custom Pygments lexers into a package (#121976)Adam Turner2024-07-184-26/+22
| | | Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
* gh-121946: Temporarily switch to llvm-17 in TSan CI (#121975)Sam Gross2024-07-181-5/+5
| | | The Ubuntu package for llvm-18 is broken
* gh-112301: Add fortify source level 3 to default compiler options (gh-121520)Nate Ohlson2024-07-183-0/+42
|
* gh-65453: Docs - clarify AttributeError behaviour on PropertyMock (GH-121666)Vlastimil Zíma2024-07-181-0/+14
| | | | Fixed at EuroPython 24 sprints.
* gh-120930: Remove extra blank occuring in wrapped encoded words in email ↵Matthieu Caneill2024-07-183-0/+16
| | | | headers (GH-121747)
* gh-121657: Additional `yield from` error test using lambda (GH-121722)Gregor2024-07-181-0/+5
|
* GH-121784: Generate an error during code gen if a variable is marked ↵Mark Shannon2024-07-189-255/+443
| | | | | | | | | | | | `unused`, but is used and thus cached in a prior uop. (#121788) * Reject uop definitions that declare values as 'unused' that are already cached by prior uops * Track which variables are defined and only load from memory when needed * Support explicit `flush` in macro definitions. * Make sure stack is flushed in where needed.
* GH-120024: Use pointer for stack pointer (GH-121923)Mark Shannon2024-07-185-43/+55
|
* gh-121874: Define audit-event open parameters consistently (GH-121883)Bernhard M. Wiedemann2024-07-181-1/+1
| | | | | Use same names for parameters to avoid triggering a race-condition in Sphinx that causes non-deterministic output.
* gh-121921: Make bogus_code_obj.py crash the interpreter (#121922)Jelle Zijlstra2024-07-182-4/+6
|
* gh-121266: Remove Py_ALWAYS_INLINE in dictobject.c (#121493)Victor Stinner2024-07-181-3/+3
| | | | | compare_unicode_generic(), compare_unicode_unicode() and compare_generic() are callbacks used by do_lookup(). When enabling assertions, it's not possible to inline these functions.
* gh-121621: Move asyncio_running_loop to private struct (#121939)Sam Gross2024-07-174-8/+8
| | | | This avoids changing the ABI and keeps the field in the private struct.
* Add note about PYTHON_JIT environment variable to JIT README (GH-121635)Savannah Ostrowski2024-07-171-2/+6
|
* gh-121266: Change dict check_lookup() return type to int (#121581)Victor Stinner2024-07-171-11/+11
|
* gh-121528: Fix _PyObject_Init() assertion for stable ABI (#121725)Victor Stinner2024-07-171-2/+26
| | | Add _Py_IsImmortalLoose() function for assertions.
* gh-121925: Fix uninitialized variables in `main.c` (#121926)sobolevn2024-07-171-2/+6
|
* gh-120678: Guard against stdin.fileno() being unavailable (#121924)Łukasz Langa2024-07-171-6/+14
|
* gh-120678: pyrepl: Include globals from modules passed with `-i` (GH-120904)Alex Waygood2024-07-176-11/+178
| | | Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* gh-78889: Stop IDLE Shell freezes from sys.stdout.shell.xyz (#121876)Terry Jan Reedy2024-07-173-0/+8
| | | | | | | Problem occurred when attribute xyz could not be pickled. Since this is not trivial to selectively fix, block all attributes (other than 'width'). IDLE does not access them and they are private implementation details.
* gh-119698: fix a special case in `symtable.Class.get_methods` (#121802)Bénédikt Tran2024-07-172-2/+68
|
* gh-121863: Immortalize names in code objects to avoid crash (GH-121903)Petr Viktorin2024-07-172-1/+25
|
* gh-121849: Fix PyUnicodeWriter_WriteSubstring() crash if len=0 (#121896)Victor Stinner2024-07-172-12/+17
| | | Do nothing if start=end.