Title: Add tests for `dis` command-line interface · Issue #127637 · python/cpython · GitHub
Open Graph Title: Add tests for `dis` command-line interface · Issue #127637 · python/cpython
X Title: Add tests for `dis` command-line interface · Issue #127637 · python/cpython
Description: The dis CLI (added in 3.10 or so) is lacking tests. I'll be writing them tomorrow or tonight, depending on when I'm done with my IRL tasks. I think we can backport tests for all command-line options that were introduced in previous versi...
Open Graph Description: The dis CLI (added in 3.10 or so) is lacking tests. I'll be writing them tomorrow or tonight, depending on when I'm done with my IRL tasks. I think we can backport tests for all command-line option...
X Description: The dis CLI (added in 3.10 or so) is lacking tests. I'll be writing them tomorrow or tonight, depending on when I'm done with my IRL tasks. I think we can backport tests for all command-lin...
Opengraph URL: https://github.com/python/cpython/issues/127637
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add tests for `dis` command-line interface","articleBody":"The `dis` CLI (added in 3.10 or so) is lacking tests. I'll be writing them tomorrow or tonight, depending on when I'm done with my IRL tasks.\r\n\r\nI think we can backport tests for all command-line options that were introduced in previous versions (up to 3.12) and only write tests for those that were introduced in 3.14 (namely `--show-positions` (#123168) and `--specialized` (#127414), and maybe more, but those I've added those two so I know they are 3.14+). To that end, I'll write two separate PRs so to ease backports.\r\n\r\n\r\ncc @iritkatriel \n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-127759\n* gh-127780\n* gh-127781\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/picnixz","@type":"Person","name":"picnixz"},"datePublished":"2024-12-05T14:44:57.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/127637/cpython/issues/127637"}
| 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:4e5de3ee-0a3e-d7e8-46b1-6dd5cb16c33a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E38A:2C2C4D:AF41FE:F2DAEF:696A86BB |
| html-safe-nonce | 74af6ebef11ec144f3f6db6d0ba5e844f2259f37dc2437edffe02a94a426518f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMzhBOjJDMkM0RDpBRjQxRkU6RjJEQUVGOjY5NkE4NkJCIiwidmlzaXRvcl9pZCI6IjYzMzIxODEyMDM3OTE4MDgxODciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | edddeac170e1930c79155eec47ba082735d2cc7fb690a05a5edaf4455c20c473 |
| hovercard-subject-tag | issue:2720610077 |
| 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/127637/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4811b79168ad31107f6e782947de31ea8c037ab58830e3fe47d43e7f940a4d1c/python/cpython/issues/127637 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4811b79168ad31107f6e782947de31ea8c037ab58830e3fe47d43e7f940a4d1c/python/cpython/issues/127637 |
| og:image:alt | The dis CLI (added in 3.10 or so) is lacking tests. I'll be writing them tomorrow or tonight, depending on when I'm done with my IRL tasks. I think we can backport tests for all command-line option... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | picnixz |
| hostname | github.com |
| expected-hostname | github.com |
| None | d2aa6dedd7d97fa651b17c40401f2605f309df5ca5fb659bf0554cf34f1de825 |
| 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 | c1dbca8981c5e3d6a69bce2f1d289e732b86241d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width