Package: drawing
Version: 0.4.11-1

I'm on Ubuntu 20.04 focal development with Python 3.8 as default.

In a terminal: sudo apt install drawing

Look at the warnings:

drawing (0.4.11-1) wird eingerichtet ...
/usr/lib/python3.8/subprocess.py:838: RuntimeWarning: line buffering 
(buffering=1) isn't supported in binary mode, the default buffer size will be 
used
  self.stdin = io.open(p2cwrite, 'wb', bufsize)
/usr/lib/python3/dist-packages/drawing/options_manager.py:43: SyntaxWarning: 
"is" with a literal. Did you mean "=="?
  if action.get_state_type().dup_string() is 's':
/usr/lib/python3/dist-packages/drawing/selection_manager.py:71: SyntaxWarning: 
"is not" with a literal. Did you mean "!="?
  if pts[1] is not ():
/usr/lib/python3/dist-packages/drawing/selection_manager.py:147: SyntaxWarning: 
"is not" with a literal. Did you mean "!="?
  if pts[1] is not ():
/usr/lib/python3/dist-packages/drawing/selection_manager.py:210: SyntaxWarning: 
"is not" with a literal. Did you mean "!="?
  if pts[1] is not ():
/usr/lib/python3/dist-packages/drawing/selection_manager.py:271: SyntaxWarning: 
"is not" with a literal. Did you mean "!="?
  if pts[1] is not ():
/usr/lib/python3/dist-packages/drawing/tool_experiment.py:285: SyntaxWarning: 
"is" with a literal. Did you mean "=="?
  if pts[1] is ():
/usr/lib/python3/dist-packages/drawing/tool_experiment.py:324: SyntaxWarning: 
"is" with a literal. Did you mean "=="?
  if pts[1] is ():
/usr/lib/python3/dist-packages/drawing/tool_experiment.py:372: SyntaxWarning: 
"is" with a literal. Did you mean "=="?
  if pts[1] is ():
/usr/lib/python3/dist-packages/drawing/tool_select.py:276: SyntaxWarning: "is 
not" with a literal. Did you mean "!="?
  if pts[1] is not ():
/usr/lib/python3/dist-packages/drawing/utilities.py:391: SyntaxWarning: "is" 
with a literal. Did you mean "=="?
  if pts[1] is ():

Reply via email to