René's URL Explorer Experiment


Title: bpo-31620: asyncio.Queue leaks memory if the queue is empty and the consumers poll it frequently by SurenNihalani · Pull Request #3813 · python/cpython · GitHub

Open Graph Title: bpo-31620: asyncio.Queue leaks memory if the queue is empty and the consumers poll it frequently by SurenNihalani · Pull Request #3813 · python/cpython

X Title: bpo-31620: asyncio.Queue leaks memory if the queue is empty and the consumers poll it frequently by SurenNihalani · Pull Request #3813 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: https://bugs.python.org/issue31620

X Description: https://bugs.python.org/issue31620

Opengraph URL: https://github.com/python/cpython/pull/3813

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:4d1129f8-1eab-4f02-f744-0a590cc86fe7
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idAF82:32E85:169B4A:1E07B9:6A4D292F
html-safe-noncedcf97dfeef9be167251ae19cedfad7bec80d5119b5cfd4d3ed2428286a81e973
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRjgyOjMyRTg1OjE2OUI0QToxRTA3Qjk6NkE0RDI5MkYiLCJ2aXNpdG9yX2lkIjoiNjEwNTk2MzQwMzcyMDU5OTg1NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacd8fe420e8f8f605d324a11c629a88055a67e9aa31e5375912c35e2136c5d5f86
hovercard-subject-tagpull_request:143810308
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/3813/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/409f5ffc70ccbada224b0335213f15413d9cc7b962f8f877f7487887b03e1a94/python/cpython/pull/3813
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/409f5ffc70ccbada224b0335213f15413d9cc7b962f8f877f7487887b03e1a94/python/cpython/pull/3813
og:image:althttps://bugs.python.org/issue31620
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameSurenNihalani
hostnamegithub.com
expected-hostnamegithub.com
None92571a8944142227b7e19cd10918b1ddd06e5066c1ad5bc7e4769cf6140a87e6
turbo-cache-controlno-cache
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
release93f17a978ee60bc4668e1d7b90e6bd2d622261fd
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/3813#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F3813
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F3813
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/3813
Reloadhttps://github.com/python/cpython/pull/3813
Reloadhttps://github.com/python/cpython/pull/3813
Please reload this pagehttps://github.com/python/cpython/pull/3813
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/3813
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 34.8k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.6k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.3k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality 0 https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
asvetlovhttps://github.com/asvetlov
python:masterhttps://github.com/python/cpython/tree/master
Conversationhttps://github.com/python/cpython/pull/3813
Commits1 (1)https://github.com/python/cpython/pull/3813/commits
Checkshttps://github.com/python/cpython/pull/3813/checks
Files changedhttps://github.com/python/cpython/pull/3813/files
bpo-31620: asyncio.Queue leaks memory if the queue is empty and the consumers poll it frequentlyhttps://github.com/python/cpython/pull/3813#top
asvetlovhttps://github.com/asvetlov
python:masterhttps://github.com/python/cpython/tree/master
https://github.com/SurenNihalani
SurenNihalanihttps://github.com/SurenNihalani
Sep 29, 2017https://github.com/python/cpython/pull/3813#issue-261535542
Please reload this pagehttps://github.com/python/cpython/pull/3813
https://bugs.python.org/issue31620https://bugs.python.org/issue31620
Please reload this pagehttps://github.com/python/cpython/pull/3813
https://github.com/SurenNihalani
SurenNihalanihttps://github.com/SurenNihalani
rhettingerhttps://github.com/rhettinger
code ownerhttps://github.com/python/cpython/blob/a106aec2ed6ba171838ca7e6ba43c4e722bbecd1/.github/CODEOWNERS#L47
September 29, 2017 05:30https://github.com/python/cpython/pull/3813#event-1271031563
https://github.com/the-knights-who-say-ni
the-knights-who-say-nihttps://github.com/the-knights-who-say-ni
Sep 29, 2017https://github.com/python/cpython/pull/3813#issuecomment-333034707
PSF contributor agreementhttps://www.python.org/psf/contrib/contrib-form/
the steps outlined in the CPython devguidehttps://devguide.python.org/pullrequest/#licensing
Please reload this pagehttps://github.com/python/cpython/pull/3813
https://github.com/the-knights-who-say-ni
the-knights-who-say-nihttps://github.com/the-knights-who-say-ni
CLA not signed https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22CLA%20not%20signed%22
Sep 29, 2017https://github.com/python/cpython/pull/3813#event-1271031577
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Sep 29, 2017https://github.com/python/cpython/pull/3813#event-1271031578
https://github.com/SurenNihalani
SurenNihalanihttps://github.com/SurenNihalani
Sep 29, 2017https://github.com/python/cpython/pull/3813#event-1271031615
https://github.com/SurenNihalani
SurenNihalanihttps://github.com/SurenNihalani
Sep 29, 2017https://github.com/python/cpython/pull/3813#issuecomment-333043510
Please reload this pagehttps://github.com/python/cpython/pull/3813
https://github.com/1st1
1st1https://github.com/1st1
1st1https://github.com/1st1
rhettingerhttps://github.com/rhettinger
September 29, 2017 13:35https://github.com/python/cpython/pull/3813#event-1271650421
https://github.com/SurenNihalani
SurenNihalanihttps://github.com/SurenNihalani
Sep 29, 2017https://github.com/python/cpython/pull/3813#event-1271875462
https://github.com/SurenNihalani
SurenNihalanihttps://github.com/SurenNihalani
Sep 29, 2017https://github.com/python/cpython/pull/3813#issuecomment-333159739
Please reload this pagehttps://github.com/python/cpython/pull/3813
https://github.com/the-knights-who-say-ni
the-knights-who-say-nihttps://github.com/the-knights-who-say-ni
CLA signed https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22CLA%20signed%22
CLA not signed https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22CLA%20not%20signed%22
Sep 29, 2017https://github.com/python/cpython/pull/3813#event-1271883105
https://github.com/SurenNihalani
SurenNihalanihttps://github.com/SurenNihalani
Sep 29, 2017https://github.com/python/cpython/pull/3813#issuecomment-333161711
Please reload this pagehttps://github.com/python/cpython/pull/3813
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Sep 29, 2017 https://github.com/python/cpython/pull/3813#pullrequestreview-66212844
View reviewed changes https://github.com/python/cpython/pull/3813/files
Lib/asyncio/queues.pyhttps://github.com/python/cpython/pull/3813/files#diff-22a6bcb03e783378149a3e9411c185b13c908e61886ffd55145634b7ab12caac
JelleZijlstrahttps://github.com/JelleZijlstra
Sep 29, 2017https://github.com/python/cpython/pull/3813#discussion_r141918513
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/3813
Lib/test/test_asyncio/test_queues.pyhttps://github.com/python/cpython/pull/3813/files#diff-e1e38d6442dc7d84b4eabf47d2080772baff9c6b94f997af273f7d8ff4a37d5d
JelleZijlstrahttps://github.com/JelleZijlstra
Sep 29, 2017https://github.com/python/cpython/pull/3813#discussion_r141919342
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/3813
SurenNihalanihttps://github.com/SurenNihalani
Sep 29, 2017https://github.com/python/cpython/pull/3813#discussion_r141924859
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/3813
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Sep 29, 2017https://github.com/python/cpython/pull/3813#event-1272028213
bpo-31620https://bugs.python.org/issue?@action=redirect&bpo=31620
: have asyncio/queues not leak memory when you've exceptions…https://github.com/python/cpython/pull/3813/commits/686c146b1ca1eb5c7ef058bb28772ac612a8ec1d
686c146https://github.com/python/cpython/pull/3813/commits/686c146b1ca1eb5c7ef058bb28772ac612a8ec1d
https://github.com/1st1
1st1https://github.com/1st1
asvetlovhttps://github.com/asvetlov
vstinnerhttps://github.com/vstinner
October 19, 2017 17:51https://github.com/python/cpython/pull/3813#event-1301603650
https://github.com/asvetlov
asvetlovhttps://github.com/asvetlov
Oct 27, 2017 https://github.com/python/cpython/pull/3813#pullrequestreview-72479862
View reviewed changes https://github.com/python/cpython/pull/3813/files/686c146b1ca1eb5c7ef058bb28772ac612a8ec1d
asvetlovhttps://github.com/asvetlov
https://github.com/python/cpython/pull/3813#pullrequestreview-72479862
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/3813
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Oct 27, 2017https://github.com/python/cpython/pull/3813#event-1313767200
https://github.com/asvetlov
asvetlovhttps://github.com/asvetlov
needs backport to 3.6 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.6%22
topic-asyncio https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atopic-asyncio
Oct 27, 2017https://github.com/python/cpython/pull/3813#event-1313767679
https://github.com/asvetlov
asvetlovhttps://github.com/asvetlov
Oct 27, 2017https://github.com/python/cpython/pull/3813#issuecomment-339949902
@1st1https://github.com/1st1
Please reload this pagehttps://github.com/python/cpython/pull/3813
https://github.com/asvetlov
asvetlovhttps://github.com/asvetlov
c62f0cbhttps://github.com/python/cpython/commit/c62f0cb3b1f6f9ca4ce463b1c99b0543bdfa38d6
Nov 7, 2017https://github.com/python/cpython/pull/3813#event-1330219189
https://github.com/miss-islington
miss-islingtonhttps://github.com/miss-islington
Nov 7, 2017https://github.com/python/cpython/pull/3813#issuecomment-342561039
@SurenNihalanihttps://github.com/SurenNihalani
@asvetlovhttps://github.com/asvetlov
Please reload this pagehttps://github.com/python/cpython/pull/3813
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Nov 7, 2017https://github.com/python/cpython/pull/3813#event-1330219234
miss-islingtonhttps://github.com/miss-islington
Nov 7, 2017 https://github.com/python/cpython/pull/3813#ref-commit-012171d
https://github.com/SurenNihalani
https://github.com/miss-islington
bpo-31620: have asyncio/queues not leak memory when you've exceptions…https://github.com/miss-islington/cpython/commit/012171d1c6f820f7d81699201c259dd3caad2fd5
012171dhttps://github.com/miss-islington/cpython/commit/012171d1c6f820f7d81699201c259dd3caad2fd5
pythonGH-3813https://github.com/python/cpython/pull/3813
c62f0cbhttps://github.com/miss-islington/cpython/commit/c62f0cb3b1f6f9ca4ce463b1c99b0543bdfa38d6
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Nov 7, 2017https://github.com/python/cpython/pull/3813#issuecomment-342561352
GH-4326https://github.com/python/cpython/pull/4326
3.6 branchhttps://github.com/python/cpython/tree/3.6
Please reload this pagehttps://github.com/python/cpython/pull/3813
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
needs backport to 3.6 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.6%22
Nov 7, 2017https://github.com/python/cpython/pull/3813#event-1330221362
asvetlovhttps://github.com/asvetlov
Nov 7, 2017 https://github.com/python/cpython/pull/3813#ref-commit-ac4f6d4
https://github.com/miss-islington
https://github.com/asvetlov
bpo-31620https://bugs.python.org/issue?@action=redirect&bpo=31620
: have asyncio/queues not leak memory when you've exceptions…https://github.com/python/cpython/commit/ac4f6d4448fb6f9affb817bafb8357450fe43349
ac4f6d4https://github.com/python/cpython/commit/ac4f6d4448fb6f9affb817bafb8357450fe43349
GH-3813https://github.com/python/cpython/pull/3813
#4326https://github.com/python/cpython/pull/4326
c62f0cbhttps://github.com/python/cpython/commit/c62f0cb3b1f6f9ca4ce463b1c99b0543bdfa38d6
embrayhttps://github.com/embray
Nov 9, 2017 https://github.com/python/cpython/pull/3813#ref-commit-062de42
https://github.com/SurenNihalani
https://github.com/embray
bpo-31620: have asyncio/queues not leak memory when you've exceptions…https://github.com/embray/cpython/commit/062de42d3b473827262b7968b8ee21f9068c726b
062de42https://github.com/embray/cpython/commit/062de42d3b473827262b7968b8ee21f9068c726b
python#3813https://github.com/python/cpython/pull/3813
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F3813
https://github.com/JelleZijlstra
JelleZijlstra https://github.com/JelleZijlstra
https://github.com/python/cpython/pull/3813/files/80115d7680ba1ea9e22b43b8c9bd6cf6704d42e0
https://github.com/asvetlov
asvetlov https://github.com/asvetlov
https://github.com/python/cpython/pull/3813/files/686c146b1ca1eb5c7ef058bb28772ac612a8ec1d
https://github.com/1st1
1st1 https://github.com/1st1
https://github.com/vstinner
vstinner https://github.com/vstinner
topic-asyncio https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atopic-asyncio
Please reload this pagehttps://github.com/python/cpython/pull/3813
https://github.com/SurenNihalani
https://github.com/the-knights-who-say-ni
https://github.com/asvetlov
https://github.com/miss-islington
https://github.com/bedevere-bot
https://github.com/JelleZijlstra
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.