sci 2022-05-06

heya @borkdude i got a question for ya while re-running the full input set of expressions in getclojure:

(sci/eval-string "(with-out-str (.printStackTrace (Exception. \"fobbar\")))")
(sci/eval-string "(.printStackTrace (Exception. \"fobbar\"))")

these manage to print, and i’m wondering if that’s expected despite a bound sci/*out*

Those print via System/out or System/err probably and Exception is enabled by default in SCI

That might be worth changing if it's a problem

it’s not a problem, just the only thing to manage to print to my console out of 247,000 expressions

i think it makes sense to leave it enabled personally

i was just a bit surprised to see it is all and wanted to make sure that behavior was expected

👍 1

Those classes are enabled because they are used by certain macros I believe