Bug#1121668: billiard: new SyntaxWarning with Python 3.14

Alexandre Detiste <[email protected]>
Newsgroups gmane.linux.debian.devel.python
Message-ID <176450412589.58529.3192693704971177110.reportbug__6518.99052770517$1764504330$gmane$org@quieter>
Source: billiard
Version: 4.2.3-1
Severity: normal
X-Debbugs-Cc: [email protected], [email protected]

Hi,

It looks like Python 3.14 is bringing a whole slew of new SyntaxWarning.

Here's a nice article:
  https://adamj.eu/tech/2025/08/29/python-fix-syntaxwarning-finally/


Paramétrage de python3-billiard (4.2.3-1) ...
/usr/lib/python3/dist-packages/billiard/connection.py:349: SyntaxWarning: 'return' in a 'finally' block
  return f
/usr/lib/python3/dist-packages/billiard/connection.py:351: SyntaxWarning: 'return' in a 'finally' block
  return self._get_more_data(ov, maxsize)
/usr/lib/python3/dist-packages/billiard/pool.py:1861: SyntaxWarning: 'return' in a 'finally' block
  return self._send_ack(



-- System Information:
Debian Release: forky/sid
  APT prefers testing
  APT policy: (501, 'testing'), (450, 'unstable'), (400, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.17.8+deb14-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8), LANGUAGE=fr_BE:fr
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.