Title: test_sys globally requires _datetime for cpython_only test · Issue #143959 · python/cpython · GitHub
Open Graph Title: test_sys globally requires _datetime for cpython_only test · Issue #143959 · python/cpython
X Title: test_sys globally requires _datetime for cpython_only test · Issue #143959 · python/cpython
Description: Bug report Bug description: _datetime is only being used by @cpython_only test, but imported on top level CPython versions tested on: CPython main branch Operating systems tested on: No response Linked PRs gh-143997 gh-144003
Open Graph Description: Bug report Bug description: _datetime is only being used by @cpython_only test, but imported on top level CPython versions tested on: CPython main branch Operating systems tested on: No response Li...
X Description: Bug report Bug description: _datetime is only being used by @cpython_only test, but imported on top level CPython versions tested on: CPython main branch Operating systems tested on: No response Li...
Opengraph URL: https://github.com/python/cpython/issues/143959
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"test_sys globally requires _datetime for cpython_only test","articleBody":"# Bug report\n\n### Bug description:\n\n_datetime is only being used by `@cpython_only` test, but imported on top level\n\n### CPython versions tested on:\n\nCPython main branch\n\n### Operating systems tested on:\n\n_No response_\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-143997\n* gh-144003\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/youknowone","@type":"Person","name":"youknowone"},"datePublished":"2026-01-17T12:38:22.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/143959/cpython/issues/143959"}
| 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:318301d7-0ff4-1a1e-5558-c7fa85f12d98 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B756:18334E:1B28CEA:23E0B86:696D6EF7 |
| html-safe-nonce | 4608dbdd8e8a85543d844c150ae267ac385d675d107c79afe9d5a74533a660a0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNzU2OjE4MzM0RToxQjI4Q0VBOjIzRTBCODY6Njk2RDZFRjciLCJ2aXNpdG9yX2lkIjoiNjIxOTEzNjIzMDA0MjIwMTg0NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d1b40433473e3cf423fc5c6e9737a4d92ee8b86ce720a0752b31743b2399e50f |
| hovercard-subject-tag | issue:3825103053 |
| 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/143959/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b00eff6b25d8e0c4affde12cc6d36941a090a8735cbf8ec8040e5c46b9c6f518/python/cpython/issues/143959 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b00eff6b25d8e0c4affde12cc6d36941a090a8735cbf8ec8040e5c46b9c6f518/python/cpython/issues/143959 |
| og:image:alt | Bug report Bug description: _datetime is only being used by @cpython_only test, but imported on top level CPython versions tested on: CPython main branch Operating systems tested on: No response Li... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | youknowone |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4922b452d03cd8dbce479d866a11bc25b59ef6ee2da23aa9b0ddefa6bd4d0064 |
| 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 | 7e5ae23c70136152637ceee8d6faceb35596ec46 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width