summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Python 3.15.0a3v3.15.0a3Hugo van Kemenade2025-12-16166-668/+2057
|
* gh-142754: Ensure that Element & Attr instances have the ownerDocument ↵Petr Viktorin2025-12-163-1/+15
| | | | | | attribute (#142794) Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
* gh-76007: Deprecate `__version__` attribute in `wsgiref.simple_server` (#142675)Hugo van Kemenade2025-12-165-5/+29
|
* gh-142019: Add description about the exponent of result formatted with ↵1nftf2025-12-161-0/+3
| | | | presentation type 'e' (#142084)
* gh-83926: BlockingIOError characters_written is byte count (#141215)Cody Maloney2025-12-161-2/+2
|
* gh-119786: Remove mention of `_PyThreadState_BumpFramePointer` from ↵Mikhail Efimov2025-12-161-4/+5
| | | | | | `InternalDocs/interpreter.md` (#141816) Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
* gh-141218: Fix inaccurate object comparison documentation (#141221)Mohsin Mehmood2025-12-161-1/+1
| | | | Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
* Remove duplicate content in `Mapping types - dict` documentation (#141036)Owain Davies2025-12-161-3/+0
|
* Correct Glossary key function example to use str.casefold instead of ↵Cameron Beck2025-12-161-1/+1
| | | | str.lower (#140316)
* decimal docs: specification link and examples (#128698)Sergey B Kirpichev2025-12-161-4/+26
| | | | | | Co-authored-by: RUANG (James Roy) <longjinyii@outlook.com> Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com> Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
* gh-106318: Add examples for str.ljust() method (#142719)Adorilson Bezerra2025-12-161-0/+13
| | | | Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
* Clarify that PyStructSequence is different from collections.namedtuple (#142626)Petr Viktorin2025-12-161-2/+5
|
* gh-130536: Add details to `os.path` documentation (#130557)Arthur Wigo2025-12-161-9/+26
|
* gh-85204: Improve `locale.setlocale` example (#132683)Stan Ulbrych2025-12-161-13/+12
|
* gh-124864: Extends smtplib documentation on ESMTP options format (#132547)Patrick R2025-12-161-2/+4
|
* gh-139320: Cover exception chaining in the docs of `contextmanager.__exit__` ↵Bartosz Sławecki2025-12-161-3/+5
| | | | (GH-140169)
* gh-142595: Amend be5e0dcdedb (fix NULL pointer dereference) (GH-142775)Sergey B Kirpichev2025-12-161-2/+3
|
* GH-134584: Remove redundant refcount from `_STORE_ATTR_SLOT` (#142729)Savannah Ostrowski2025-12-159-17/+70
|
* gh-142737: Handle lost `io.open` in `_Py_FindSourceFile` (GH-142747)Bartosz Sławecki2025-12-154-1/+35
|
* gh-134584: JIT: Eliminate redundant refcount ops for X_INT (GH-142765)Ken Jin2025-12-159-1246/+1050
|
* gh-85222: Document the global start method side effect in multiprocessing ↵AN Long2025-12-151-14/+72
| | | | | | | | | (GH-136426) * Document the ctx parameter in some types in multiprocessing. * Reduce duplication while still linking to the central explanation from API points with the side effect. Co-authored-by: Carol Willing <carolcode@willingconsulting.com> Co-authored-by: R Chintan Meher <meherrihaan@gmail.com>
* Add Fidget-Spinner to more JIT CODEOWNERS (GH-142768)Ken Jin2025-12-151-2/+2
|
* gh-134584: Eliminate redundant refcounting from `_STORE_ATTR_INSTANCE_VALUE` ↵Nadeshiko Manju2025-12-1510-16/+67
| | | | | (GH-142759) Signed-off-by: Manjusaka <me@manjusaka.me>
* gh-134584: Remove custom float decref ops (GH-142576)Ken Jin2025-12-1515-3131/+2606
|
* gh-141081: Revert "Add a `.gitignore` file to `__pycache__` folders ↵Hugo van Kemenade2025-12-157-60/+2
| | | | (#141162)" (#142758)
* GH-142718: JIT: Fix crash due to incorrect caching on side exits when ↵Mark Shannon2025-12-157-330/+982
| | | | | | | | exiting jitted code. (GH-142762) JIT: Fix crash due to incorrect caching on side exits when exiting jitted code. * Make sure that stack is in correct state at side exits with TOS cached values * Simplify choice of cached items for side exits
* gh-116738: Make _bz2 module thread-safe (gh-142756)Alper2025-12-153-6/+38
| | | | | Make the attributes in _bz2 module thread-safe on the free-threading build. Attributes (eof, needs_input, unused_data) are now stored atomically or accessed via mutex-protected getters.
* gh-142472: Clean-up _PyStackRef functions (gh-142479)Sam Gross2025-12-155-200/+57
| | | | | | | | This combines most _PyStackRef functions and macros between the free threaded and default builds. - Remove Py_TAG_DEFERRED (same as Py_TAG_REFCNT) - Remove PyStackRef_IsDeferred (same as !PyStackRef_RefcountOnObject)
* gh-134584: Eliminate redundant refcounting from _STORE_SUBSCR_DICT (GH-142712)Donghee Na2025-12-159-23/+74
| | | Co-authored-by: Ken Jin <kenjin4096@gmail.com>
* gh-134584: Eliminate redundant refcounting from _CALL_LIST_APPEND (GH-142711)Nadeshiko Manju2025-12-1510-720/+910
| | | | Signed-off-by: Manjusaka <me@manjusaka.me> Co-authored-by: Ken Jin <kenjin4096@gmail.com>
* gh-142466: Pixi package definitions for downstream use (#142469)Lucas Colley2025-12-158-0/+216
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * WIP: ENH: Pixi package definitions for downstream development [skip ci] * linux-64 support * tidy gitignore * respond to review - switch cases on `PYTHON_VARIANT` - remove `minor_version` by using `python3` - remove runtime-only asan options * README updates * use `.md` to preview rendering * Apply suggestions from code review Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> * Apply suggestion from @FFY00 Co-authored-by: Filipe Laíns <filipe.lains@gmail.com> * Apply suggestion from @FFY00 Co-authored-by: Filipe Laíns <filipe.lains@gmail.com> * Apply suggestion from @FFY00 Co-authored-by: Filipe Laíns <filipe.lains@gmail.com> * Apply suggestion from @lucascolley --------- Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Co-authored-by: Filipe Laíns <filipe.lains@gmail.com>
* Move doc on structure from devguide to `InternalDocs` (GH-142237)Stan Ulbrych2025-12-152-0/+45
| | | | | | | | Co-Authored-By: Paul Ross <apaulross@gmail.com> Co-Authored-By: Carol Willing <carolcode@willingconsulting.com> Co-Authored-By: Hugo van Kemenade <hugovk@users.noreply.github.com> Co-Authored-By: Ezio Melotti <ezio.melotti@gmail.com> Co-Authored-By: Adam Turner <9087854+aa-turner@users.noreply.github.com>
* gh-142020: ctypes docs: Note that find_library relies on the programs it ↵Petr Viktorin2025-12-151-0/+5
| | | | runs (GH-142134)
* gh-142594: fix by property calls io.TextIOWrapper.detach (GH-142706)yihong2025-12-153-0/+21
| | | | Signed-off-by: yihong0618 <zouzou0208@gmail.com>
* gh-142217: Recommend PyUnicode_InternFromString() to replace ↵Victor Stinner2025-12-153-3/+3
| | | | _PyUnicode_FromId() (GH-142746)
* gh-142029: Raise `ModuleNotFoundError` instead of crashing on nonexsistent ↵dr-carlos2025-12-153-12/+34
| | | | | | module name given to `create_builtin()` (#142054) Co-authored-by: Brett Cannon <brett@python.org> Co-authored-by: Victor Stinner <vstinner@python.org>
* gh-138122: Add --subprocesses flag to profile child processes in tachyon ↵Pablo Galindo Salgado2025-12-1522-560/+2700
| | | | (#142636)
* gh-139871: Optimize bytearray construction with encoding (#142243)Cody Maloney2025-12-151-1/+16
| | | | | | | | | | | | | | | | | | | When a `str` is encoded in `bytearray.__init__` the encoder tends to create a new unique bytes object. Rather than allocate new memory and copy the bytes use the already created bytes object as bytearray backing. The bigger the `str` the bigger the saving. Mean +- std dev: [main_encoding] 497 us +- 9 us -> [encoding] 14.2 us +- 0.3 us: 34.97x faster ```python import pyperf runner = pyperf.Runner() runner.timeit( name="encode", setup="a = 'a' * 1_000_000", stmt="bytearray(a, encoding='utf8')") ```
* gh-142651: make `Mock.call_count` thread-safe (#142656)chaope2025-12-153-2/+27
|
* gh-76007: Deprecate `__version__` attribute in `ctypes` (#142679)Hugo van Kemenade2025-12-157-7/+53
|
* gh-140414: streamline thread state access in `asyncio` (#142742)Kumar Aditya2025-12-153-33/+36
|
* gh-141081: Add a `.gitignore` file to `__pycache__` folders (#141162)Stan Ulbrych2025-12-157-2/+60
| | | | | Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Co-authored-by: Brett Cannon <brett@python.org>
* gh-132657: Use stronger memory ordering for so->mask. (gh-142735)Neil Schemenauer2025-12-151-5/+5
| | | | | We need to use release/acquire ordering for the 'mask' member of the set structure. Without this, `set_lookkey_threadsafe()` could be looking at the old value of `table` but the new value of `mask`.
* gh-142724: fix error path in `_PyPegen_raise_tokenizer_init_error` (#142725)AZero132025-12-141-1/+1
|
* Use threading.Event rather than boolean flag. (gh-142722)Neil Schemenauer2025-12-141-9/+7
|
* gh-106318: Add examples for str.isnumeric() (#142680)Adorilson Bezerra2025-12-141-0/+15
| | | | Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
* gh-138122: Add some screenshots to the profiling.sampling docs (#142676)Pablo Galindo Salgado2025-12-1415-5/+7164
| | | | Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
* gh-76007: `pydoc`: Catch `DeprecationWarning` for stdlib module ↵Stan Ulbrych2025-12-143-18/+65
| | | | `__version__` attributes (#139997)
* gh-134584: Eliminate redundant refcounting from _STORE_SUBSCR_LIST_INT ↵Donghee Na2025-12-149-21/+96
| | | | (gh-142703)
* gh-142681: Improve unicodedata tests (GH-142682)Serhiy Storchaka2025-12-142-91/+17456
|