Bug#1027835: seahorse-adventures: SyntaxWarning with python3.11: invalid decimal literal "if x >=0and x<w"

Simon McVittie smcv at debian.org
Tue Jan 3 21:41:08 GMT 2023


Package: seahorse-adventures
Version: 1.1+dfsg-5
Severity: minor

> Setting up python3 (3.11.1-1) ...
> running python rtupdate hooks for python3.11...
> /usr/share/games/seahorse-adventures/lib/pgu/tilevid.py:39: SyntaxWarning: invalid decimal literal
>   if x >=0and x<w:

The conventional spacing "if x >= 0 and x < w" is preferred due to being
less ambiguous. Digits immediately followed by a keyword are deprecated
since 3.10 and will eventually become a syntax error, according to
<https://docs.python.org/3.10/whatsnew/3.10.html#deprecated>.

    smcv

-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'stable-security'), (500, 'oldstable-debug'), (500, 'oldoldstable'), (500, 'buildd-unstable'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental-debug'), (1, 'buildd-experimental'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.0.0-6-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8), LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages seahorse-adventures depends on:
ii  fonts-aenigma      0.0.20080511+dfsg-4
ii  fonts-dejavu-core  2.37-2
ii  python3            3.11.1-1
ii  python3-pygame     2.1.2+dfsg-5

seahorse-adventures recommends no packages.

seahorse-adventures suggests no packages.

-- no debconf information



More information about the Pkg-games-devel mailing list