New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sage.libs.ecl: Make it possible to convert Python strings to Lisp strings #30105
Comments
This comment has been minimized.
This comment has been minimized.
comment:2
In fact, perhaps it would also make sense to add an optional argument to |
This comment has been minimized.
This comment has been minimized.
comment:4
how about making use of things like |
comment:5
Replying to @dimpase:
This is the opposite direction of conversion, and these functions are already used in |
comment:6
Replying to @mkoeppe:
I have revised the ticket description accordingly. |
Author: Matthias Koeppe |
Commit: |
New commits:
|
comment:10
This works but the unicode handling needs to be improved.
|
comment:11
For unicode issues, see #30106. Let's ignore them here to keep the ticket limited in scope. |
Branch pushed to git repo; I updated commit sha1. Last 10 new commits:
|
Dependencies: #30106 |
comment:15
Merged latest version of #30106. Needs review |
Reviewer: Dima Pasechnik |
comment:16
lgtm |
comment:17
Thanks! |
Changed branch from u/mkoeppe/sage_libs_ecl__add_python_function_ecl_make_string to |
sage.libs.ecl
exposes no Python function that converts a Python string to a Lisp string as anEclObject
.(
python_to_ecl
, which is used byEclObject.__init__
, handles strings byREAD
ing from them, soEclObject("abc")
returns an interned symbol, not a string.)We add an argument to
python_to_ecl
andEclObject.__init__
that controls how strings are handled.Depends on #30106
CC: @nbruin @dimpase @spaghettisalat @mwageringel
Component: interfaces
Author: Matthias Koeppe
Branch/Commit:
b6cea1a
Reviewer: Dima Pasechnik
Issue created by migration from https://trac.sagemath.org/ticket/30105
The text was updated successfully, but these errors were encountered: