python: fix python 3.10 PyObject type errors.
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Tue, 2 Aug 2022 04:49:23 +0000 (13:49 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Fri, 5 Aug 2022 04:26:16 +0000 (13:26 +0900)
commit4f783477f5408dac4cf018c35fedfd6ec125e4cd
treecc702ec088bca04050a1bc4ba879ced04f555ac6
parent91e5df1b0a883ff375cdb6947e96b2ca665621c3
python: fix python 3.10 PyObject type errors.

From Python 3.10 python->C/C++ object transfer
has stricter type checks. Floats are no more
supported by PyLong.

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
ext/nnstreamer/extra/nnstreamer_python3_helper.cc