René's URL Explorer Experiment


Title: Do not use `tempfile.mktemp()` for creating named pipes on Windows · Issue #137335 · python/cpython · GitHub

Open Graph Title: Do not use `tempfile.mktemp()` for creating named pipes on Windows · Issue #137335 · python/cpython

X Title: Do not use `tempfile.mktemp()` for creating named pipes on Windows · Issue #137335 · python/cpython

Description: I change the pull requests to #137333, replace the mktemp() function. bandit Tools: Issue: [B306:blacklist] Use of insecure and deprecated function (mktemp). Severity: Medium Confidence: High CWE: CWE-377 (https://cwe.mitre.org/data/defi...

Open Graph Description: I change the pull requests to #137333, replace the mktemp() function. bandit Tools: Issue: [B306:blacklist] Use of insecure and deprecated function (mktemp). Severity: Medium Confidence: High CWE: ...

X Description: I change the pull requests to #137333, replace the mktemp() function. bandit Tools: Issue: [B306:blacklist] Use of insecure and deprecated function (mktemp). Severity: Medium Confidence: High CWE: ...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Do not use `tempfile.mktemp()` for creating named pipes on Windows","articleBody":"I change the pull requests to #137333, replace the mktemp() function.\nbandit Tools:\n```\nIssue: [B306:blacklist] Use of insecure and deprecated function (mktemp).\nSeverity: Medium Confidence: High\nCWE: CWE-377 (https://cwe.mitre.org/data/definitions/377.html)\nMore Info: https://bandit.readthedocs.io/en/1.8.6/blacklists/blacklist_calls.html#b306-mktemp-q\nLocation: C:\\Users\\Administrator\\Desktop\\cpython\\lib\\asyncio\\windows_utils.py:34:14\n33 \"\"\"Like os.pipe() but with overlapped support and using handles not fds.\"\"\"\n34 address = tempfile.mktemp(\n35 prefix=r'\\.\\pipe\\python-pipe-{:d}-{:d}-'.format(\n36 os.getpid(), next(_mmap_counter)))\n37\n```\n\n\u003c!-- gh-linked-prs -->\n### Linked PRs\n* gh-137333\n* gh-137389\n* gh-145170\n* gh-145171\n* gh-148578\n* gh-148583\n* gh-148584\n\u003c!-- /gh-linked-prs -->\n","author":{"url":"https://github.com/lighting9999","@type":"Person","name":"lighting9999"},"datePublished":"2025-08-03T06:42:31Z","url":"https://github.com/python/cpython/issues/137335"}

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:2472762e-b419-e7e1-d4f5-b14153d2e195
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8D52:299992:20DA0A1:2B311F0:6B023C3B
html-safe-nonce16d2b781de1905539bb520371306f2f7034448d756cf1062ea754f405f39bdee
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RDUyOjI5OTk5MjoyMERBMEExOjJCMzExRjA6NkIwMjNDM0IiLCJ2aXNpdG9yX2lkIjoiMjU5NDkwMTcyNzQzODMyMjc0NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac4abec42a4cbd208d8752f08f95e272b2812f34478038e17b356117df48abf97e
hovercard-subject-tagissue:3286766838
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/137335/issue_layout
twitter:imagehttps://opengraph.githubassets.com/aa999e458f0e06b2fd2fb75ab4dda4eb8d109fe1ed77739141bbee515ad41a69/python/cpython/issues/137335
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/aa999e458f0e06b2fd2fb75ab4dda4eb8d109fe1ed77739141bbee515ad41a69/python/cpython/issues/137335
og:image:altI change the pull requests to #137333, replace the mktemp() function. bandit Tools: Issue: [B306:blacklist] Use of insecure and deprecated function (mktemp). Severity: Medium Confidence: High CWE: ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamelighting9999
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/137335#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F137335
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%2F137335
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/137335
Reloadhttps://github.com/python/cpython/issues/137335
Reloadhttps://github.com/python/cpython/issues/137335
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/137335
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/137335
Do not use tempfile.mktemp() for creating named pipes on Windowshttps://github.com/python/cpython/issues/137335#top
https://github.com/serhiy-storchaka
3.13only security fixeshttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.13%22
3.14bugs and security fixeshttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.14%22
3.15bugs and security fixeshttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.15%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
topic-multiprocessinghttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22topic-multiprocessing%22
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
https://github.com/lighting9999
lighting9999https://github.com/lighting9999
on Aug 3, 2025https://github.com/python/cpython/issues/137335#issue-3286766838
#137333https://github.com/python/cpython/pull/137333
gh-137335: Remove use of mktemp() in asyncio.windows_utils #137333https://github.com/python/cpython/pull/137333
gh-137335: Fix unlikely name conflicts for named pipes in multiprocessing and asyncio on Windows #137389https://github.com/python/cpython/pull/137389
[3.14] gh-137335: Fix unlikely name conflicts for named pipes in multiprocessing and asyncio on Windows (GH-137389) #145170https://github.com/python/cpython/pull/145170
[3.13] gh-137335: Fix unlikely name conflicts for named pipes in multiprocessing and asyncio on Windows (GH-137389) #145171https://github.com/python/cpython/pull/145171
gh-137335: remove a mktemp use in multiprocessing.connection to avoid security scanner noise #148578https://github.com/python/cpython/pull/148578
[3.14] gh-137335: remove a mktemp use in multiprocessing.connection to avoid security scanner noise (GH-148578) #148583https://github.com/python/cpython/pull/148583
[3.13] gh-137335: remove a mktemp use in multiprocessing.connection to avoid security scanner noise (GH-148578) #148584https://github.com/python/cpython/pull/148584
Nexthttps://github.com/python/cpython/issues/137335?timeline_page=1
lighting9999https://github.com/lighting9999
on Aug 3, 2025https://github.com/python/cpython/issues/137335#event-18955164623
lighting9999https://github.com/lighting9999
on Aug 3, 2025https://github.com/python/cpython/issues/137335#event-18955296295
picnixzhttps://github.com/picnixz
on Aug 3, 2025https://github.com/python/cpython/issues/137335#event-18956237851
picnixzhttps://github.com/picnixz
stdlibStandard Library Python modules in the Lib/ directoryhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22stdlib%22
type-refactorCode refactoring (with no changes in behavior)https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-refactor%22
on Aug 3, 2025https://github.com/python/cpython/issues/137335#event-18956238669
picnixzhttps://github.com/picnixz
on Aug 3, 2025https://github.com/python/cpython/issues/137335#event-18956242343
picnixzhttps://github.com/picnixz
on Aug 3, 2025https://github.com/python/cpython/issues/137335#event-18956252219
picnixzhttps://github.com/picnixz
topic-asynciohttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22topic-asyncio%22
topic-multiprocessinghttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22topic-multiprocessing%22
on Aug 3, 2025https://github.com/python/cpython/issues/137335#event-18956252411
github-project-automationhttps://github.com/apps/github-project-automation
asynciohttps://github.com/orgs/python/projects/29
on Aug 3, 2025https://github.com/python/cpython/issues/137335#event-18956252638
github-project-automationhttps://github.com/apps/github-project-automation
asynciohttps://github.com/orgs/python/projects/29
on Aug 3, 2025https://github.com/python/cpython/issues/137335
picnixzhttps://github.com/picnixz
on Aug 3, 2025https://github.com/python/cpython/issues/137335#event-18956266479
https://github.com/picnixz
picnixzhttps://github.com/picnixz
on Aug 3, 2025https://github.com/python/cpython/issues/137335#issuecomment-3148264836
picnixzhttps://github.com/picnixz
on Aug 3, 2025https://github.com/python/cpython/issues/137335#event-18956279485
https://github.com/lighting9999
lighting9999https://github.com/lighting9999
on Aug 3, 2025https://github.com/python/cpython/issues/137335#issuecomment-3148332979
serhiy-storchakahttps://github.com/serhiy-storchaka
on Feb 24, 2026https://github.com/python/cpython/issues/137335#event-23031294071
gh-137335: Fix unlikely name conflicts for named pipes in multiproces…https://github.com/python/cpython/commit/d6a71f4690c702892644b1fbae90ae9ef733a8ab
gh-137335https://github.com/python/cpython/issues/137335
d6a71f4https://github.com/python/cpython/commit/d6a71f4690c702892644b1fbae90ae9ef733a8ab
miss-islingtonhttps://github.com/miss-islington
on Feb 24, 2026https://github.com/python/cpython/issues/137335#event-23031297177
pythongh-137335: Fix unlikely name conflicts for named pipes in multi…https://github.com/miss-islington/cpython/commit/83be7697f28f9152dd185e671c23260df6940703
pythongh-137335https://github.com/python/cpython/issues/137335
83be769https://github.com/miss-islington/cpython/commit/83be7697f28f9152dd185e671c23260df6940703
pythongh-137335: Fix unlikely name conflicts for named pipes in multi…https://github.com/miss-islington/cpython/commit/719cf0f5bcfe23a72a7159447d7f29e0d0894fce
pythongh-137335https://github.com/python/cpython/issues/137335
719cf0fhttps://github.com/miss-islington/cpython/commit/719cf0f5bcfe23a72a7159447d7f29e0d0894fce
serhiy-storchakahttps://github.com/serhiy-storchaka
completedhttps://github.com/python/cpython/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Feb 24, 2026https://github.com/python/cpython/issues/137335#event-23031356806
github-project-automationhttps://github.com/apps/github-project-automation
asynciohttps://github.com/orgs/python/projects/29
on Feb 24, 2026https://github.com/python/cpython/issues/137335
serhiy-storchakahttps://github.com/serhiy-storchaka
on Feb 24, 2026https://github.com/python/cpython/issues/137335#event-23042419507
[3.13] gh-137335: Fix unlikely name conflicts for named pipes in mult…https://github.com/python/cpython/commit/6f1e0c4f01a6f3605d3ec9afa2d38bd65cdb0eb9
gh-137335https://github.com/python/cpython/issues/137335
6f1e0c4https://github.com/python/cpython/commit/6f1e0c4f01a6f3605d3ec9afa2d38bd65cdb0eb9
[3.14] gh-137335: Fix unlikely name conflicts for named pipes in mult…https://github.com/python/cpython/commit/bbce6ba08c54317da3e5873132e8783de60304dc
gh-137335https://github.com/python/cpython/issues/137335
bbce6bahttps://github.com/python/cpython/commit/bbce6ba08c54317da3e5873132e8783de60304dc
brijkapadiahttps://github.com/brijkapadia
on Feb 28, 2026https://github.com/python/cpython/issues/137335#event-23156609552
pythongh-137335: Fix unlikely name conflicts for named pipes in multi…https://github.com/brijkapadia/cpython/commit/2231fac853ca4750a64dc2cfbd824a05101e7275
pythongh-137335https://github.com/python/cpython/issues/137335
2231fachttps://github.com/brijkapadia/cpython/commit/2231fac853ca4750a64dc2cfbd824a05101e7275
gpsheadhttps://github.com/gpshead
on Apr 14, 2026https://github.com/python/cpython/issues/137335#event-24508075143
gh-137335: remove a mktemp use in multiprocessing.connection to avoid…https://github.com/python/cpython/commit/fd81246bd55e4fab1976a7cca3e5d42582dbdac0
gh-137335https://github.com/python/cpython/issues/137335
fd81246https://github.com/python/cpython/commit/fd81246bd55e4fab1976a7cca3e5d42582dbdac0
miss-islingtonhttps://github.com/miss-islington
on Apr 14, 2026https://github.com/python/cpython/issues/137335#event-24508077220
pythongh-137335: remove a mktemp use in multiprocessing.connection to…https://github.com/miss-islington/cpython/commit/ea7464ccdce7d7ae32b07641bd4ae8c083436ab6
pythongh-137335https://github.com/python/cpython/issues/137335
ea7464chttps://github.com/miss-islington/cpython/commit/ea7464ccdce7d7ae32b07641bd4ae8c083436ab6
pythongh-137335: remove a mktemp use in multiprocessing.connection to…https://github.com/miss-islington/cpython/commit/66b9e03d469f24f21d6e25160c3c8148c281b0ed
pythongh-137335https://github.com/python/cpython/issues/137335
66b9e03https://github.com/miss-islington/cpython/commit/66b9e03d469f24f21d6e25160c3c8148c281b0ed
gpsheadhttps://github.com/gpshead
on Apr 15, 2026https://github.com/python/cpython/issues/137335#event-24508890762
[3.14] gh-137335: remove a mktemp use in multiprocessing.connection t…https://github.com/python/cpython/commit/e590f007ed8b0268c40bcae445d6b50e06b00960
gh-137335https://github.com/python/cpython/issues/137335
e590f00https://github.com/python/cpython/commit/e590f007ed8b0268c40bcae445d6b50e06b00960
[3.13] gh-137335: remove a mktemp use in multiprocessing.connection t…https://github.com/python/cpython/commit/ba2f30eb83fc05c60cf99802dcce6ac1d9a46cf0
gh-137335https://github.com/python/cpython/issues/137335
ba2f30ehttps://github.com/python/cpython/commit/ba2f30eb83fc05c60cf99802dcce6ac1d9a46cf0
ljfphttps://github.com/ljfp
on Apr 25, 2026https://github.com/python/cpython/issues/137335#event-24868319396
pythongh-137335: Fix unlikely name conflicts for named pipes in multi…https://github.com/ljfp/cpython/commit/89b9f0ca176a8e0f6ac987b7a5fa4256d68e21c0
pythongh-137335https://github.com/python/cpython/issues/137335
89b9f0chttps://github.com/ljfp/cpython/commit/89b9f0ca176a8e0f6ac987b7a5fa4256d68e21c0
pythongh-137335: remove a mktemp use in multiprocessing.connection to…https://github.com/ljfp/cpython/commit/83e8457fa6573ff6ef33bbb61037085c381098a9
pythongh-137335https://github.com/python/cpython/issues/137335
83e8457https://github.com/ljfp/cpython/commit/83e8457fa6573ff6ef33bbb61037085c381098a9
Sign up for freehttps://github.com/signup?return_to=https://github.com/python/cpython/issues/137335
Sign in to commenthttps://github.com/login?return_to=https://github.com/python/cpython/issues/137335
serhiy-storchakahttps://github.com/serhiy-storchaka
3.13only security fixeshttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.13%22
3.14bugs and security fixeshttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.14%22
3.15bugs and security fixeshttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.15%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
topic-multiprocessinghttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22topic-multiprocessing%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.