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

Uses deprecated API PyEval_CallObjectWithKeywords, raises warnings under 3.9 and 3.10 #43

Closed
jamadden opened this issue Nov 9, 2020 · 1 comment

Comments

@jamadden
Copy link
Member

jamadden commented Nov 9, 2020

As described in zopefoundation/zope.container#40, this project contains a use of a deprecated API (PyEval_CallObjectWithKeywords) that could be removed soon:

static PyObject *
wrap_call(PyObject *self, PyObject *args, PyObject *kw)
{
if (kw)
return PyEval_CallObjectWithKeywords(Proxy_GET_OBJECT(self),
args, kw);

I think there's a simple drop-in replacement API, I remember running into this as a warning under 3.9 and making a change in…some project.

@jamadden jamadden changed the title Uses deprecated API, raises warnings. Uses deprecated API PyEval_CallObjectWithKeywords, raises warnings under 3.9 and 3.10a2 Nov 9, 2020
@sallner sallner changed the title Uses deprecated API PyEval_CallObjectWithKeywords, raises warnings under 3.9 and 3.10a2 Uses deprecated API PyEval_CallObjectWithKeywords, raises warnings under 3.9 and 3.10 Nov 19, 2021
@tseaver
Copy link
Member

tseaver commented Aug 6, 2024

Via PR #65.

@tseaver tseaver closed this as completed Aug 6, 2024
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

2 participants