Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | gh-122744: Bump bundled pip to 24.2 (#122745) | Pradyun Gedam | 2024-08-06 | 3 | -1/+2 | |
| | | | Co-authored-by: Pradyun Gedam <pradyunsg@users.noreply.github.com> | |||||
* | gh-122417: Implement per-thread heap type refcounts (#122418) | Sam Gross | 2024-08-06 | 18 | -69/+427 | |
| | | | | | | | The free-threaded build partially stores heap type reference counts in distributed manner in per-thread arrays. This avoids reference count contention when creating or destroying instances. Co-authored-by: Ken Jin <kenjin@python.org> | |||||
* | gh-121103: Update site module docs for free-threaded installs (#122737) | Sam Gross | 2024-08-06 | 1 | -4/+13 | |
| | | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | |||||
* | Fix duplicated words 'begins with a' in pathlib docstring (#122732) | Виталий Дмитриев | 2024-08-06 | 1 | -1/+1 | |
| | ||||||
* | gh-112301: Add macOS warning tracking tooling (#122211) | Nate Ohlson | 2024-08-06 | 5 | -55/+117 | |
| | | | | Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> | |||||
* | gh-120104: IDLE: Fix padding in config and search dialogs (#120107) | Serhiy Storchaka | 2024-08-06 | 3 | -2/+3 | |
| | ||||||
* | GH-120024: Move three more escaping calls out of conditional statements ↵ | Mark Shannon | 2024-08-06 | 3 | -10/+32 | |
| | | | | (GH-122734) | |||||
* | gh-122058: `Lib/inspect`: Update docstrings for `isfunction`, `isgenerator`, ↵ | Kirill Podoprigora | 2024-08-06 | 3 | -10/+50 | |
| | | | | | | `isframe`, `iscode`. (#122059) Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com> Co-authored-by: Victor Stinner <vstinner@python.org> | |||||
* | gh-122681: merge m_atan2() and c_atan2() helper functions (#122682) | Sergey B Kirpichev | 2024-08-06 | 3 | -69/+41 | |
| | ||||||
* | gh-122686: bump hypothesis from 6.104.2 to 6.108.10 in Tools (#122729) | Sergey B Kirpichev | 2024-08-06 | 1 | -4/+1 | |
| | | | This drops attrs pinning. | |||||
* | GH-120024: Refactor code generators to uses classes for emitting code. ↵ | Mark Shannon | 2024-08-06 | 4 | -274/+272 | |
| | | | | (GH-122730) | |||||
* | gh-122581: Avoid data races when collecting parser statistics (#122694) | Lysandros Nikolaou | 2024-08-06 | 2 | -0/+36 | |
| | ||||||
* | GH-120024: Refactor code a bit so that escaping calls can be wrapped in ↵ | Mark Shannon | 2024-08-06 | 3 | -42/+78 | |
| | | | | spill code in code generator (GH-122693) | |||||
* | Fix syntax in generate_re_casefix.py (#122699) | Jelle Zijlstra | 2024-08-06 | 2 | -3/+3 | |
| | | | This was broken in gh-97963. | |||||
* | gh-122595: Add more error checks in the compiler (GH-122596) | Serhiy Storchaka | 2024-08-06 | 2 | -52/+145 | |
| | ||||||
* | gh-122704: Fix reference leak in Modules/_pickle.c (GH-122705) | Kirill Podoprigora | 2024-08-06 | 1 | -0/+4 | |
| | ||||||
* | gh-116622: Android logging fixes (#122698) | Malcolm Smith | 2024-08-06 | 3 | -48/+213 | |
| | | | | Modifies the handling of stdout/stderr redirection on Android to accomodate the rate and buffer size limits imposed by Android's logging infrastructure. | |||||
* | gh-122686: Pin attrs package (for Hypothesis workflow) (#122687) | Sergey B Kirpichev | 2024-08-06 | 1 | -0/+3 | |
| | | | Co-authored-by: Victor Stinner <vstinner@python.org> | |||||
* | GH-118943: Handle races when moving jit_stencils.h (GH-120690) | Miro Hrončok | 2024-08-05 | 2 | -1/+9 | |
| | | | Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru> | |||||
* | GH-122616: Simplify LOAD_ATTR_WITH_HINT and STORE_ATTR_WITH_HINT (GH-122620) | Mark Shannon | 2024-08-05 | 3 | -95/+44 | |
| | ||||||
* | gh-122459: Optimize pickling by name objects without __module__ (GH-122460) | Serhiy Storchaka | 2024-08-05 | 4 | -177/+173 | |
| | ||||||
* | gh-121367: [doc] BUILD_TUPLE arg can be 0 (#122663) | Irit Katriel | 2024-08-05 | 1 | -4/+8 | |
| | ||||||
* | build(deps-dev): bump mypy from 1.10.1 to 1.11.1 in /Tools (#122550) | dependabot[bot] | 2024-08-05 | 2 | -2/+4 | |
| | | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Alex Waygood <alex.waygood@gmail.com> | |||||
* | gh-122573: Require Python 3.10 or newer for Windows builds (GH-122574) | Jonathan Protzenko | 2024-08-04 | 2 | -3/+4 | |
| | | | | | | Match statements in tooling require a more recent Python. Tools/cases_generator/*.py (and `Tools/jit/*.py` in 3.13+). Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> Co-authored-by: Gregory P. Smith <greg@krypto.org> | |||||
* | Add `3.13` and remove `3.7` in Azure Pipelines (#122670) | Damien | 2024-08-04 | 1 | -1/+1 | |
| | ||||||
* | gh-122661: Remove GNU make-specific directive from Doc/Makefile (#122662) | Libor Martínek | 2024-08-04 | 1 | -16/+20 | |
| | ||||||
* | gh-122637: fix tanh(±0+infj) and tanh(±0+nanj) to return ±0+nanj (#122638) | Sergey B Kirpichev | 2024-08-04 | 3 | -14/+15 | |
| | | | | | | | | | As per C11 DR#471, ctanh (0 + i NaN) and ctanh (0 + i Inf) should return 0 + i NaN (with "invalid" exception in the second case). This has corresponding implications for ctan(z), as its errors and special cases are handled as if the operation is implemented by -i*ctanh(i*z). This patch fixes cmath's code to do same. Glibs patch: https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=d15e83c5f5231d971472b5ffc9219d54056ca0f1 | |||||
* | gh-121889: cmath.acosh(0+nanj) returns nan+pi/2j (#121892) | Sergey B Kirpichev | 2024-08-04 | 3 | -4/+5 | |
| | | | | | As per C11 DR#471 (adjusted resolution accepted for C17), cacosh (0 + iNaN) should return NaN ± i pi/2, not NaN + iNaN. This patch fixes cmath's code to do same. | |||||
* | gh-122623: Improve `c-api/bytearray.rst` with error handling info (#122624) | sobolevn | 2024-08-03 | 1 | -2/+7 | |
| | ||||||
* | GH-121970: Fix ``gettext`` for audit events (#122651) | Adam Turner | 2024-08-03 | 1 | -0/+2 | |
| | ||||||
* | gh-109408: Remove ``.azure-pipelines/pr.yml`` (#122643) | Adam Turner | 2024-08-03 | 3 | -58/+0 | |
| | | | This no longer does anything useful, beyond wasting Azure resources. | |||||
* | Doc: Grammar fix in ``library/ssl.rst``, 'Verifying certificates' (#122646) | scottwoodall | 2024-08-03 | 1 | -1/+1 | |
| | ||||||
* | gh-122334: Fix test_embed failure when missing _ssl module (GH-122630) | neonene | 2024-08-03 | 1 | -2/+6 | |
| | | | Co-authored-by: Wulian233 <1055917385@qq.com> | |||||
* | GH-109408: Stop running patchcheck in CI (#109895) | Adam Turner | 2024-08-03 | 3 | -131/+12 | |
| | ||||||
* | gh-122613: Document PyLong_GetInfo() (part of Limited API) (GH-#122280) | Sergey B Kirpichev | 2024-08-03 | 1 | -0/+11 | |
| | ||||||
* | Doc: Improve wording of ``os.path.commonpath()`` (#122627) | Matth-M | 2024-08-03 | 1 | -1/+1 | |
| | | | Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> | |||||
* | gh-122313: Clean up deep recursion guarding code in the compiler (GH-122640) | Serhiy Storchaka | 2024-08-03 | 3 | -162/+164 | |
| | | | | | | | | | Add ENTER_RECURSIVE and LEAVE_RECURSIVE macros in ast.c, ast_opt.c and symtable.c. Remove VISIT_QUIT macro in symtable.c. The current recursion depth counter only needs to be updated during normal execution -- all functions should just return an error code if an error occurs. | |||||
* | gh-122560: add test that comprehension loop var appears only in one scope of ↵ | Irit Katriel | 2024-08-02 | 1 | -0/+21 | |
| | | | | the symtable (#122582) | |||||
* | gh-122527: Fix a crash on deallocation of `PyStructSequence` (GH-122577) | Sam Gross | 2024-08-02 | 4 | -7/+41 | |
| | | | | | | | | | | | | | | The `PyStructSequence` destructor would crash if it was deallocated after its type's dictionary was cleared by the GC, because it couldn't compute the "real size" of the instance. This could occur with relatively straightforward code in the free-threaded build or with a reference cycle involving the type in the default build, due to differing orders in which `tp_clear()` was called. Account for the non-sequence fields in `tp_basicsize` and use that, along with `Py_SIZE()`, to compute the "real" size of a `PyStructSequence` in the dealloc function. This avoids the accesses to the type's dictionary during dealloc, which were unsafe. | |||||
* | GH-117224: Move the body of a few large-ish micro-ops into helper functions ↵ | Mark Shannon | 2024-08-02 | 5 | -335/+163 | |
| | | | | (GH-122601) | |||||
* | gh-122445: populate only modified fields in __static_attributes__ (#122446) | Irit Katriel | 2024-08-02 | 5 | -10/+18 | |
| | ||||||
* | gh-122334: Fix crash when importing ssl after re-initialization (#122481) | neonene | 2024-08-02 | 3 | -0/+33 | |
| | | | | * Fix crash when importing ssl after re-initialization | |||||
* | gh-120974: Make asyncio `swap_current_task` safe in free-threaded build ↵ | Sam Gross | 2024-08-02 | 3 | -31/+67 | |
| | | | | | (#122317) * gh-120974: Make asyncio `swap_current_task` safe in free-threaded build | |||||
* | gh-121723: Relax constraints on queue objects for ↵ | Bénédikt Tran | 2024-08-02 | 4 | -50/+124 | |
| | | | | `logging.handlers.QueueHandler`. (GH-122154) | |||||
* | Update PyObject_Del() documentation (#122597) | Victor Stinner | 2024-08-02 | 4 | -18/+13 | |
| | | | Replace PyMem_Del() with PyMem_Free(). | |||||
* | gh-122188: Remove _imp.pyc_magic_number (GH-122503) | Serhiy Storchaka | 2024-08-02 | 3 | -10/+8 | |
| | | | _imp.pyc_magic_number_token should be enough. | |||||
* | gh-122544: Change OS image in readthedocs.yml to ubuntu-24.04 (#122568) | Damien | 2024-08-02 | 1 | -1/+1 | |
| | ||||||
* | gh-120083: Add IDLE Hovertip foreground color needed for recent macOS (#120605) | John Riggles | 2024-08-02 | 3 | -2/+11 | |
| | | | | | | | | On recent versions of macOS (sometime between Catalina and Sonoma 14.5), the default Hovertip foreground color changed from black to white, thereby matching the background. This might be a matter of matching the white foreground of the dark-mode text. The unreadable result is shown here (#120083 (comment)). The foreground and background colors were made parameters so we can pass different colors for future additional hovertips in IDLE. --------- Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> | |||||
* | Fixes typo in idlelib/idle_test/example_stub.pyi (#122520) | Jonathon Vandezande | 2024-08-02 | 1 | -1/+1 | |
| | | | | --------- Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> | |||||
* | gh-122562: Remove ste_free and ste_child_free from symtable (#122563) | Jelle Zijlstra | 2024-08-01 | 2 | -15/+0 | |
| |