Closed chipkent closed 6 days ago
https://github.com/python/cpython/issues/123473 https://stackoverflow.com/questions/1104823/python-c-extension-method-signatures-for-documentation https://stackoverflow.com/questions/25847035/what-are-signature-and-text-signature-used-for-in-python-3-4/25847066#25847066
inspect
module. __text_signature__
, another alternative way is to wrap C extension modules (making them private) in pure Python code.types
attribute of the function object
I generated a set of examples that integrate C++ into Deephaven.
pybind11
was used to integrate C++ directly into python.The code can be found at https://github.com/chipkent/deephaven-example-use-cases/tree/main/examples/cpp/deephaven-example.
There seem to be problems in both of the mechanisms I tried.
String
.Value: no signature found for builtin <built-in method price of PyCapsule object at 0xfffec56ae760>
Error: