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

Using PyEval_CallObjectWithKeywords, deprecated in CPython3.9 #452

Open
rotu opened this issue Apr 8, 2020 · 0 comments
Open

Using PyEval_CallObjectWithKeywords, deprecated in CPython3.9 #452

rotu opened this issue Apr 8, 2020 · 0 comments

Comments

@rotu
Copy link

rotu commented Apr 8, 2020

--- stderr: tf2_py                                                            
/opt/ros/master/src/ros2/geometry2/tf2_py/src/tf2_py.cpp:99:11: warning: 'PyEval_CallObjectWithKeywords' is deprecated [-Wdeprecated-declarations]
  pinst = PyEval_CallObject(pclass, pargs);
          ^
/usr/local/Cellar/python/HEAD-29356e0/Frameworks/Python.framework/Versions/3.9/include/python3.9/ceval.h:24:5: note: expanded from macro 'PyEval_CallObject'
    PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL)
    ^
/usr/local/Cellar/python/HEAD-29356e0/Frameworks/Python.framework/Versions/3.9/include/pytho
n3.9/ceval.h:17:1: note: 'PyEval_CallObjectWithKeywords' has been explicitly marked deprecated here
Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
^
/usr/local/Cellar/python/HEAD-29356e0/Frameworks/Python.framework/Versions/3.9/include/python3.9/pyport.h:508:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                     ^
1 warning generated.
---
Finished <<< tf2_py [9.74s]
@rotu rotu changed the title PyEval_CallObjectWithKeywords deprecation warning with CPython3.9 Using PyEval_CallObjectWithKeywords, deprecated in CPython3.9 Apr 8, 2020
ooeygui pushed a commit to ms-iot/geometry2 that referenced this issue Oct 12, 2022
* Add `doTransform` methods for non-stamped messages

Co-authored-by: adamkrawczyk <[email protected]>
Co-authored-by: Abrar Rahman Protyasha <[email protected]>
Signed-off-by: Abrar Rahman Protyasha <[email protected]>
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

1 participant