Skip to content

gh-149584: _remote_debugging: Simplify asyncio result construction - #162101

Merged
pablogsal merged 1 commit into
python:mainfrom
maurycy:rd-async-stack-once
Nov 16, 2026
Merged

pablogsal merged 1 commit into
python:mainfrom
maurycy:rd-async-stack-once

Conversation

@maurycy

@maurycy maurycy commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Use a shared CoroInfo constructor for tasks and futures, removing duplicate allocation, cleanup etc. Add a test verifying that future waiters retain their identifier and an empty call stack.

@pablogsal pablogsal left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, man!

@pablogsal pablogsal added the needs backport to 3.15 bugs and security fixes label Nov 16, 2026 — with ChatGPT Codex Connector
@pablogsal
pablogsal enabled auto-merge (squash) November 16, 2026 11:22
@pablogsal
pablogsal disabled auto-merge November 16, 2026 11:23
@pablogsal
pablogsal enabled auto-merge (squash) November 16, 2026 11:23
@pablogsal
pablogsal merged commit 585755d into python:main Nov 16, 2026
107 of 109 checks passed
@miss-islington-app

Copy link
Copy Markdown

Thanks @maurycy for the PR, and @pablogsal for merging it 🌮🎉.. I'm working now to backport this PR to: 3.15.
🐍🍒⛏🤖

@bedevere-app

bedevere-app Bot commented Nov 16, 2026

Copy link
Copy Markdown

GH-162106 is a backport of this pull request to the 3.15 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.15 bugs and security fixes label Nov 16, 2026
@maurycy
maurycy deleted the rd-async-stack-once branch November 16, 2026 12:06
pablogsal pushed a commit that referenced this pull request Nov 16, 2026
…tion (GH-162101)

Use a shared CoroInfo constructor for tasks and futures to remove duplicate allocation and cleanup.
(cherry picked from commit 585755d)

Co-authored-by: Maurycy Pawłowski-Wieroński <maurycy@maurycy.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

2 participants