-
-
Notifications
You must be signed in to change notification settings - Fork 20
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
Inspecting a JScallback returns an error #66
Comments
Looks like we need to setup |
Its not setable, import { PyObject } from "../others/deno_python/src/python.ts";
import { python } from "/home/mrcool/dev/deno/others/deno_python/mod.ts";
const inspect = python.import("inspect");
const c = PyObject.from(python.callback(() => {}));
c.setAttr("__text_signature__", "hello");
inspect.signature(c);
I feel like the issue is different, the issue is somehow the callbacks are considered builtin despite they're not |
Actually maybe its normal that its called builtin, since its coming from the c api, so I guess the question is how to add signature attribute |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This requires this pr #65 to work, otherwise it will segfault
The text was updated successfully, but these errors were encountered: