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

Add support for Python up to 3.12 #50

Merged

Conversation

ader1990
Copy link
Member

@ader1990 ader1990 commented Nov 3, 2023

PyMI already worked for Python up to 3.11 version.

For Python 3.12, the deprecated PyUnicode_GetSize has been removed completely and needed to be updated with PyUnicode_GetLength.

@ader1990 ader1990 force-pushed the add_py_support_for_310_311_312 branch from 7a1599f to e444acb Compare November 3, 2023 12:40
PyMI already worked for Python up to 3.11 version.

For Python 3.12, the deprecated PyUnicode_GetSize has been removed
completely and needed to be updated with PyUnicode_GetLength.
@ader1990 ader1990 force-pushed the add_py_support_for_310_311_312 branch from 6a03988 to 3279fcd Compare November 3, 2023 13:15
PyArg_ParseTupleAndKeywords does not support 'u' types starting from
Python 3.12.
These changes use the 's' type and then converts it to the former
required type using a new helper method ToWstring.
@alexpilotti alexpilotti merged commit c6a9502 into cloudbase:master Nov 3, 2023
3 checks passed
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

Successfully merging this pull request may close these issues.

3 participants