Title: GitHub · Where software is built
Open Graph Title: python/cpython
X Title: python/cpython
Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.
Open Graph Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.
X Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.
Opengraph URL: https://github.com/python/cpython
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Tweak asyncio.Runner loop_factory docs to emphasize that the default case *does* call `set_event_loop()`","articleBody":"\r\n\u003e Whatever gives users the best guidance. I searched for code that uses `Runner(loop_factory=...)` and there is one case apart from `test_runners.py`: in `test_asyncio/test_subprocess.py` it is used as `loop_factory=asyncio.new_event_loop` specifically to prevent the watcher to be set (since the test sets its own watcher).\r\n\r\nI would emphasize that the default case *does* call `set_event_loop()` and implies attaching the watcher (if there is one!) to the loop; it's fine to suggest that `loop_factory` should be used only if this is undesired.\r\n\r\n_Originally posted by @gvanrossum in https://github.com/python/cpython/pull/95979#discussion_r946971337_","author":{"url":"https://github.com/graingert","@type":"Person","name":"graingert"},"datePublished":"2022-08-16T21:54:06.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/96036/cpython/issues/96036"}
| route-pattern | /:user_id/:repository/issues/:id(.:format) |
| route-controller | issues |
| route-action | show |
| fetch-nonce | v2:f24419b4-3e2d-d83c-1a4a-4771c86860a9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8828:388B78:286C18:344D5A:696ADAE6 |
| html-safe-nonce | 13e590ac760fc020b9904fe62c0e3092a090f0b1bff23c1ee373dc0d2e9d6706 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4ODI4OjM4OEI3ODoyODZDMTg6MzQ0RDVBOjY5NkFEQUU2IiwidmlzaXRvcl9pZCI6IjI1NjA4OTc2MTY2MzA3MDA3NzQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | bf25c8e1f214bec3fdbe0fd90ac61892f372b286de649e700903a03e730b3a1c |
| hovercard-subject-tag | repository:81598961 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/issues/96036 |
| twitter:image | https://opengraph.githubassets.com/4bdc75ff44f93fff474a15ea6ea0267a6b07f28bf753fc4d6f632a57d2fa7429/python/cpython |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4bdc75ff44f93fff474a15ea6ea0267a6b07f28bf753fc4d6f632a57d2fa7429/python/cpython |
| og:image:alt | The Python programming language. Contribute to python/cpython development by creating an account on GitHub. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-cache |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 524a93f2c1f36522a3b4be4c110467ee4172245d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width