cloudflare / stpyv8

Python 3 and JavaScript interoperability. Successor To PyV8 (https://github.com/flier/pyv8)
Apache License 2.0
440 stars 39 forks source link

Native code function name #71

Open better2being opened 1 year ago

better2being commented 1 year ago

Hello~ I have a small question, that is built-in function .toString() will get
function func_name() { [native code] } . but native function in stpyv8 won't get its name, like Ln16 in stpyv8/examples/global.py: print(ctxt.eval("hello.toString()")) # function () { [native code] } So I wonder if it can be change. Thanks.