这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@geohot
Copy link
Collaborator

@geohot geohot commented Oct 28, 2025

clang2py is broken in 3.14

@geohot geohot marked this pull request as draft November 13, 2025 17:11
@geohot
Copy link
Collaborator Author

geohot commented Nov 13, 2025

Hopefully good after new autogen

@geohot geohot added the old label Nov 13, 2025
@geohot
Copy link
Collaborator Author

geohot commented Nov 15, 2025

@sirhcm autogen test issue on 3.14?

@sirhcm
Copy link
Contributor

sirhcm commented Nov 15, 2025

Yeah, moving the fields outside the class fixes it:

class Z(Struct): pass
Z._packed_, Z._fields_ = True, layout

Which is how the autogen actually works. Also the line I labeled as a ctypes bug is now fixed in 3.14...

Here's a patch if you want to include that in this PR, or I can open a separate one.
314.patch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants