Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python 3.10 incompatibility you can no longer pass a float to an extension function. #384

Open
the-snowwhite opened this issue Dec 27, 2022 · 0 comments

Comments

@the-snowwhite
Copy link
Contributor

There was a change in Python 3.10 to the extension module interface - you can no longer pass a float to an extension function.
As ubuntu Jammy uses python 3.10 This leads to it not passing the halmodule.0 test as the output results differ:
feeding a float to a HAL_S32 pin results in:

TypeError: 'float' object cannot be interpreted as an integer

instead of a truncated int.
Any ideas of how to move forward with this issue ?
#383

@the-snowwhite the-snowwhite changed the title Python 3.10 incompatibility Python 3.10 incompatibility you can no longer pass a float to an extension function. Jan 2, 2023
This was referenced Jan 2, 2023
@the-snowwhite the-snowwhite pinned this issue Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant