Benoit Daloze
Benoit Daloze
> It would be good to confirm if that's the case based on the backtrace and C source code. Could you quote here what these two lines contain? ``` /opt/homebrew/Cellar/pytorch/2.0.1/include/torch/csrc/autograd/generated/variable_factories.h:261:in...
One extra requirement is https://github.com/ruby/debug/issues/887
I'm confused, this seems to have the same commits as #1131 which is merged (and looks alright and CI passed).
Thank you for the report, I can reproduce with GraalVM 1.0.0-rc10. This is due to the implementation of `to_s` on foreign objects which does: https://github.com/oracle/truffleruby/blob/1340cb43b9a2e71cb46eff47642cbf99eb6c36f8/src/main/ruby/core/truffle/interop.rb#L181-L187 And this one-element logical vector...
This is probably fixed now, but we need to check. (`puts` will call `toDisplayString()` which would show the result like R does)
On 22.3.1: ```ruby mpg = Polyglot.eval("R",
As a note, using the `pty` extension won't work because that relies on fork()
It seems to be the same exceptions on CRuby and TruffleRuby.
This would be nice for context-independent code, but since that's not a priority currently and it seems tricky to rebase I think best to close for now.