GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||
GeezerVison is showing github.com — python: fix compatibility with Python 3.13 by yselkowitz · Pull Request #15088 · vim/vim Conversation_PyObject_CallFunction_SizeT was dropped in Python 3.13: python/cpython#105051 Signed-off-by: Yaakov Selkowitz <[email protected]>
|
There was an error while loading. Please reload this page.
|
Does this affect when the limited API is used? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
PyObject_CallFunction is listed as part of the Limited API according to https://docs.python.org/3/c-api/stable.html#contents-of-limited-api but perhaps I didn't understand your question. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Hi @k-takata , what do you mean by "VIm compiled with limited API" - do you mean "dynamic" configure option value for --enable-python3interp? If you do, I would say the patch preserves using the old API for older Pythons and uses the new one for 3.13. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@zdohnal I meant the |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@k-takata the current Fedora releases have Python 3.12 and Centos Stream 9 has 3.9 - I've successfully built the current Vim on all mentioned platforms with the options you mentioned. Tried ':py3 print('hello')' in c9s and it worked. In Fedora, public tests which run Vim project test suite passed with the patch, so it looks good. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Thanks all. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…hon 3.13
Problem: if_py: _PyObject_CallFunction_SizeT is dropped in Python 3.13
Solution: define PyObject_CallFunction for Python >= 3.13
(Yaakov Selkowitz)
references: python/cpython#105051
closes: vim#15088
Signed-off-by: Yaakov Selkowitz <[email protected]>
Signed-off-by: Christian Brabandt <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.