octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #61134] [octave forge] (symbolic) SyntaxWarnin


From: Nicholas Jankowski
Subject: [Octave-bug-tracker] [bug #61134] [octave forge] (symbolic) SyntaxWarning: "is" with a literal
Date: Thu, 11 Nov 2021 19:01:48 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0

Follow-up Comment #5, bug #61134 (project octave):

@mmuetzel, did this make it into 6.4.0? I'm seeing this message in a fresh
copy on windows with the bundled symbolic:


>> pkg load symbolic
>> syms x
Symbolic pkg v2.9.0:
/usr/lib/python3.8/site-packages/mpmath/ctx_mp_python.py:892:
SyntaxWarning: "is" with a literal. Did you mean "=="?
  if other is 0:
/usr/lib/python3.8/site-packages/mpmath/ctx_mp_python.py:986: SyntaxWarning:
"is" w
ith a literal. Did you mean "=="?
  if other is 0:
/usr/lib/python3.8/site-packages/sympy/solvers/diophantine.py:3186:
SyntaxWarning:
"is" with a literal. Did you mean "=="?
  if feasible is 1:  # it's prime and k == 2
/usr/lib/python3.8/site-packages/sympy/plotting/plot.py:509: SyntaxWarning:
"is" wi
th a literal. Did you mean "=="?
  if self.xscale is 'log':
/usr/lib/python3.8/site-packages/sympy/plotting/plot.py:529: SyntaxWarning:
"is" wi
th a literal. Did you mean "=="?
  if self.xscale is 'log':
/usr/lib/python3.8/site-packages/sympy/plotting/plot.py:542: SyntaxWarning:
"is" wi
th a literal. Did you mean "=="?
  if self.xscale is 'log':
/usr/lib/python3.8/site-packages/sympy/plotting/plot.py:549: SyntaxWarning:
"is" wi
th a literal. Did you mean "=="?
  if self.xscale is 'log':
Python communication link active, SymPy v1.4.


interestingly enough, this only occurs the first time between reboots.  if I
just unload the package, close octave, and reopen, the messages don't occur
and I just get the expected last 'link active' line.  tried on multiple
machines, and both behaved the same.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?61134>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]