René's URL Explorer Experiment


Title: ctypes array cannot be returned by value on ARM64 · Issue #110190 · python/cpython · GitHub

Open Graph Title: ctypes array cannot be returned by value on ARM64 · Issue #110190 · python/cpython

X Title: ctypes array cannot be returned by value on ARM64 · Issue #110190 · python/cpython

Description: Bug report Bug description: Dear, I'm wrapping a C-library with the ctypes module on Darwin (ARM64). I have a function that simply initializes a C-struct and returns the struct by value. The C-struct contains one simple C-array type. Whe...

Open Graph Description: Bug report Bug description: Dear, I'm wrapping a C-library with the ctypes module on Darwin (ARM64). I have a function that simply initializes a C-struct and returns the struct by value. The C-stru...

X Description: Bug report Bug description: Dear, I'm wrapping a C-library with the ctypes module on Darwin (ARM64). I have a function that simply initializes a C-struct and returns the struct by value. The C-...

Opengraph URL: https://github.com/python/cpython/issues/110190

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ctypes array cannot be returned by value on ARM64","articleBody":"# Bug report\n\n### Bug description:\n\nDear,\n\nI'm wrapping a C-library with the ctypes module on Darwin (ARM64). I have a function that simply initializes a C-struct and returns the struct by value. The C-struct contains one simple C-array type. When using ArrayTypes in Python, it seems the struct is not returned properly.\n\nOn Windows and Linux platforms the same code does work as expected.\n\nThe strange thing is that if I lay out the struct explicitly with singular types in Python (as I expect the layout of the struct is the same), it does work as expected on all tried platforms.\n\nTo reproduce, I first create a simple .c file with the struct and the initializing function. In Python, I give code that I use to compile (with gcc), and then three different ways to wrap the struct and function in Python using ctypes. I believe the three ways should be equivalent (and they are on Windows and Linux), but not on Darwin (ARM64).\n\nI saved this file as ``ctypesexample.c``\n```c\n\nstruct example{double coords[3];};\nstruct example set_defaults(){\n    struct example ex;\n    ex.coords[0] = 1.0;\n    ex.coords[1] = 2.0;\n    ex.coords[2] = 3.0;\n    return ex;}\n```\n\nI saved this file as ``reproduce.py``\n```python\n\nimport os\nimport subprocess\nimport ctypes\n\ndef compile():\n    \"\"\"Compile the c file using gcc.\"\"\"\n    subprocess.call([\"gcc\",\"-c\",\"-Wall\",\"-Werror\",\"-fpic\",\"ctypesexample.c\"])\n    subprocess.call([\"gcc\",\"-shared\",\"-o\",\"libctypesexample\",\"ctypesexample.o\"])\n    assert os.path.isfile('libctypesexample')\n\n# Three ways to wrap the struct:\nclass Example1(ctypes.Structure):\n    _fields_ = [\n            ('coords', ctypes.c_double * 3)\n               ]\n\nclass CoordType(ctypes.Array):\n    _type_ = ctypes.c_double\n    _length_ = 3\n\nclass Example2(ctypes.Structure):\n    _fields_ = [('coords', CoordType)]\n    \nclass Example3(ctypes.Structure):\n    _fields_ = [\n            ('x', ctypes.c_double),\n            ('y', ctypes.c_double),\n            ('z', ctypes.c_double)\n               ]\n\ndef run():\n    # Load the shared library\n    so_location = os.path.abspath(\"libctypesexample\")\n    _lib = ctypes.cdll.LoadLibrary(so_location)\n    _lib.set_defaults.restype = Example1\n    o = _lib.set_defaults()\n    print(f\"Example1: ({o.coords[0]}, {o.coords[1]}, {o.coords[2]})\")\n    \n    _lib.set_defaults.restype = Example2\n    o = _lib.set_defaults()\n    print(f\"Example2: ({o.coords[0]}, {o.coords[1]}, {o.coords[2]})\")\n\n    _lib.set_defaults.restype = Example3\n    o = _lib.set_defaults()\n    print(f\"Example3: ({o.x}, {o.y}, {o.z})\")\n\nif __name__ == \"__main__\":\n    if not os.path.isfile('libctypesexample'):\n        compile()\n    run()\n```\n\nI tried this code on Linux (debian) -- both in Docker and WSL. And this works perfectly. Equivalent code in Windows is also working fine. In the past, I have run similar code as above on many different versions of Python (3.5-3.11) on both platforms for years (and still) without problems. For example on WSL with the following platform info\n\n`uname_result(system='Linux', release='5.15.90.1-microsoft-standard-WSL2', version='#1 SMP Fri Jan 27 02:56:13 UTC 2023', machine='x86_64')`\n\nand Python:\n\nPython 3.10.6 (main, Mar 10 2023, 10:55:28) [GCC 11.3.0] on linux\n\nI get this correct output:\n\n```\nExample1: (1.0, 2.0, 3.0)\nExample2: (1.0, 2.0, 3.0)\nExample3: (1.0, 2.0, 3.0)\n```\n\nWhile on **Darwin (ARM)** with the following platform info:\n\n`system='Darwin', release='22.1.0', version='Darwin Kernel Version 22.1.0: Sun Oct  9 20:14:30 PDT 2022; root:xnu-8792.41.9~2/RELEASE_ARM64_T8103', machine='arm64')`\n\nand Python\n\nPython 3.11.4 (main, Jun 12 2023, 11:39:45) [Clang 14.0.3 (clang-1403.0.22.14.1)] on darwin\n\nI get the following output:\n\n```\nExample1: (3.025693809e-314, 3.0256938013e-314, 2.1481083817e-314)\nExample2: (3.025693809e-314, 3.0256938013e-314, 2.1481083817e-314)\nExample3: (1.0, 2.0, 3.0)\n```\n\nIn summary, the struct doesn't seem to be properly returned as value using array types, though with a literal listing of the types, it seems there is no problem. So there is a workaround, but as we're using ctypes for automatic wrapping through reflection and the code works properly on Windows and Linux, it would be quite some work to implement the workaround.\n\nI hope my bug report finds you without any errors, and many thanks for giving the opportunity to report.\n\nBest regards\n\n\n### CPython versions tested on:\n\n3.10, 3.11\n\n### Operating systems tested on:\n\nLinux, macOS, Windows\n\n\u003c!-- gh-linked-prs -->\n### Linked PRs\n* gh-112604\n* gh-112766\n* gh-112767\n* gh-112818\n* gh-112829\n* gh-112830\n* gh-112959\n* gh-113167\n* gh-113170\n* gh-114753\n* gh-114774\n* gh-114775\n* gh-118233\n\u003c!-- /gh-linked-prs -->\n","author":{"url":"https://github.com/pdegroote","@type":"Person","name":"pdegroote"},"datePublished":"2023-10-01T19:29:34Z","url":"https://github.com/python/cpython/issues/110190"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:d8ac33b5-b746-8395-144a-9959743cdf0e
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idBD02:1F2F:197B6AC:21D8B4D:6B020276
html-safe-nonce7a351ced79764f4d8194060f150db38764c1fe795e9a12f41b9b0bccee26edb0
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRDAyOjFGMkY6MTk3QjZBQzoyMUQ4QjREOjZCMDIwMjc2IiwidmlzaXRvcl9pZCI6IjEzMDU5OTQ3MDc3NjcyNjM4NjIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacdc8fac0ccfe6c46bf0deb6c32896ac42c1e5ab164880f53b956c0fb9be8c306a
hovercard-subject-tagissue:1920931168
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/110190/issue_layout
twitter:imagehttps://opengraph.githubassets.com/b98175a7faeafe720f941da3e6d0ee83bcf2df1e51377b374e6f694e99b061fb/python/cpython/issues/110190
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b98175a7faeafe720f941da3e6d0ee83bcf2df1e51377b374e6f694e99b061fb/python/cpython/issues/110190
og:image:altBug report Bug description: Dear, I'm wrapping a C-library with the ctypes module on Darwin (ARM64). I have a function that simply initializes a C-struct and returns the struct by value. The C-stru...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamepdegroote
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-preview
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/python/cpython/issues/110190#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F110190
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F110190
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/issues/110190
Reloadhttps://github.com/python/cpython/issues/110190
Reloadhttps://github.com/python/cpython/issues/110190
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.4k (2.4k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/insights
https://github.com/python/cpython
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/110190
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/110190
ctypes array cannot be returned by value on ARM64https://github.com/python/cpython/issues/110190#top
pendingThe issue will be closed if no feedback is providedhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22pending%22
topic-ctypeshttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22topic-ctypes%22
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
https://github.com/pdegroote
pdegrootehttps://github.com/pdegroote
on Oct 1, 2023https://github.com/python/cpython/issues/110190#issue-1920931168
gh-110190: Fix ctypes structs with array on Arm #112604https://github.com/python/cpython/pull/112604
[3.11] gh-110190: Fix ctypes structs with array on Arm (#112604) #112766https://github.com/python/cpython/pull/112766
[3.12] gh-110190: Fix ctypes structs with array on Arm (#112604) #112767https://github.com/python/cpython/pull/112767
gh-110190: Temporarily skip new test introduced in gh-112604 on PPC64LE #112818https://github.com/python/cpython/pull/112818
[3.12] gh-110190: Temporarily skip new test introduced in gh-112604 on PPC64LE (GH-112818) #112829https://github.com/python/cpython/pull/112829
[3.11] gh-110190: Temporarily skip new test introduced in gh-112604 on PPC64LE (GH-112818) #112830https://github.com/python/cpython/pull/112830
gh-110190: Fix ctypes structs with array on PPCLE64 #112959https://github.com/python/cpython/pull/112959
[3.11] gh-110190: Fix ctypes structs with array on PPCLE64 (GH-112959) #113167https://github.com/python/cpython/pull/113167
[3.12] gh-110190: Fix ctypes structs with array on PPCLE64 (GH-112959) #113170https://github.com/python/cpython/pull/113170
gh-110190: Fix ctypes structs with array on Windows ARM64 #114753https://github.com/python/cpython/pull/114753
[3.11] gh-110190: Fix ctypes structs with array on Windows ARM64 (GH-114753) #114774https://github.com/python/cpython/pull/114774
[3.12] gh-110190: Fix ctypes structs with array on Windows ARM64 (GH-114753) #114775https://github.com/python/cpython/pull/114775
gh-110190: Fix ctypes structs with array on SPARC #118233https://github.com/python/cpython/pull/118233
Nexthttps://github.com/python/cpython/issues/110190?timeline_page=1
pdegrootehttps://github.com/pdegroote
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
on Oct 1, 2023https://github.com/python/cpython/issues/110190#event-10520311414
sunmy2019https://github.com/sunmy2019
topic-ctypeshttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22topic-ctypes%22
on Oct 2, 2023https://github.com/python/cpython/issues/110190#event-10529902950
https://github.com/sunmy2019
sunmy2019https://github.com/sunmy2019
on Oct 2, 2023https://github.com/python/cpython/issues/110190#issuecomment-1743826014
https://github.com/sunmy2019
sunmy2019https://github.com/sunmy2019
on Oct 2, 2023https://github.com/python/cpython/issues/110190#issuecomment-1743926533
cpython/Modules/_ctypes/stgdict.chttps://github.com/python/cpython/blob/21a6263020db17020b2886f996bc23aa8cb7fbdf/Modules/_ctypes/stgdict.c#L700-L710
21a6263https://github.com/python/cpython/commit/21a6263020db17020b2886f996bc23aa8cb7fbdf
https://learn.microsoft.com/en-us/cpp/build/arm64-windows-abi-conventions?view=msvc-170#return-valueshttps://learn.microsoft.com/en-us/cpp/build/arm64-windows-abi-conventions?view=msvc-170#return-values
https://github.com/sunmy2019
sunmy2019https://github.com/sunmy2019
on Oct 2, 2023https://github.com/python/cpython/issues/110190#issuecomment-1743929858
https://github.com/diegorusso
diegorussohttps://github.com/diegorusso
on Nov 29, 2023https://github.com/python/cpython/issues/110190#issuecomment-1831923483
diegorussohttps://github.com/diegorusso
on Dec 1, 2023https://github.com/python/cpython/issues/110190#event-11124979172
pythongh-110190: Fix ctypes structs with array on Armhttps://github.com/diegorusso/cpython/commit/c70e93c182ae46122e6f97a001566d37a78c47c2
pythongh-110190https://github.com/python/cpython/issues/110190
c70e93chttps://github.com/diegorusso/cpython/commit/c70e93c182ae46122e6f97a001566d37a78c47c2
https://github.com/diegorusso
diegorussohttps://github.com/diegorusso
on Dec 1, 2023https://github.com/python/cpython/issues/110190#issuecomment-1836576549
ambvhttps://github.com/ambv
on Dec 5, 2023https://github.com/python/cpython/issues/110190#event-11154741787
gh-110190: Fix ctypes structs with array on Arm (#112604)https://github.com/python/cpython/commit/bc68f4a4abcfbea60bb1db1ccadb07613561931c
gh-110190https://github.com/python/cpython/issues/110190
#112604https://github.com/python/cpython/pull/112604
bc68f4ahttps://github.com/python/cpython/commit/bc68f4a4abcfbea60bb1db1ccadb07613561931c
diegorussohttps://github.com/diegorusso
on Dec 5, 2023https://github.com/python/cpython/issues/110190#event-11156879515
[3.11] pythongh-110190: Fix ctypes structs with array on Arm (python#…https://github.com/diegorusso/cpython/commit/db41ee38b6da156bd2a0d9601cae4dde2da21a6e
pythongh-110190https://github.com/python/cpython/issues/110190
python#…https://github.com/python/cpython/pull/112604
db41ee3https://github.com/diegorusso/cpython/commit/db41ee38b6da156bd2a0d9601cae4dde2da21a6e
[3.12] pythongh-110190: Fix ctypes structs with array on Arm (python#…https://github.com/diegorusso/cpython/commit/e047cd3f6c290a7af3ddbbb1e8ad084f907b0b76
pythongh-110190https://github.com/python/cpython/issues/110190
python#…https://github.com/python/cpython/pull/112604
e047cd3https://github.com/diegorusso/cpython/commit/e047cd3f6c290a7af3ddbbb1e8ad084f907b0b76
ambvhttps://github.com/ambv
on Dec 6, 2023https://github.com/python/cpython/issues/110190#event-11170370906
[3.12] gh-110190: Fix ctypes structs with array on Arm (#112604) (#11…https://github.com/python/cpython/commit/f941ecfffa9f919b9f624508cd0814e94f56db10
gh-110190https://github.com/python/cpython/issues/110190
#112604https://github.com/python/cpython/pull/112604
#11…https://github.com/python/cpython/pull/112767
f941ecfhttps://github.com/python/cpython/commit/f941ecfffa9f919b9f624508cd0814e94f56db10
[3.11] gh-110190: Fix ctypes structs with array on Arm (#112604) (#11…https://github.com/python/cpython/commit/b49c963e85f5a82822983c20be93790d71cbc408
gh-110190https://github.com/python/cpython/issues/110190
#112604https://github.com/python/cpython/pull/112604
#11…https://github.com/python/cpython/pull/112766
b49c963https://github.com/python/cpython/commit/b49c963e85f5a82822983c20be93790d71cbc408
https://github.com/ambv
ambvhttps://github.com/ambv
on Dec 6, 2023https://github.com/python/cpython/issues/110190#issuecomment-1843205551
ambvhttps://github.com/ambv
completedhttps://github.com/python/cpython/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Dec 6, 2023https://github.com/python/cpython/issues/110190#event-11170492991
gentoo-bothttps://github.com/gentoo-bot
on Sep 19, 2024https://github.com/python/cpython/issues/110190#event-14317529188
pythongh-110190: Fix ctypes structs with array on SPARC (pythonGH-118233https://github.com/gentoo/cpython/commit/4979be0e7bee0e4e12bc00e33223cbdd81423abf
pythongh-110190https://github.com/python/cpython/issues/110190
pythonGH-118233https://github.com/python/cpython/pull/118233
4979be0https://github.com/gentoo/cpython/commit/4979be0e7bee0e4e12bc00e33223cbdd81423abf
[3.11] pythongh-110190: Fix ctypes structs with array on Arm (python#…https://github.com/gentoo/cpython/commit/a025396c801808c8a5eccd42a8db930ac75a2b14
pythongh-110190https://github.com/python/cpython/issues/110190
python#…https://github.com/python/cpython/pull/112604
a025396https://github.com/gentoo/cpython/commit/a025396c801808c8a5eccd42a8db930ac75a2b14
[3.11] pythongh-110190: Temporarily skip new test introduced in pytho…https://github.com/gentoo/cpython/commit/1800d7b3ff4cc3bcca6ae2dcb1e54aef0fe6ec9c
pythongh-110190https://github.com/python/cpython/issues/110190
pytho…https://github.com/python/cpython/pull/112604
1800d7bhttps://github.com/gentoo/cpython/commit/1800d7b3ff4cc3bcca6ae2dcb1e54aef0fe6ec9c
[3.11] pythongh-110190: Fix ctypes structs with array on PPCLE64 (pyt…https://github.com/gentoo/cpython/commit/06a0a9b36d8c5abb6a8b0397fcadf5652776d3c8
pythongh-110190https://github.com/python/cpython/issues/110190
pyt…https://github.com/python/cpython/pull/112959
06a0a9bhttps://github.com/gentoo/cpython/commit/06a0a9b36d8c5abb6a8b0397fcadf5652776d3c8
pythongh-110190: Fix ctypes structs with array on Windows ARM64 (pyth…https://github.com/gentoo/cpython/commit/215008de5dd808cdc22a65d63d4398a13abceea2
pythongh-110190https://github.com/python/cpython/issues/110190
pyth…https://github.com/python/cpython/pull/114753
215008dhttps://github.com/gentoo/cpython/commit/215008de5dd808cdc22a65d63d4398a13abceea2
pythongh-110190: Fix ctypes structs with array on SPARC (pythonGH-118233https://github.com/gentoo/cpython/commit/0b73a08a4218a29710db5835d23fdf05754f208e
pythongh-110190https://github.com/python/cpython/issues/110190
pythonGH-118233https://github.com/python/cpython/pull/118233
0b73a08https://github.com/gentoo/cpython/commit/0b73a08a4218a29710db5835d23fdf05754f208e
savannahostrowskihttps://github.com/savannahostrowski
on Sep 22, 2024https://github.com/python/cpython/issues/110190#event-14355721518
pythongh-110190: Fix ctypes structs with array on SPARC (pythonGH-118233https://github.com/savannahostrowski/cpython/commit/d8e1a4efc759c88bbb7bf594c7323f244495d99c
pythongh-110190https://github.com/python/cpython/issues/110190
pythonGH-118233https://github.com/python/cpython/pull/118233
d8e1a4ehttps://github.com/savannahostrowski/cpython/commit/d8e1a4efc759c88bbb7bf594c7323f244495d99c
gentoo-bothttps://github.com/gentoo-bot
on Jul 30, 2025https://github.com/python/cpython/issues/110190#event-18905787037
[3.11] pythongh-110190: Fix ctypes structs with array on Arm (python#…https://github.com/gentoo/cpython/commit/512b8fcdf0e937fb6cbc7b3669c6227433de61cf
pythongh-110190https://github.com/python/cpython/issues/110190
python#…https://github.com/python/cpython/pull/112604
512b8fchttps://github.com/gentoo/cpython/commit/512b8fcdf0e937fb6cbc7b3669c6227433de61cf
[3.11] pythongh-110190: Temporarily skip new test introduced in pytho…https://github.com/gentoo/cpython/commit/b04445e8f5681e07373699d7cc6c4b4ef67e7d2a
pythongh-110190https://github.com/python/cpython/issues/110190
pytho…https://github.com/python/cpython/pull/112604
b04445ehttps://github.com/gentoo/cpython/commit/b04445e8f5681e07373699d7cc6c4b4ef67e7d2a
[3.11] pythongh-110190: Fix ctypes structs with array on PPCLE64 (pyt…https://github.com/gentoo/cpython/commit/b6ce1984b770df8900ab5359e073e21672d09c0d
pythongh-110190https://github.com/python/cpython/issues/110190
pyt…https://github.com/python/cpython/pull/112959
b6ce198https://github.com/gentoo/cpython/commit/b6ce1984b770df8900ab5359e073e21672d09c0d
pythongh-110190: Fix ctypes structs with array on Windows ARM64 (pyth…https://github.com/gentoo/cpython/commit/e0a068b4e18c0f2ca61f8dba82ddc76e4f6a1850
pythongh-110190https://github.com/python/cpython/issues/110190
pyth…https://github.com/python/cpython/pull/114753
e0a068bhttps://github.com/gentoo/cpython/commit/e0a068b4e18c0f2ca61f8dba82ddc76e4f6a1850
pythongh-110190: Fix ctypes structs with array on SPARC (pythonGH-118233https://github.com/gentoo/cpython/commit/edcfb7a1783f2f3fc80a4e293155368efb136b05
pythongh-110190https://github.com/python/cpython/issues/110190
pythonGH-118233https://github.com/python/cpython/pull/118233
edcfb7ahttps://github.com/gentoo/cpython/commit/edcfb7a1783f2f3fc80a4e293155368efb136b05
vstinnerhttps://github.com/vstinner
on Nov 7, 2026https://github.com/python/cpython/issues/110190#event-35437827844
gh-161475: Fix ctypes structures with float arrays returned on Linux …https://github.com/python/cpython/commit/91ba786ed777cfcd10c7e8c346ec8fe1f8278ae3
gh-161475https://github.com/python/cpython/issues/161475
91ba786https://github.com/python/cpython/commit/91ba786ed777cfcd10c7e8c346ec8fe1f8278ae3
[3.14] gh-161475: Fix ctypes structures with float arrays returned on…https://github.com/python/cpython/commit/797faea5c5e28e061a84cc250d10870b729cfa25
gh-161475https://github.com/python/cpython/issues/161475
797faeahttps://github.com/python/cpython/commit/797faea5c5e28e061a84cc250d10870b729cfa25
[3.15] gh-161475: Fix ctypes structures with float arrays returned on…https://github.com/python/cpython/commit/dbab8c333265645ddf8799799da1dd075d04a61a
gh-161475https://github.com/python/cpython/issues/161475
dbab8c3https://github.com/python/cpython/commit/dbab8c333265645ddf8799799da1dd075d04a61a
Sign up for freehttps://github.com/signup?return_to=https://github.com/python/cpython/issues/110190
Sign in to commenthttps://github.com/login?return_to=https://github.com/python/cpython/issues/110190
pendingThe issue will be closed if no feedback is providedhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22pending%22
topic-ctypeshttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22topic-ctypes%22
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
Ctypes issueshttps://github.com/orgs/python/projects/42
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.