René's URL Explorer Experiment


Title: Running test_asyncio prints several tracebacks when succeeding · Issue #96911 · python/cpython · GitHub

Open Graph Title: Running test_asyncio prints several tracebacks when succeeding · Issue #96911 · python/cpython

X Title: Running test_asyncio prints several tracebacks when succeeding · Issue #96911 · python/cpython

Description: This is a bit distracting. If someone knows where these come from, let's come up with a patch to silence these. Details $ ./python.exe -m test test_asyncio 0:00:00 load avg: 1.44 Run tests sequentially 0:00:00 load avg: 1.44 [1/1] test_a...

Open Graph Description: This is a bit distracting. If someone knows where these come from, let's come up with a patch to silence these. Details $ ./python.exe -m test test_asyncio 0:00:00 load avg: 1.44 Run tests sequenti...

X Description: This is a bit distracting. If someone knows where these come from, let's come up with a patch to silence these. Details $ ./python.exe -m test test_asyncio 0:00:00 load avg: 1.44 Run tests sequ...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Running test_asyncio prints several tracebacks when succeeding","articleBody":"This is a bit distracting. If someone knows where these come from, let's come up with a patch to silence these.\r\n\r\n\u003cdetails\u003e\r\n\r\n```\r\n$ ./python.exe -m test test_asyncio\r\n0:00:00 load avg: 1.44 Run tests sequentially\r\n0:00:00 load avg: 1.44 [1/1] test_asyncio\r\nException in callback interrupt_self() at /Users/guido/cpython/Lib/test/test_asyncio/test_runners.py:19\r\nhandle: \u003cTimerHandle when=50711.269859326 interrupt_self() at /Users/guido/cpython/Lib/test/test_asyncio/test_runners.py:19\u003e\r\nTraceback (most recent call last):\r\n  File \"/Users/guido/cpython/Lib/asyncio/events.py\", line 80, in _run\r\n    self._context.run(self._callback, *self._args)\r\n    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n  File \"/Users/guido/cpython/Lib/test/test_asyncio/test_runners.py\", line 20, in interrupt_self\r\n    _thread.interrupt_main()\r\n    ^^^^^^^^^^^^^^^^^^^^^^^^\r\n  File \"/Users/guido/cpython/Lib/asyncio/runners.py\", line 146, in _on_sigint\r\n    self._loop.call_soon_threadsafe(lambda: None)\r\n    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n  File \"/Users/guido/cpython/Lib/asyncio/base_events.py\", line 809, in call_soon_threadsafe\r\n    self._write_to_self()\r\n    ^^^^^^^^^^^^^^^^^^^^^\r\n  File \"/Users/guido/cpython/Lib/asyncio/base_events.py\", line 511, in _write_to_self\r\n    raise NotImplementedError\r\n    ^^^^^^^^^^^^^^^^^^^^^^^^^\r\nNotImplementedError\r\nTask exception was never retrieved\r\nfuture: \u003cTask finished name='Task-1679' coro=\u003cRunnerTests.test_interrupt_cancelled_task.\u003clocals\u003e.subtask() done, defined at /Users/guido/cpython/Lib/test/test_asyncio/test_runners.py:367\u003e exception=NotImplementedError()\u003e\r\nTraceback (most recent call last):\r\n  File \"/Users/guido/cpython/Lib/test/test_asyncio/test_runners.py\", line 370, in subtask\r\n    interrupt_self()\r\n    ^^^^^^^^^^^^^^^^\r\n  File \"/Users/guido/cpython/Lib/test/test_asyncio/test_runners.py\", line 20, in interrupt_self\r\n    _thread.interrupt_main()\r\n    ^^^^^^^^^^^^^^^^^^^^^^^^\r\n  File \"/Users/guido/cpython/Lib/asyncio/runners.py\", line 146, in _on_sigint\r\n    self._loop.call_soon_threadsafe(lambda: None)\r\n    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n  File \"/Users/guido/cpython/Lib/asyncio/base_events.py\", line 809, in call_soon_threadsafe\r\n    self._write_to_self()\r\n    ^^^^^^^^^^^^^^^^^^^^^\r\n  File \"/Users/guido/cpython/Lib/asyncio/base_events.py\", line 511, in _write_to_self\r\n    raise NotImplementedError\r\n    ^^^^^^^^^^^^^^^^^^^^^^^^^\r\nNotImplementedError\r\nException in callback interrupt_self() at /Users/guido/cpython/Lib/test/test_asyncio/test_runners.py:19\r\nhandle: \u003cTimerHandle when=50711.372428525996 interrupt_self() at /Users/guido/cpython/Lib/test/test_asyncio/test_runners.py:19\u003e\r\nTraceback (most recent call last):\r\n  File \"/Users/guido/cpython/Lib/asyncio/events.py\", line 80, in _run\r\n    self._context.run(self._callback, *self._args)\r\n    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n  File \"/Users/guido/cpython/Lib/test/test_asyncio/test_runners.py\", line 20, in interrupt_self\r\n    _thread.interrupt_main()\r\n    ^^^^^^^^^^^^^^^^^^^^^^^^\r\n  File \"/Users/guido/cpython/Lib/asyncio/runners.py\", line 146, in _on_sigint\r\n    self._loop.call_soon_threadsafe(lambda: None)\r\n    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n  File \"/Users/guido/cpython/Lib/asyncio/base_events.py\", line 809, in call_soon_threadsafe\r\n    self._write_to_self()\r\n    ^^^^^^^^^^^^^^^^^^^^^\r\n  File \"/Users/guido/cpython/Lib/asyncio/base_events.py\", line 511, in _write_to_self\r\n    raise NotImplementedError\r\n    ^^^^^^^^^^^^^^^^^^^^^^^^^\r\nNotImplementedError\r\ntest_asyncio passed in 55.0 sec\r\n\r\n== Tests result: SUCCESS ==\r\n\r\n1 test OK.\r\n\r\nTotal duration: 55.0 sec\r\nTests result: SUCCESS\r\n$ \r\n```\r\n\r\n\u003c/details\u003e\r\n\r\nTested on macOS. Does not happen in 3.11.","author":{"url":"https://github.com/gvanrossum","@type":"Person","name":"gvanrossum"},"datePublished":"2022-09-18T03:54:21.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/96911/cpython/issues/96911"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:128de14d-79d7-ceff-5944-94fcee23880b
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idCCB0:86B86:BDAF0:10E892:696A0A9E
html-safe-nonce5eabea6b81f168b50165bcf8d8886c60f2b2ca6e32b57ac80df1844fd10ec389
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQ0IwOjg2Qjg2OkJEQUYwOjEwRTg5Mjo2OTZBMEE5RSIsInZpc2l0b3JfaWQiOiI3MDQ2NDA0ODQwMjk1NjMxNTE4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac0a6e836d2772cd9f5ced621f280694d0903f3f0bc1e71c7724a071dae22e1853
hovercard-subject-tagissue:1376936634
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/96911/issue_layout
twitter:imagehttps://opengraph.githubassets.com/806345f6e5c2161d6f1cd422458faafcda12c69e45a0a1b00bb74f06e5281945/python/cpython/issues/96911
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/806345f6e5c2161d6f1cd422458faafcda12c69e45a0a1b00bb74f06e5281945/python/cpython/issues/96911
og:image:altThis is a bit distracting. If someone knows where these come from, let's come up with a patch to silence these. Details $ ./python.exe -m test test_asyncio 0:00:00 load avg: 1.44 Run tests sequenti...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamegvanrossum
hostnamegithub.com
expected-hostnamegithub.com
None699227a00bbb7fe1eec276d2ae1c3a93068bc5ba483bd9dc4b2a27a8f4f2f595
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
release7266b2d935baa1c6474b16dd9feaa5ca30607261
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/issues/96911#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F96911
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
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
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
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%2Fissues%2F96911
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/issues/96911
Reloadhttps://github.com/python/cpython/issues/96911
Reloadhttps://github.com/python/cpython/issues/96911
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/issues/96911
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 33.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 71.1k 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.1k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects 31 https://github.com/python/cpython/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/python/cpython/security
Please reload this pagehttps://github.com/python/cpython/issues/96911
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 https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/96911
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/96911
Running test_asyncio prints several tracebacks when succeedinghttps://github.com/python/cpython/issues/96911#top
3.12only security fixeshttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.12%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/gvanrossum
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
on Sep 18, 2022https://github.com/python/cpython/issues/96911#issue-1376936634
3.12only security fixeshttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.12%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.