[Bug 1834236] Re: sphinx autopkgtest failures with Python 3.7.4 RC1
Iain Lane
iain at orangesquash.org.uk
Tue Jun 25 18:32:01 UTC 2019
laney at raleigh> python3.7 --version
Python 3.7.3
laney at raleigh> python3.7 -c "import codecs; codecs.open('/home/laney/temp/sphinx/tests/roots/test-root/wrongenc.inc', encoding='utf-8-sig', errors='strict').read()"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python3.7/codecs.py", line 701, in read
return self.reader.read(size)
File "/usr/lib/python3.7/codecs.py", line 504, in read
newchars, decodedbytes = self.decode(data, self.errors)
File "/usr/lib/python3.7/encodings/utf_8_sig.py", line 117, in decode
return codecs.utf_8_decode(input, errors)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xdf in position 70: invalid continuation byte
laney at raleigh> lxc exec e-amd64 -- python3.7 --version
Python 3.7.4rc1
laney at raleigh> lxc exec e-amd64 -- python3.7 -c "import codecs; codecs.open('/home/laney/temp/sphinx/tests/roots/test-root/wrongenc.inc', encoding='utf-8-sig', errors='strict').read()"
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python3.7 in Ubuntu.
https://bugs.launchpad.net/bugs/1834236
Title:
codecs.open(errors='strict') doesn't fail on invalid encoding with
python3.7.4 RC1
Status in python3.7 package in Ubuntu:
New
Bug description:
The autopkgtests for package sphinx passed with Python 3.7.3, and
regressed with 3.7.4 RC1.
See http://autopkgtest.ubuntu.com/packages/s/sphinx/eoan/amd64 (first
failure on 2019-06-25 03:04:04 UTC).
This upstream commit appears to fix the problem: https://github.com
/sphinx-doc/sphinx/commit/02fea02
This might be an indication that there's a bug in codecs.open in
Python 3.7.4 RC1 ?
ProblemType: Bug
DistroRelease: Ubuntu 19.10
Package: python3.7 3.7.4~rc1-1
ProcVersionSignature: Ubuntu 5.0.0-17.18-generic 5.0.8
Uname: Linux 5.0.0-17-generic x86_64
ApportVersion: 2.20.11-0ubuntu3
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Tue Jun 25 20:09:54 2019
InstallationDate: Installed on 2018-08-21 (308 days ago)
InstallationMedia: Ubuntu 18.10 "Cosmic Cuttlefish" - Alpha amd64 (20180821)
SourcePackage: python3.7
UpgradeStatus: Upgraded to eoan on 2019-06-05 (20 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3.7/+bug/1834236/+subscriptions
More information about the foundations-bugs
mailing list