We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I realize cd263b3 causes a regression because in the following code:
elseif (isequal (x, [])) var_pyobj.append (py.list ());
If x is '', we have isequal ('', []) being evaluated to true which is not what we want.
x
''
isequal ('', [])
See also the discussion in #1136.
The text was updated successfully, but these errors were encountered:
Is there a particular thing that fails b/c of this? Something like a = pycall_sympy__('return _ins[0]', "")? Or sym('')?
a = pycall_sympy__('return _ins[0]', "")
sym('')
Must be something missing from the test suite anyway: so when we fix this we should add something to the BIST.
Sorry, something went wrong.
Due to this bug,
pycall_sympy__ ('sys.stderr.write(repr(_ins[0]) + "\n")', '');
prints [] rather than ''.
[]
Basically, the empty string turns into the empty list in Python, which is incorrect and different from the old behaviour.
private/store_vars_in_python: Fixes regression...
5a750f6
...casued by cd263b3. Closes gnu-octave#1151. * inst/private/store_vars_in_python.m: Update it. * inst/pycall_sympy__.m: Add test accordingly.
eba01fd
...caused by cd263b3. Closes gnu-octave#1151. * inst/private/store_vars_in_python.m: Update it. * inst/pycall_sympy__.m: Add test accordingly.
aba48eb
Successfully merging a pull request may close this issue.
I realize cd263b3 causes a regression because in the following code:
If
x
is''
, we haveisequal ('', [])
being evaluated to true which is not what we want.See also the discussion in #1136.
The text was updated successfully, but these errors were encountered: