Holoviews: Python 3.8: SyntaxWarning: "is" with a literal. Did you mean "=="?

Created on 29 Oct 2020  路  1Comment  路  Source: holoviz/holoviews

Is it best to stick with Python 3.7 for now? With Python 3.8 I'm getting tons of these annoying syntax error warnings

software version info

python 3.8.6
holoviews 1.13.5

Description of expected behavior and the observed behavior

import holoviews

results in

/srv/conda/envs/notebook/lib/python3.8/site-packages/holoviews/core/element.py:74: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if key is ():
/srv/conda/envs/notebook/lib/python3.8/site-packages/holoviews/core/layout.py:225: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if key is ():
/srv/conda/envs/notebook/lib/python3.8/site-packages/holoviews/element/tabular.py:60: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if heading is ():

Most helpful comment

Thanks @rsignell-usgs, we'll fix those up asap.

>All comments

Thanks @rsignell-usgs, we'll fix those up asap.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rabernat picture rabernat  路  4Comments

ahuang11 picture ahuang11  路  3Comments

jlstevens picture jlstevens  路  6Comments

ericmjl picture ericmjl  路  3Comments

obust picture obust  路  5Comments