Repository navigation
Conversation
) (python#156315) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
…tringToNewUTF8 (pythonGH-156335) (python#156383) Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com>
…rt lines (pythonGH-156406) (python#156431) Co-authored-by: Arcadiy Ivanov <arcadiy@ivanov.biz> Co-authored-by: Barry Warsaw <barry@python.org>
…ors with zipped stdlib (pythonGH-156183) (python#156328)
…ythonGH-156447) (python#156449) Co-authored-by: Ned Deily <nad@python.org>
…arify references to it (pythonGH-156053) (python#156123) Co-authored-by: Petr Viktorin <encukou@gmail.com>
…rgument (pythonGH-156247) (python#156254) Co-authored-by: Timofei Ivankov <128279579+deadlovelll@users.noreply.github.com>
… syntax in `Interpolation` (pythonGH-155661) (python#155711) Co-authored-by: dr-carlos <77367421+dr-carlos@users.noreply.github.com>
…`functools.partial` (pythonGH-155663) (python#155709) Co-authored-by: dr-carlos <77367421+dr-carlos@users.noreply.github.com>
…ages (pythonGH-31546) (python#155643) Co-authored-by: Addison Snelling <addison@asnell.io> Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
…) and realpath() (pythonGH-155388) (python#155673) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
…scapechar (pythonGH-155067) (python#155685) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
…onGH-154173) (python#155690) Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
… (python#155622) Co-authored-by: Amuthan Mannar <amuthanmannar4@gmail.com> Co-authored-by: Alex Shkop <a.v.shkop@gmail.com>
…5387) (python#155676) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
…pythonGH-155734) (python#155766) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
…pletion (pythonGH-155730) (python#155769) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
…thonGH-154182) (python#155792) Co-authored-by: David <slavicek.david29@gmail.com> Co-authored-by: Tomas R. <tomas.roun8@gmail.com>
… (python#155846) Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
… available (pythonGH-156417) (python#156470) Co-authored-by: Stan Ulbrych <stan@python.org>
…nGH-156528) (python#156530) pythongh-156369: Update Windows builds to OpenSSL 3.5.8 (pythonGH-156528) (cherry picked from commit b7ce9c3) Co-authored-by: Zachary Ware <zach@python.org>
…lts in several signatures (pythonGH-155954) (python#156165) pythongh-155952: Fix `<unrepresentable>` Argument Clinic defaults in several signatures (pythonGH-155954) (cherry picked from commit 033dc43) Co-authored-by: Stan Ulbrych <stan@python.org>
…out __class__ (pythonGH-154149) (python#156541) pythongh-153772: Make abc isinstance() tolerate instances without __class__ (pythonGH-154149) The built-in isinstance() reads an instance's __class__ with a lookup that suppresses AttributeError and falls back to the object's type, so isinstance(obj, int) returns False for an object whose __class__ access raises. ABCMeta.__instancecheck__ read __class__ directly instead, so isinstance(obj, Mapping) leaked that AttributeError. Fall back to type(instance) when __class__ is unavailable, in both the C and the pure-Python implementations, so the abstract base classes behave like the built-in isinstance(). Such objects are unusual, but they do turn up in the wild (for example some Qt widgets). (cherry picked from commit 3e245fa) Co-authored-by: Vyron Vasileiadis <hi@fedonman.com>
…awaiting task (pythonGH-156527) (python#156552) Co-authored-by: Timofei Ivankov <128279579+deadlovelll@users.noreply.github.com>
…chunk (pythonGH-155889) (python#155904) Co-authored-by: Timofei Ivankov <128279579+deadlovelll@users.noreply.github.com>
…ythonGH-155784) (python#156192) Co-authored-by: cui fliter <imcusg@gmail.com>
…iOS simulator builds (pythonGH-156116) (python#156211) Co-authored-by: Clément Péron <peron.clem@gmail.com>
…ing binary format docs and a missing flag (pythonGH-157871) (python#158855) pythongh-154060: Fix the `Profile Stats` offsets in the profiling binary format docs and a missing flag (pythonGH-157871) * correct profile stats size and paddings * missing flag * pythongh-154060: Clarify the main-thread status flag --------- (cherry picked from commit 8df2580) Co-authored-by: Maurycy Pawłowski-Wieroński <maurycy@maurycy.com> Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
…ocking sampling (pythonGH-158802) (python#158845) pythongh-158552: Wait for Windows threads to suspend before blocking sampling (pythonGH-158802) * pythongh-158552: Wait for Windows threads to suspend before blocking sampling * Use a named Windows thread enumeration status constant (cherry picked from commit 1643525) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
…g binary reader (pythonGH-152722) (python#158850) Backport of pythonGH-152722. Co-authored-by: tonghuaroot <tonghuaroot@gmail.com>
…y recursive programs (pythonGH-156546) (python#158851) Backport of pythonGH-156546. Co-authored-by: tonghuaroot (童话) <tonghuaroot@gmail.com>
…th (pythonGH-158548) (python#158844) pythongh-158540: Add the profiled script's directory to sys.path (pythonGH-158548) * pythongh-158540: Add the profiled script's directory to sys.path When a script is profiled with ``python -m profiling.sampling run script.py`` from another directory, the script cannot import modules placed next to it, because ``_sync_coordinator._execute_script()`` executes it with the working directory (added by ``_setup_environment()`` for the module case) as ``sys.path[0]`` instead of the script's own directory. Make the script's directory importable in ``_execute_script()``, matching the behavior of ``python script.py``. Add a regression test that runs the coordinator on a script importing a sibling module. * Update _sync_coordinator.py Comment simplified * pythongh-158540: Resolve symlinks when adding the script directory to sys.path ``python script.py`` resolves symlinks when computing ``sys.path[0]``, so a script reached through a symlink (``link.py -> sub/where.py``) imports modules from the real script's directory. Apply ``os.path.realpath()`` before taking the directory name, and make sure the result is placed at the front of ``sys.path`` even if it was already listed. Add a regression test for a symlinked script. --------- (cherry picked from commit 3f02aab) Co-authored-by: he_tao <53343436+hetaozdh@users.noreply.github.com> Co-authored-by: Eduardo Villalpando Mello <eduardo.villalpando.mello@gmail.com>
…exporter (pythonGH-153839) (python#158853) Backport of pythonGH-153839. Co-authored-by: tonghuaroot <tonghuaroot@gmail.com>
…tors/coroutines (pythonGH-158581) (python#158852) * [3.15] pythongh-158539: Fix exception mode missing handlers in generators/coroutines (pythonGH-158581) Backport of pythonGH-158581. Co-authored-by: LucasZhou <donghao.zhou@outlook.com> * [3.15] pythongh-158539: Use portable static assertion messages * [3.15] pythongh-158539: Keep layout assertions with debug-offset validation * [3.15] pythongh-158539: Use the platform guard for in-process inspection tests --------- Co-authored-by: LucasZhou <donghao.zhou@outlook.com>
…e recurses (pythonGH-158526) (python#158870) Co-authored-by: Timofei Ivankov <128279579+deadlovelll@users.noreply.github.com>
…guide (pythonGH-158405) (python#158601) Co-authored-by: Petr Viktorin <encukou@gmail.com>
…s with aggressive "chatty" filtering (pythonGH-158531) (python#158537) Co-authored-by: Malcolm Smith <smith@chaquo.com>
…#158959) Co-authored-by: Nathan Goldbaum <nathan.goldbaum@gmail.com> Co-authored-by: Petr Viktorin <encukou@gmail.com> Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
…nGH-158940) (python#158949) Co-authored-by: Maurycy Pawłowski-Wieroński <maurycy@maurycy.com>
…thon#159052) Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
…n 3.15 (pythonGH-158256) (python#159053) Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
…hon#159060) Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
xFrednet
force-pushed
the
immutable-nogil
branch
2 times, most recently
from
October 12, 2026 16:51
e099c5e to
674e84b
Compare
Co-authored-by: Matthew A Johnson <matjoh@microsoft.com> Co-authored-by: Matthew Parkinson <mattpark@microsoft.com> Co-authored-by: David Klement <kulisak12lp@gmail.com> Co-authored-by: Tobias Wrigstad <tobias.wrigstad@it.uu.se>
xFrednet
force-pushed
the
immutable-nogil
branch
from
October 14, 2026 19:21
6b67984 to
3164ac2
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is the entire diff to implement shallow and deep immutability for Python. This also includes the write-barriers from #63. The relevant files for this PR are probably:
📚 Documentation preview 📚: https://cpython-previews--112.org.readthedocs.build/