René's URL Explorer Experiment


Title: asyncio: _ProactorBasePipeTransport._call_connection_lost leaks OSError [WinError 6] from PipeHandle.close() on Windows · Issue #149388 · python/cpython · GitHub

Open Graph Title: asyncio: _ProactorBasePipeTransport._call_connection_lost leaks OSError [WinError 6] from PipeHandle.close() on Windows · Issue #149388 · python/cpython

X Title: asyncio: _ProactorBasePipeTransport._call_connection_lost leaks OSError [WinError 6] from PipeHandle.close() on Windows · Issue #149388 · python/cpython

Description: Summary On Windows with the ProactorEventLoop, _ProactorBasePipeTransport._call_connection_lost calls self._sock.close() at Lib/asyncio/proactor_events.py:166 without guarding against OSError. PipeHandle.close() (Lib/asyncio/windows_util...

Open Graph Description: Summary On Windows with the ProactorEventLoop, _ProactorBasePipeTransport._call_connection_lost calls self._sock.close() at Lib/asyncio/proactor_events.py:166 without guarding against OSError. Pipe...

X Description: Summary On Windows with the ProactorEventLoop, _ProactorBasePipeTransport._call_connection_lost calls self._sock.close() at Lib/asyncio/proactor_events.py:166 without guarding against OSError. Pipe...

Opengraph URL: https://github.com/python/cpython/issues/149388

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"asyncio: _ProactorBasePipeTransport._call_connection_lost leaks OSError [WinError 6] from PipeHandle.close() on Windows","articleBody":"## Summary\n\nOn Windows with the `ProactorEventLoop`, `_ProactorBasePipeTransport._call_connection_lost` calls `self._sock.close()` at `Lib/asyncio/proactor_events.py:166` without guarding against `OSError`. `PipeHandle.close()` (`Lib/asyncio/windows_utils.py:105-108`) is not idempotent at the Win32 level: it calls `_winapi.CloseHandle(self._handle)` unconditionally, and if the underlying Win32 handle has already been closed by another code path between reading `self._handle is not None` and executing `CloseHandle`, the call raises `OSError: [WinError 6] The handle is invalid`. The exception escapes into the loop's default exception handler, causing noisy logs (and crashes where handlers escalate). Sentry observations show this fires in production across many users on Python 3.13.12 / 3.13.13.\n\n## Python version / platform\n\n- CPython 3.13.12 and 3.13.13, Windows 10 / 11 (x86_64)\n- `asyncio.ProactorEventLoop` (Windows default)\n\n## Related issues (for cross-reference)\n\n- gh-83413 (OPEN) — \"asyncio crashes when tearing down the proactor event loop\". The `__del__` → `__repr__` → `fileno()` ValueError variant is reproduced here as a side effect but is not the primary bug.\n- gh-92841 / PR gh-92842 — fixed a sibling `RuntimeError: Event loop is closed` from the same callback chain. That fix changed `_ProactorBasePipeTransport.__del__` to call `self._sock.close()` directly, which REMOVES the loop-scheduling guard but does NOT introduce idempotency in `PipeHandle.close()`.\n- gh-98703 / PR gh-98704 (merged 2022-10-27) — added `if self._called_connection_lost: return` guard at the top of `_call_connection_lost`. This prevents the transport from entering the function twice, but does not protect against an external concurrent close of the same `PipeHandle`.\n- gh-80248 (OPEN) — similar `subprocess terminate() \"invalid handle\"` pattern.\n\n## Minimal deterministic reproducer\n\nThis is the tightest demonstration of the underlying defect — 10 lines, no asyncio event loop, no subprocess, no threading:\n\n```python\nimport _winapi\nfrom asyncio import windows_utils\n\nr, w = windows_utils.pipe(overlapped=(False, False))\nph = windows_utils.PipeHandle(r)\n# Another code path closes the underlying Win32 handle directly,\n# without going through PipeHandle. This happens in the wild via\n# finalizer races, IOCP cleanup, or DuplicateHandle-based paths.\n_winapi.CloseHandle(ph._handle)\nph.close()  # -> OSError: [WinError 6] The handle is invalid\n```\n\nOn Python 3.13.12 Windows this reliably raises:\n\n```\nTraceback (most recent call last):\n  File \"repro.py\", line 8, in \u003cmodule>\n    ph.close()\n  File \".../asyncio/windows_utils.py\", line 107, in close\n    CloseHandle(self._handle)\nOSError: [WinError 6] The handle is invalid\n```\n\n`PipeHandle.__del__` then also raises the same error on GC because `_handle` was never cleared — a direct trigger of the `ValueError: I/O operation on closed pipe` / `OSError [WinError 6]` family tracked in gh-83413.\n\n## End-to-end reproducer (asyncio path)\n\nThis demonstrates the same defect surfacing through asyncio's `_ProactorBasePipeTransport._call_connection_lost`. Triggers in ~30% of trials on Python 3.13.12 Windows.\n\n```python\n\"\"\"\nReproduce OSError [WinError 6] from PipeHandle.close() in\n_ProactorBasePipeTransport._call_connection_lost.\n\nRequires: Python 3.13, Windows, ProactorEventLoop (default).\n\"\"\"\nimport asyncio\nimport sys\nimport threading\nimport time\n\nHITS = []\n\n\ndef on_exc(loop, ctx):\n    exc = ctx.get(\"exception\")\n    if isinstance(exc, OSError) and getattr(exc, \"winerror\", None) == 6:\n        HITS.append(ctx)\n        print(f\"[HIT #{len(HITS)}] {ctx.get('message')}\")\n\n\nasync def one_trial():\n    loop = asyncio.get_running_loop()\n    loop.set_exception_handler(on_exc)\n\n    proc = await asyncio.create_subprocess_exec(\n        sys.executable, \"-c\",\n        \"import sys; sys.stdout.write('x'*100); sys.stdout.flush()\",\n        stdout=asyncio.subprocess.PIPE,\n        stderr=asyncio.subprocess.PIPE,\n    )\n\n    # Second reference to the same PipeHandle that the transport wraps.\n    # In production, the second reference is held elsewhere by asyncio\n    # internals OR by user code that retained proc.stdout; here we\n    # make it explicit for reproducibility.\n    stdout_ph = proc._transport._proc.stdout\n\n    stop = threading.Event()\n\n    def closer():\n        while not stop.is_set():\n            try:\n                stdout_ph.close()\n            except OSError:\n                pass\n            time.sleep(0)\n\n    t = threading.Thread(target=closer, daemon=True)\n    t.start()\n    try:\n        await asyncio.wait_for(proc.communicate(), timeout=3)\n    finally:\n        stop.set()\n        t.join(timeout=1)\n\n\ndef main():\n    for _ in range(20):\n        asyncio.run(one_trial())\n    print(f\"\\n{len(HITS)} WinError 6 event(s) over 20 trials\")\n\n\nif __name__ == \"__main__\":\n    main()\n```\n\nSample output (three separate runs of 20 trials each):\n\n```\n3 WinError 6 event(s) over 20 trials\n8 WinError 6 event(s) over 20 trials\n4 WinError 6 event(s) over 20 trials\n```\n\n## Root cause analysis\n\nThe race window is inside `PipeHandle.close()`:\n\n```python\n# Lib/asyncio/windows_utils.py\ndef close(self, *, CloseHandle=_winapi.CloseHandle):\n    if self._handle is not None:   # (A)\n        CloseHandle(self._handle)  # (B) releases GIL during blocking syscall\n        self._handle = None        # (C)\n```\n\nBetween (B) and (C), the GIL can be released (blocking Win32 call), allowing a second thread to also pass the `self._handle is not None` check at (A) and advance to its own (B). The second `CloseHandle` operates on a handle value that the first call has already closed, returning WinError 6.\n\nThe raised `OSError` propagates out of `_ProactorBasePipeTransport._call_connection_lost` at `Lib/asyncio/proactor_events.py:166`:\n\n```python\nself._sock.close()   # ← raises OSError here\nself._sock = None    # never runs\n...\nself._called_connection_lost = True  # never runs\n```\n\nNeither `self._sock = None` nor `self._called_connection_lost = True` executes, because the exception escapes. The loop's exception handler then surfaces:\n\n```\nException in callback _ProactorBasePipeTransport._call_connection_lost()\nhandle: \u003cHandle _ProactorBasePipeTransport._call_connection_lost()>\nTraceback (most recent call last):\n  File \"asyncio/events.py\", line 89, in _run\n  File \"asyncio/proactor_events.py\", line 166, in _call_connection_lost\n  File \"asyncio/windows_utils.py\", line 107, in close\n    CloseHandle(self._handle)\nOSError: [WinError 6] The handle is invalid\n```\n\n## Why this surfaces in production\n\nIn production we see the event at a rate of ~20 fires across many users running a FastAPI app that spawns ffmpeg subprocesses with `stdout=PIPE` / `stderr=PIPE`, uses `proc.communicate()`, and runs the event loop in a non-main thread. Breadcrumbs consistently show back-to-back subprocess spawns (e.g., two `ffmpeg -list_devices` queries within 600ms), suggesting high-churn subprocess traffic widens the race window naturally.\n\nThe second `close()` call is not from user code in those cases — it must come from asyncio itself. The likely path is `_ProactorBasePipeTransport.__del__` (`Lib/asyncio/proactor_events.py:114-117`), which after PR gh-92842 calls `self._sock.close()` directly without synchronization with the loop's scheduled `_call_connection_lost`. If the transport is GC'd while `_call_connection_lost` is dispatched but not yet run (or is in-flight across the GIL boundary at step (B) of `PipeHandle.close()`), the finalizer races.\n\n## Proposed fix\n\nMake `PipeHandle.close()` idempotent by catching `OSError` and always clearing `_handle`:\n\n```python\n# Lib/asyncio/windows_utils.py\ndef close(self, *, CloseHandle=_winapi.CloseHandle):\n    if self._handle is not None:\n        try:\n            CloseHandle(self._handle)\n        finally:\n            self._handle = None\n```\n\nAlternative: catch `OSError` in `_ProactorBasePipeTransport._call_connection_lost` around the `self._sock.close()` call, since the handle is already effectively gone and there is nothing to recover. Similar pattern to the `shutdown()`/`hasattr` guard immediately above it at lines 164-165.\n\n```python\n# Lib/asyncio/proactor_events.py\ndef _call_connection_lost(self, exc):\n    if self._called_connection_lost:\n        return\n    try:\n        self._protocol.connection_lost(exc)\n    finally:\n        if hasattr(self._sock, 'shutdown') and self._sock.fileno() != -1:\n            self._sock.shutdown(socket.SHUT_RDWR)\n        try:\n            self._sock.close()\n        except OSError:\n            pass\n        self._sock = None\n        ...\n        self._called_connection_lost = True\n```\n\nEither fix resolves the repro above. The first is preferable because it localizes idempotency to the type that needs it (`PipeHandle`), matching how `socket.socket.close()` is already idempotent in CPython.\n\n## Suggested regression test\n\n`Lib/test/test_asyncio/test_windows_utils.py`:\n\n```python\nimport unittest\nimport _winapi\nfrom asyncio import windows_utils\n\n\nclass PipeHandleIdempotencyTest(unittest.TestCase):\n    def test_close_is_idempotent_on_stale_handle(self):\n        \"\"\"PipeHandle.close() must not raise if the handle has been\n        closed by another code path. Regression test for gh-NNNNNN.\n        \"\"\"\n        r, w = windows_utils.pipe(overlapped=(False, False))\n        ph = windows_utils.PipeHandle(r)\n        handle_value = ph._handle\n        # Close the underlying handle directly\n        _winapi.CloseHandle(handle_value)\n        # PipeHandle doesn't know the handle is gone — it should not raise\n        ph.close()                  # must not raise\n        self.assertIsNone(ph._handle)\n        _winapi.CloseHandle(w)\n```\n\ncc @kumaraditya303\n\n\u003c!-- gh-linked-prs -->\n### Linked PRs\n* gh-149518\n* gh-149605\n* gh-149606\n* gh-149607\n\u003c!-- /gh-linked-prs -->\n","author":{"url":"https://github.com/mxschmitt","@type":"Person","name":"mxschmitt"},"datePublished":"2026-05-04T23:32:37Z","url":"https://github.com/python/cpython/issues/149388"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:fba7b9cf-f2d1-52f4-349d-72eb5b8bef44
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idECE2:21BD98:2E69C30:3AE85A5:6B01F34F
html-safe-nonce90635a48d27d6cf0fe33aed09bf171e4a80c52a496b6be19839f4b8f1d4fb0bb
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQ0UyOjIxQkQ5ODoyRTY5QzMwOjNBRTg1QTU6NkIwMUYzNEYiLCJ2aXNpdG9yX2lkIjoiNTcyNjA4NTc4NzA1ODA0MTY3OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacc9e21a4607259f3ecba8bd15f487e5e42571f1b80ff532d8d2f8085944c7f92e
hovercard-subject-tagissue:4380381155
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/149388/issue_layout
twitter:imagehttps://opengraph.githubassets.com/dd589d31e7b97f0a031260e014ec0e481ff944d77b42a1a3bd5f5a9503ef0c65/python/cpython/issues/149388
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/dd589d31e7b97f0a031260e014ec0e481ff944d77b42a1a3bd5f5a9503ef0c65/python/cpython/issues/149388
og:image:altSummary On Windows with the ProactorEventLoop, _ProactorBasePipeTransport._call_connection_lost calls self._sock.close() at Lib/asyncio/proactor_events.py:166 without guarding against OSError. Pipe...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemxschmitt
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-preview
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/python/cpython/issues/149388#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F149388
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F149388
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/issues/149388
Reloadhttps://github.com/python/cpython/issues/149388
Reloadhttps://github.com/python/cpython/issues/149388
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.4k (2.4k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/insights
https://github.com/python/cpython
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/149388
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/149388
#149518https://github.com/python/cpython/pull/149518
asyncio: _ProactorBasePipeTransport._call_connection_lost leaks OSError [WinError 6] from PipeHandle.close() on Windowshttps://github.com/python/cpython/issues/149388#top
#149518https://github.com/python/cpython/pull/149518
OS-windowshttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22OS-windows%22
stdlibStandard Library Python modules in the Lib/ directoryhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22stdlib%22
topic-asynciohttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22topic-asyncio%22
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
https://github.com/mxschmitt
mxschmitthttps://github.com/mxschmitt
on May 4, 2026https://github.com/python/cpython/issues/149388#issue-4380381155
asyncio crashes when tearing down the proactor event loop #83413https://github.com/python/cpython/issues/83413
asyncio internals throw RuntimeError: Event loop is closed on script exit #92841https://github.com/python/cpython/issues/92841
gh-92841: Fix asyncio's RuntimeError: Event loop is closed #92842https://github.com/python/cpython/pull/92842
Consistent test failures in test test_asyncio.test_streams.test_drain_raises on Windows #98703https://github.com/python/cpython/issues/98703
gh-98703: Fix asyncio proactor_events calling _call_connection_lost multiple times #98704https://github.com/python/cpython/pull/98704
subprocess terminate() "invalid handle" error when process is gone #80248https://github.com/python/cpython/issues/80248
gh-83413https://github.com/python/cpython/issues/83413
gh-92842https://github.com/python/cpython/pull/92842
@kumaraditya303https://github.com/kumaraditya303
gh-149388: Make PipeHandle.close idempotent #149518https://github.com/python/cpython/pull/149518
[3.15] gh-149388: Make asyncio PipeHandle.close idempotent (GH-149518) #149605https://github.com/python/cpython/pull/149605
[3.14] gh-149388: Make asyncio PipeHandle.close idempotent (GH-149518) #149606https://github.com/python/cpython/pull/149606
[3.13] gh-149388: Make asyncio PipeHandle.close idempotent (GH-149518) #149607https://github.com/python/cpython/pull/149607
https://github.com/mxschmitt
mxschmitthttps://github.com/mxschmitt
on May 4, 2026https://github.com/python/cpython/issues/149388#issuecomment-4375376770
picnixzhttps://github.com/picnixz
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
OS-windowshttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22OS-windows%22
stdlibStandard Library Python modules in the Lib/ directoryhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22stdlib%22
topic-asynciohttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22topic-asyncio%22
on May 4, 2026https://github.com/python/cpython/issues/149388#event-25155477244
github-project-automationhttps://github.com/apps/github-project-automation
asynciohttps://github.com/orgs/python/projects/29
on May 4, 2026https://github.com/python/cpython/issues/149388#event-25155479401
github-project-automationhttps://github.com/apps/github-project-automation
asynciohttps://github.com/orgs/python/projects/29
on May 4, 2026https://github.com/python/cpython/issues/149388
https://github.com/kumaraditya303
kumaraditya303https://github.com/kumaraditya303
on May 7, 2026https://github.com/python/cpython/issues/149388#issuecomment-4394747034
mxschmitthttps://github.com/mxschmitt
on May 7, 2026https://github.com/python/cpython/issues/149388#event-25282528000
pythongh-149388: Make PipeHandle.close idempotenthttps://github.com/mxschmitt/cpython/commit/37904e4229c3c0a8295b918a0c90cff16f837884
pythongh-149388https://github.com/python/cpython/issues/149388
37904e4https://github.com/mxschmitt/cpython/commit/37904e4229c3c0a8295b918a0c90cff16f837884
pythongh-149388: Make PipeHandle.close idempotenthttps://github.com/mxschmitt/cpython/commit/d2b941f3455687cf2bbddf41659c1624d7de1400
pythongh-149388https://github.com/python/cpython/issues/149388
d2b941fhttps://github.com/mxschmitt/cpython/commit/d2b941f3455687cf2bbddf41659c1624d7de1400
kumaraditya303https://github.com/kumaraditya303
completedhttps://github.com/python/cpython/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#149518https://github.com/python/cpython/pull/149518
on May 9, 2026https://github.com/python/cpython/issues/149388#event-25339362600
kumaraditya303https://github.com/kumaraditya303
on May 9, 2026https://github.com/python/cpython/issues/149388#event-25339362605
gh-149388: Make asyncio `PipeHandle.close` idempotent (#149518)https://github.com/python/cpython/commit/7241f2739c4bbdf4519238689e5e4ea9268b411e
gh-149388https://github.com/python/cpython/issues/149388
#149518https://github.com/python/cpython/pull/149518
7241f27https://github.com/python/cpython/commit/7241f2739c4bbdf4519238689e5e4ea9268b411e
github-project-automationhttps://github.com/apps/github-project-automation
asynciohttps://github.com/orgs/python/projects/29
on May 9, 2026https://github.com/python/cpython/issues/149388
kumaraditya303https://github.com/kumaraditya303
on May 9, 2026https://github.com/python/cpython/issues/149388#event-25339982902
[3.13] gh-149388: Make asyncio `PipeHandle.close` idempotent (GH-149518…https://github.com/python/cpython/commit/6ab65b3e7eb7e35dd513c51031e426f7171b966d
gh-149388https://github.com/python/cpython/issues/149388
GH-149518https://github.com/python/cpython/pull/149518
6ab65b3https://github.com/python/cpython/commit/6ab65b3e7eb7e35dd513c51031e426f7171b966d
[3.14] gh-149388: Make asyncio `PipeHandle.close` idempotent (GH-149518…https://github.com/python/cpython/commit/f4a64307a646ccb02f6fcab805fb733a910429fa
gh-149388https://github.com/python/cpython/issues/149388
GH-149518https://github.com/python/cpython/pull/149518
f4a6430https://github.com/python/cpython/commit/f4a64307a646ccb02f6fcab805fb733a910429fa
[3.15] gh-149388: Make asyncio `PipeHandle.close` idempotent (GH-149518…https://github.com/python/cpython/commit/212e996cba9224ae8ba7cb03d018774e818fef33
gh-149388https://github.com/python/cpython/issues/149388
GH-149518https://github.com/python/cpython/pull/149518
212e996https://github.com/python/cpython/commit/212e996cba9224ae8ba7cb03d018774e818fef33
https://github.com/mxschmitt
mxschmitthttps://github.com/mxschmitt
on May 9, 2026https://github.com/python/cpython/issues/149388#issuecomment-4413173584
@kumaraditya303https://github.com/kumaraditya303
Sign up for freehttps://github.com/signup?return_to=https://github.com/python/cpython/issues/149388
Sign in to commenthttps://github.com/login?return_to=https://github.com/python/cpython/issues/149388
OS-windowshttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22OS-windows%22
stdlibStandard Library Python modules in the Lib/ directoryhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22stdlib%22
topic-asynciohttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22topic-asyncio%22
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
asynciohttps://github.com/orgs/python/projects/29
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.