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

Bug#950405: python3-fonttools: warning SyntaxWarning: "is" with a literal. Did you mean "=="?



Package: python3-fonttools
Version: 4.2.4-1
Severity: normal
Usertags: warnings

The recent upgrade of fonttools causes a warning to be printed:

Unpacking python3-fonttools (4.2.4-1) over (4.2.2-1) ...
Setting up python3-fonttools (4.2.4-1) ...
/usr/lib/python3/dist-packages/fontTools/feaLib/parser.py:708: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if len(new) is 0 and not any(lookups):
/usr/lib/python3/dist-packages/fontTools/mtiLib/__init__.py:857: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if lookup.SubTableCount is 0:
Setting up fonttools (4.2.4-1) ...

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing-debug
  APT policy: (900, 'testing-debug'), (900, 'testing'), (800, 'unstable-debug'), (800, 'unstable'), (790, 'buildd-unstable'), (700, 'experimental-debug'), (700, 'experimental'), (690, 'buildd-experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.4.0-3-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8), LANGUAGE=en_AU:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python3-fonttools depends on:
ii  python3                3.7.5-3
ii  python3-brotli         1.0.7-6
ii  python3-fs             2.4.11-2
ii  python3-pkg-resources  44.0.0-1
ii  python3-scipy          1.3.3-3
ii  python3-sympy          1.4-1

python3-fonttools recommends no packages.

python3-fonttools suggests no packages.

-- no debconf information

-- 
bye,
pabs

https://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: