xml.parsers.expat.xmlparser.UseForeignDTD requests a non-optional parameter, conflicts with the documentation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python2.7 (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
python3.2 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I just noticed that while digging a traceback I was getting when running lazygal.
According to python 2.7.3’s documentation (http://
python -c "from xml.parsers import expat; parser=
results in:
Traceback (most recent call last):
File "<string>", line 1, in <module>
TypeError: UseForeignDTD() takes exactly 1 argument (0 given)
This is a recent regression as I was running lazygal without a problem on Quantal a couple of weeks ago.
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: python 2.7.3-0ubuntu5
ProcVersionSign
Uname: Linux 3.5.0-15-generic i686
NonfreeKernelMo
ApportVersion: 2.5.2-0ubuntu4
Architecture: i386
CheckboxSubmission: 2c7995ffdf051a6
CheckboxSystem: 7e42599bda39ea7
Date: Wed Sep 26 11:46:28 2012
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta i386 (20120328)
SourcePackage: python-defaults
UpgradeStatus: Upgraded to quantal on 2012-08-30 (26 days ago)
affects: | python-defaults (Ubuntu) → python2.7 (Ubuntu) |
Changed in python2.7 (Ubuntu): | |
importance: | Undecided → High |
status: | New → In Progress |
This bug was fixed in the package python2.7 - 2.7.3-5ubuntu4
---------------
python2.7 (2.7.3-5ubuntu4) quantal-proposed; urgency=low
* Fix issue #16012: Fix a regression in pyexpat. The parser's UseForeignDTD()
method doesn't require an argument again. LP: #1056740.
-- Matthias Klose <email address hidden> Wed, 26 Sep 2012 13:08:17 +0200