Skip to content
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

the empy string from OpenMath is not converted to Python #28

Open
MarcoCostantini opened this issue May 12, 2020 · 0 comments
Open

the empy string from OpenMath is not converted to Python #28

MarcoCostantini opened this issue May 12, 2020 · 0 comments

Comments

@MarcoCostantini
Copy link

The expected output is in both cases the empty string ''

$ python3
Python 3.8.2 (default, Apr 27 2020, 15:53:34) 
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from openmath import encoder, decoder, openmath as om
>>> from openmath.convert import DefaultConverter as converter
>>> converter.to_python( decoder.decode_bytes( b"<OMSTR></OMSTR>", snippet=True ) )
>>> converter.to_python( decoder.decode_bytes( b"<OMSTR/>", snippet=True ) )
>>> 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant