Title: test_hashlib fails with SSLlibrary having only SHA3 algo but no SHAKE · Issue #141907 · python/cpython · GitHub
Open Graph Title: test_hashlib fails with SSLlibrary having only SHA3 algo but no SHAKE · Issue #141907 · python/cpython
X Title: test_hashlib fails with SSLlibrary having only SHA3 algo but no SHAKE · Issue #141907 · python/cpython
Description: Bug report Bug description: If Python3 use an OpenSSL like SSL library that only expose SHA3 algo and no SHAKE algo, the test_hashlib test wrongly detect the algo presence and fails to execute on the SHA3 test. This has been identified i...
Open Graph Description: Bug report Bug description: If Python3 use an OpenSSL like SSL library that only expose SHA3 algo and no SHAKE algo, the test_hashlib test wrongly detect the algo presence and fails to execute on t...
X Description: Bug report Bug description: If Python3 use an OpenSSL like SSL library that only expose SHA3 algo and no SHAKE algo, the test_hashlib test wrongly detect the algo presence and fails to execute on t...
Opengraph URL: https://github.com/python/cpython/issues/141907
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"test_hashlib fails with SSLlibrary having only SHA3 algo but no SHAKE","articleBody":"# Bug report\n\n### Bug description:\n\nIf Python3 use an OpenSSL like SSL library that only expose SHA3 algo and no SHAKE algo, the test_hashlib test wrongly detect the algo presence and fails to execute on the SHA3 test.\n\nThis has been identified in a wrong logic for the try-except block for HASH, HASHXOF detection.\n\n\n### CPython versions tested on:\n\n3.13\n\n### Operating systems tested on:\n\nLinux\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-141908\n* gh-141918\n* gh-141919\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/Ansuel","@type":"Person","name":"Ansuel"},"datePublished":"2025-11-24T15:02:18.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/141907/cpython/issues/141907"}
| 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:ff417266-ae0f-a7c9-eead-22ee7d54e02d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D5A8:247E0C:2BADEC8:3B079CA:696AEC9F |
| html-safe-nonce | 150659857059fd4adb18ced76caa40feecb52a07210da7d648c365d005489596 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENUE4OjI0N0UwQzoyQkFERUM4OjNCMDc5Q0E6Njk2QUVDOUYiLCJ2aXNpdG9yX2lkIjoiNTI5ODA3ODU5NTAzOTI5MjU3NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 85e09c71b869aa8533ef64390e4d3a084470b128a7d4d0cf8d2374c64ca143ba |
| hovercard-subject-tag | issue:3659300155 |
| 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/141907/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1c1bf024b262f38fd254f5fb05a0a6d40602a840687ae569e127bc3ec5db1338/python/cpython/issues/141907 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1c1bf024b262f38fd254f5fb05a0a6d40602a840687ae569e127bc3ec5db1338/python/cpython/issues/141907 |
| og:image:alt | Bug report Bug description: If Python3 use an OpenSSL like SSL library that only expose SHA3 algo and no SHAKE algo, the test_hashlib test wrongly detect the algo presence and fails to execute on t... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Ansuel |
| 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