Hi Bas et al., > 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
Indeed. The reason for this is that f-strings were introduced in Python 3.6. The equivalent for Python 3.4 would be: raise InvalidURL("URL can't contain control characters. {!r} " "(found at least {!r})".format(url, match.group())) Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org 🍥 chris-lamb.co.uk `-