Title: asyncio.graph.format_call_graph() should use io.Writer instead of typing.TextIO · Issue #133893 · python/cpython · GitHub
Open Graph Title: asyncio.graph.format_call_graph() should use io.Writer instead of typing.TextIO · Issue #133893 · python/cpython
X Title: asyncio.graph.format_call_graph() should use io.Writer instead of typing.TextIO · Issue #133893 · python/cpython
Description: Feature or enhancement Proposal: The file argument to format_call_graph() gets forwarded to print(file), which is annotated as _typeshed.SupportsWrite[str] in typeshed. SupportsWrite is typeshed's legacy variant of io.Writer. Has this al...
Open Graph Description: Feature or enhancement Proposal: The file argument to format_call_graph() gets forwarded to print(file), which is annotated as _typeshed.SupportsWrite[str] in typeshed. SupportsWrite is typeshed's ...
X Description: Feature or enhancement Proposal: The file argument to format_call_graph() gets forwarded to print(file), which is annotated as _typeshed.SupportsWrite[str] in typeshed. SupportsWrite is typeshed...
Opengraph URL: https://github.com/python/cpython/issues/133893
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"asyncio.graph.format_call_graph() should use io.Writer instead of typing.TextIO","articleBody":"# Feature or enhancement\n\n### Proposal:\n\nThe `file` argument to `format_call_graph()` gets forwarded to `print(file)`, which is annotated as `_typeshed.SupportsWrite[str]` in typeshed. `SupportsWrite` is typeshed's legacy variant of `io.Writer`.\n\n### Has this already been discussed elsewhere?\n\nThis is a minor feature, which does not need previous discussion elsewhere\n\n### Links to previous discussion of this feature:\n\n_No response_\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-133894\n* gh-133901\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/srittau","@type":"Person","name":"srittau"},"datePublished":"2025-05-11T11:47:36.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/133893/cpython/issues/133893"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:a00e0b72-1ae4-b912-d22f-3b2680a1a060 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D18A:10E844:4CCC94:652B0C:696B4350 |
| html-safe-nonce | 36f5159eebaa38d57958f16c758bde4bdffcb08931e94814eca7ace20ee2dfdb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMThBOjEwRTg0NDo0Q0NDOTQ6NjUyQjBDOjY5NkI0MzUwIiwidmlzaXRvcl9pZCI6IjU1NDA5OTc1NDE2OTc0NjI1NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 1bf69c774d3aad60318c82f3a8a83263de46c1acb257c5f67d08dd7f180c1115 |
| hovercard-subject-tag | issue:3054939812 |
| 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/_view_fragments/issues/show/python/cpython/133893/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5090e01863a4b5cb4710e6ca92db221b68017a5a783ba3af9a1bfc347f15b240/python/cpython/issues/133893 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5090e01863a4b5cb4710e6ca92db221b68017a5a783ba3af9a1bfc347f15b240/python/cpython/issues/133893 |
| og:image:alt | Feature or enhancement Proposal: The file argument to format_call_graph() gets forwarded to print(file), which is annotated as _typeshed.SupportsWrite[str] in typeshed. SupportsWrite is typeshed's ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | srittau |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| 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 | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width