Bug#931063: dpkg: error processing package python3.4 (--configure):

Larry Kraemer <[email protected]>
Newsgroups gmane.linux.debian.user.testing
Message-ID <20190625113314.3868.67750.reportbug__36351.8400395819$1561462589$gmane$org@debian>
Package: upgrade-reports
Severity: important

Dear Maintainer,

I executed the following this morning:
sudo apt-get update
sudo apt-get upgrade

and I got these error statements:
Setting up python3.4 (3.4.2-1+deb8u3) ...
  File "/usr/lib/python3.4/http/client.py", line 1014
    raise InvalidURL(f"URL can't contain control characters. {url!r} "
......................................................................^
SyntaxError: invalid syntax
dpkg: error processing package python3.4 (--configure);
 subprocess installed post-installation script returned error exit status 1



-- System Information:
Debian Release: 8.11
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable')
Architecture: i386 (i686)

Kernel: Linux 3.16.0-8-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
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.