Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | |
| | ||||||
* | Docs: move deprecations into include files (#121241) | Hugo van Kemenade | 2024-07-19 | 5 | -309/+312 | |
| | ||||||
* | gh-121160: Note that readline libraries using different history formats. ↵ | Petr Viktorin | 2024-07-19 | 1 | -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 Turner | 2024-07-19 | 6 | -1067/+1156 | |
| | | | Co-authored-by: Petr Viktorin <encukou@gmail.com> | |||||
* | GH-121970: Use Ruff to check and format the docs tools (#122018) | Adam Turner | 2024-07-19 | 6 | -52/+157 | |
| | | | Co-authored-by: Alex Waygood <Alex.Waygood@gmail.com> | |||||
* | GH-121970: Make ``DeprecatedRemoved`` a subclass of ``VersionChange`` (#121971) | Adam Turner | 2024-07-19 | 1 | -44/+24 | |
| | ||||||
* | GH-121970: Improve the glossary preview in HTML search (#121991) | Adam Turner | 2024-07-19 | 3 | -93/+91 | |
| | ||||||
* | gh-121905: Consistently use "floating-point" instead of "floating point" ↵ | Serhiy Storchaka | 2024-07-19 | 100 | -241/+241 | |
| | | | | (GH-121907) | |||||
* | Docs: Upgrade Sphinx to 7.4 (#121987) | Adam Turner | 2024-07-19 | 1 | -3/+3 | |
| | ||||||
* | GH-121970: Use ``SphinxDirective`` instead of ``Directive`` (#121972) | Adam Turner | 2024-07-19 | 1 | -20/+16 | |
| | ||||||
* | Docs: Fix typo in description of ``INTRINSIC_ASYNC_GEN_WRAP`` (#122004) | Kirill Podoprigora | 2024-07-19 | 1 | -1/+1 | |
| | ||||||
* | gh-82017: Support as_integer_ratio() in the Fraction constructor (GH-120271) | Serhiy Storchaka | 2024-07-19 | 5 | -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 Gao | 2024-07-19 | 1 | -0/+1 | |
| | ||||||
* | GH-118093: Add tier two support to several instructions (GH-121884) | Brandt Bucher | 2024-07-18 | 11 | -108/+372 | |
| | ||||||
* | GH-117928: Bump the minimum Sphinx version to 6.2.1 (#121986) | Adam Turner | 2024-07-18 | 1 | -1/+1 | |
| | ||||||
* | gh-120289: Disallow disable() and clear() in external timer to prevent ↵ | Tian Gao | 2024-07-18 | 3 | -1/+58 | |
| | | | | use-after-free (#120297) | |||||
* | GH-121970: Combine custom Pygments lexers into a package (#121976) | Adam Turner | 2024-07-18 | 4 | -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 Gross | 2024-07-18 | 1 | -5/+5 | |
| | | | The Ubuntu package for llvm-18 is broken | |||||
* | gh-112301: Add fortify source level 3 to default compiler options (gh-121520) | Nate Ohlson | 2024-07-18 | 3 | -0/+42 | |
| | ||||||
* | gh-65453: Docs - clarify AttributeError behaviour on PropertyMock (GH-121666) | Vlastimil Zíma | 2024-07-18 | 1 | -0/+14 | |
| | | | | Fixed at EuroPython 24 sprints. | |||||
* | gh-120930: Remove extra blank occuring in wrapped encoded words in email ↵ | Matthieu Caneill | 2024-07-18 | 3 | -0/+16 | |
| | | | | headers (GH-121747) | |||||
* | gh-121657: Additional `yield from` error test using lambda (GH-121722) | Gregor | 2024-07-18 | 1 | -0/+5 | |
| | ||||||
* | GH-121784: Generate an error during code gen if a variable is marked ↵ | Mark Shannon | 2024-07-18 | 9 | -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 Shannon | 2024-07-18 | 5 | -43/+55 | |
| | ||||||
* | gh-121874: Define audit-event open parameters consistently (GH-121883) | Bernhard M. Wiedemann | 2024-07-18 | 1 | -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 Zijlstra | 2024-07-18 | 2 | -4/+6 | |
| | ||||||
* | gh-121266: Remove Py_ALWAYS_INLINE in dictobject.c (#121493) | Victor Stinner | 2024-07-18 | 1 | -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 Gross | 2024-07-17 | 4 | -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 Ostrowski | 2024-07-17 | 1 | -2/+6 | |
| | ||||||
* | gh-121266: Change dict check_lookup() return type to int (#121581) | Victor Stinner | 2024-07-17 | 1 | -11/+11 | |
| | ||||||
* | gh-121528: Fix _PyObject_Init() assertion for stable ABI (#121725) | Victor Stinner | 2024-07-17 | 1 | -2/+26 | |
| | | | Add _Py_IsImmortalLoose() function for assertions. | |||||
* | gh-121925: Fix uninitialized variables in `main.c` (#121926) | sobolevn | 2024-07-17 | 1 | -2/+6 | |
| | ||||||
* | gh-120678: Guard against stdin.fileno() being unavailable (#121924) | Łukasz Langa | 2024-07-17 | 1 | -6/+14 | |
| | ||||||
* | gh-120678: pyrepl: Include globals from modules passed with `-i` (GH-120904) | Alex Waygood | 2024-07-17 | 6 | -11/+178 | |
| | | | Co-authored-by: Łukasz Langa <lukasz@langa.pl> | |||||
* | gh-78889: Stop IDLE Shell freezes from sys.stdout.shell.xyz (#121876) | Terry Jan Reedy | 2024-07-17 | 3 | -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 Tran | 2024-07-17 | 2 | -2/+68 | |
| | ||||||
* | gh-121863: Immortalize names in code objects to avoid crash (GH-121903) | Petr Viktorin | 2024-07-17 | 2 | -1/+25 | |
| | ||||||
* | gh-121849: Fix PyUnicodeWriter_WriteSubstring() crash if len=0 (#121896) | Victor Stinner | 2024-07-17 | 2 | -12/+17 | |
| | | | Do nothing if start=end. |