Closed
Description
Hi,
it is not posible to import and use Python module within a try
form
message: unable to resolve symbol 'logging/getLogger' in this context
To reproduce, open a REPL and try importing and using the logging
module within a try
form
basilisp.user=> (try
(import logging)
(logging/getLogger "abc")
(finally :done))
exception: <class 'basilisp.lang.compiler.exception.CompilerException'>
phase: :analyzing
message: unable to resolve symbol 'logging/getLogger' in this context
form: logging/getLogger
location: <REPL Input>:3
This is similar to #1028 but for the try
form.
Thanks