Skip to content

Conversation

@sgn
Copy link

@sgn sgn commented Sep 22, 2022

From Python 3.9, Python provides Py_SET_SIZE to set size of Object. From Python 3.11, Py_SIZE is no longer a macro, it's converted to a function, thus its return value is now prvalue.

Cython provides a function to set size from 0.29.20 1.

Let's use that instead.

From Python 3.9, Python provides Py_SET_SIZE to set size of Object.
From Python 3.11, Py_SIZE is no longer a macro, it's converted
to a function, thus its return value is now prvalue.

Cython provides a function to set size from 0.29.20 [1].

Let's use that instead.

[1]: cython/cython#3639
@kliem
Copy link
Collaborator

kliem commented Sep 22, 2022

Thanks. However, this is duplication from #103.

@kliem kliem closed this Sep 22, 2022
@kliem
Copy link
Collaborator

kliem commented Sep 22, 2022

But nevertheless a good reminder that this should be closed.

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.

2 participants