Package: geophar
Version: 18.08.6+dfsg1-5
Severity: normal

When I was installing python3 3.9.0-4, it ran rtupdate hooks and
presented the following SyntaxWarnings for geophar scripts:

/usr/share/geophar/wxgeometrie/GUI/proprietes_objets.py:618: SyntaxWarning: 
"is" with a literal. Did you mean "=="?
  if len(self.objets) is 1:
/usr/share/geophar/wxgeometrie/geolib/cercles.py:436: SyntaxWarning: "is" with 
a literal. Did you mean "=="?
  if self._sens() is 1:
/usr/share/geophar/wxgeometrie/geolib/feuille.py:1519: SyntaxWarning: "is" with 
a literal. Did you mean "=="?
  if len(groupe) is 1:
/usr/share/geophar/wxgeometrie/pylib/fonctions.py:458: SyntaxWarning: "is" with 
a literal. Did you mean "=="?
  if position is -1:
/usr/share/geophar/wxgeometrie/pylib/fonctions.py:477: SyntaxWarning: "is" with 
a literal. Did you mean "=="?
  if parentheses is 0:
          
Indeed, these changes should be made!

Best wishes,

   Julian

-- System Information:
Debian Release: bullseye/sid
  APT prefers stretch
  APT policy: (500, 'stretch'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.9.0-3-amd64 (SMP w/4 CPU threads)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_GB.UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages geophar depends on:
ii  jsmath               3.6e-2
ii  python3              3.9.0-4
ii  python3-kiwisolver   1.3.1-1+b1
ii  python3-matplotlib   3.3.2-2+b1
ii  python3-numpy        1:1.19.4-1+b1
ii  python3-pep8         1.7.1-9
ii  python3-pyqt5        5.15.2+dfsg-1
ii  python3-pyqt5.qsci   2.11.6+dfsg-1
ii  python3-pyqt5.qtsvg  5.15.2+dfsg-1
ii  python3-scipy        1.5.4-1+b1
ii  python3-stemmer      2.0.1+dfsg-1+b2
ii  python3-sympy        1.6.2-2
ii  python3.8            3.8.6-1

Versions of packages geophar recommends:
ii  jsmath-fonts   1.3-3.1
ii  libjs-mathjax  2.7.9+dfsg-1

Versions of packages geophar suggests:
ii  apache2 [httpd]  2.4.46-2

-- no debconf information

Reply via email to