Title: trace.__main__ does not use io.open_code · Issue #103935 · python/cpython · GitHub
Open Graph Title: trace.__main__ does not use io.open_code · Issue #103935 · python/cpython
X Title: trace.__main__ does not use io.open_code · Issue #103935 · python/cpython
Description: When used as an entry point, the trace module opens code files without using io.open_code: https://github.com/python/cpython/blob/main/Lib/trace.py#L719 This should use the io.open_code method instead of open(..., 'rb'). Linked PRs gh-10...
Open Graph Description: When used as an entry point, the trace module opens code files without using io.open_code: https://github.com/python/cpython/blob/main/Lib/trace.py#L719 This should use the io.open_code method inst...
X Description: When used as an entry point, the trace module opens code files without using io.open_code: https://github.com/python/cpython/blob/main/Lib/trace.py#L719 This should use the io.open_code method inst...
Opengraph URL: https://github.com/python/cpython/issues/103935
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"trace.__main__ does not use io.open_code","articleBody":"When used as an entry point, the `trace` module opens code files without using `io.open_code`: \r\n\r\nhttps://github.com/python/cpython/blob/main/Lib/trace.py#L719\r\n\r\nThis should use the `io.open_code` method instead of `open(..., 'rb')`.\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-103947\n* gh-103950\n* gh-103952\n* gh-103953\n* gh-103954\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/zooba","@type":"Person","name":"zooba"},"datePublished":"2023-04-27T17:24:49.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":8},"url":"https://github.com/103935/cpython/issues/103935"}
| 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:c5a10a3a-0e5d-715f-a7e6-7d50d13495b3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E514:1851F5:1298191:19A5F04:6969FFAB |
| html-safe-nonce | 0908978d0ac1d3953023714b5a5eb272e96d1d868c9058a8fbd4aee04848f906 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNTE0OjE4NTFGNToxMjk4MTkxOjE5QTVGMDQ6Njk2OUZGQUIiLCJ2aXNpdG9yX2lkIjoiODE4ODAwNTQwODExMDY3MzgzNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 44656ad8ef6e629f31ba73a8d970402b4a0a979e54ae276a5109dde437df12ec |
| hovercard-subject-tag | issue:1687260893 |
| 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/103935/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e20dc99871328d17a501e789e7913e53feafba6d3bc46d204f7f3240486c7829/python/cpython/issues/103935 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e20dc99871328d17a501e789e7913e53feafba6d3bc46d204f7f3240486c7829/python/cpython/issues/103935 |
| og:image:alt | When used as an entry point, the trace module opens code files without using io.open_code: https://github.com/python/cpython/blob/main/Lib/trace.py#L719 This should use the io.open_code method inst... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | zooba |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7b32f1c7c4549428ee399213e8345494fc55b5637195d3fc5f493657579235e8 |
| 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 | bdde15ad1b403e23b08bbd89b53fbe6bdf688cad |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width