Title: Python/hamt.c: Update import for debugging · Issue #137440 · python/cpython · GitHub
Open Graph Title: Python/hamt.c: Update import for debugging · Issue #137440 · python/cpython
X Title: Python/hamt.c: Update import for debugging · Issue #137440 · python/cpython
Description: Documentation The description of Python/hamt.c reads: cpython/Python/hamt.c Lines 255 to 261 in c2428ca Debug ===== The HAMT datatype is accessible for testing purposes under the `_testcapi` module: >>> from _testcapi import hamt This is...
Open Graph Description: Documentation The description of Python/hamt.c reads: cpython/Python/hamt.c Lines 255 to 261 in c2428ca Debug ===== The HAMT datatype is accessible for testing purposes under the `_testcapi` module...
X Description: Documentation The description of Python/hamt.c reads: cpython/Python/hamt.c Lines 255 to 261 in c2428ca Debug ===== The HAMT datatype is accessible for testing purposes under the `_testcapi` module...
Opengraph URL: https://github.com/python/cpython/issues/137440
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Python/hamt.c: Update import for debugging","articleBody":"# Documentation\n\nThe description of `Python/hamt.c` reads:\n\nhttps://github.com/python/cpython/blob/c2428ca9ea0c4eac9c7f2b41aff5f77660f21298/Python/hamt.c#L255-L261\n\nThis is outdated, because since GH-108434 it has been no longer possible to import `hamt` from `_testcapi`; one has to use `_testinternalcapi` instead.\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-137441\n* gh-137519\n* gh-137520\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/johnslavik","@type":"Person","name":"johnslavik"},"datePublished":"2025-08-05T22:36:05.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/137440/cpython/issues/137440"}
| 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:2e1bd44f-ca39-82f4-cc28-684b7516c3a0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D416:E1D0E:9F7285:D28B7C:696B5586 |
| html-safe-nonce | 905991c1e8f37498a7ba1b744a1a770babb62363175845013d6320365794cbe5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENDE2OkUxRDBFOjlGNzI4NTpEMjhCN0M6Njk2QjU1ODYiLCJ2aXNpdG9yX2lkIjoiNDM1OTgzOTExOTQ2MjU4NTczNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | b5d5e2f1f85834bd7621180c592542d4f46984f26f61482e6779ed1c4cc5934c |
| hovercard-subject-tag | issue:3294622418 |
| 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/137440/issue_layout |
| twitter:image | https://opengraph.githubassets.com/904b24a6febd5059e48ab341df7738d4d9d1903b524b2d0cfabc71187d07ca09/python/cpython/issues/137440 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/904b24a6febd5059e48ab341df7738d4d9d1903b524b2d0cfabc71187d07ca09/python/cpython/issues/137440 |
| og:image:alt | Documentation The description of Python/hamt.c reads: cpython/Python/hamt.c Lines 255 to 261 in c2428ca Debug ===== The HAMT datatype is accessible for testing purposes under the `_testcapi` module... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | johnslavik |
| 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