tp_print renamed to tp_vectorcall_offset in cython master
See original GitHub issueThis was changed in:
https://github.com/python/cpython/pull/13185 / https://github.com/python/cpython/commit/aacc77fbd77640a8f03638216fa09372cc21673d to support https://www.python.org/dev/peps/pep-0590/
A brute-force tp_print
-> tp_vectorcall_offset
find-and-replace fixes it on cpython master, but is very not back-compatible 😈 . Will look into seeing if I can sort out how to gate this correctly.
Issue Analytics
- State:
- Created 4 years ago
- Comments:10 (10 by maintainers)
Top Results From Across the Web
Cython: C-Extensions for Python
The Cython language is a superset of the Python language that additionally supports calling C functions and declaring C types on variables and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
In case of doubt, it’s better to report the issue and asks if it’s a deliberate backward incompatible or a regression.
I would be happy about a PR that
tp_print
with a C macro__Pyx_SET_TP_PRINT()
tp_print
in the extension type struct comments with the new name, since the old name is a legacy Py2 name anyway.