Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
ecl_eval: Handle unicode strings
Browse files Browse the repository at this point in the history
  • Loading branch information
mkoeppe committed Jul 11, 2020
1 parent f237935 commit 6f740eb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/sage/libs/ecl.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -1368,8 +1368,7 @@ cpdef EclObject ecl_eval(str s):

"""
cdef cl_object o
o=ecl_safe_read_string(str_to_bytes(s))
o=ecl_safe_eval(o)
o=ecl_safe_eval(python_to_ecl(s))
return ecl_wrap(o)

init_ecl()

0 comments on commit 6f740eb

Please sign in to comment.