Skip to content

builtins/eval throws 'frame does not exist' #244

Open
@behrica

Description

@behrica
(require-python '[builtins :as bt])
(bt/eval "1") 
;Execution error at libpython-clj2.python.ffi/check-error-throw (ffi.clj:708) .
; SystemError: frame does not exist

while this works

(require-python '[builtins :as bt])
(bt/eval "1" {})

while in python both work:

>>> eval('1+1')
2
>>> eval('1+1',{})
2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions