Title: Support complex (float/double) types in array.array and memoryview · Issue #146151 · python/cpython · GitHub
Open Graph Title: Support complex (float/double) types in array.array and memoryview · Issue #146151 · python/cpython
X Title: Support complex (float/double) types in array.array and memoryview · Issue #146151 · python/cpython
Description: Currently, we have support for this in the struct and the ctypes modules, working rather with heterogeneous binary data. Lets add these types to the array module as well ('F'/'D' type codes). I think this feature can be available uncondi...
Open Graph Description: Currently, we have support for this in the struct and the ctypes modules, working rather with heterogeneous binary data. Lets add these types to the array module as well ('F'/'D' type codes). I thi...
X Description: Currently, we have support for this in the struct and the ctypes modules, working rather with heterogeneous binary data. Lets add these types to the array module as well ('F'/'D' ty...
Opengraph URL: https://github.com/python/cpython/issues/146151
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Support complex (float/double) types in array.array and memoryview","articleBody":"Currently, we have support for this in the struct and the ctypes modules, working rather with heterogeneous binary data. Lets add these types to the array module as well ('F'/'D' type codes).\n\nI think this feature can be available unconditionally, like for the struct module.\n\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-146237\n* gh-146241\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/skirpichev","@type":"Person","name":"skirpichev"},"datePublished":"2026-03-19T05:31:05.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/146151/cpython/issues/146151"}
| 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:406502c4-f691-4bb7-1f59-be9fe4ab6189 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9204:3EE845:A19B1B7:E0CEEFD:6A5088F4 |
| html-safe-nonce | a6fdeafd79761b58abedb0fe2319222623a65124a04ec869ffdc0611ce39d51e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MjA0OjNFRTg0NTpBMTlCMUI3OkUwQ0VFRkQ6NkE1MDg4RjQiLCJ2aXNpdG9yX2lkIjoiNTIxMTY1Mzc1OTg4NTY3NDc0MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 061d2759f15a2a5015a77697ac7a8e79f082785e4975af649a46190059fa8913 |
| hovercard-subject-tag | issue:4099409390 |
| 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/146151/issue_layout |
| twitter:image | https://opengraph.githubassets.com/785767d38a5df77255fd7e50f9dfe1157237a9665681c63b73b0be9bfd37e564/python/cpython/issues/146151 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/785767d38a5df77255fd7e50f9dfe1157237a9665681c63b73b0be9bfd37e564/python/cpython/issues/146151 |
| og:image:alt | Currently, we have support for this in the struct and the ctypes modules, working rather with heterogeneous binary data. Lets add these types to the array module as well ('F'/'D' type codes). I thi... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | skirpichev |
| hostname | github.com |
| expected-hostname | github.com |
| None | d6dc8294eb500fa36bbc57472d61fe87c522f9c3c1d64f70f4926f66a66a7efb |
| 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 | 7ac0ad2f2c7e4b9056617355fd9e33e22b0c8df9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width