Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 7815 - PyXML 0.7.1 breaks compat with expat
Summary: PyXML 0.7.1 breaks compat with expat
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-11 18:13 UTC by Frank Tobin
Modified: 2002-12-05 16:48 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Tobin 2002-09-11 18:13:29 UTC
PyXML 0.7.1 breaks compatibility with expat 1.95.4.  It passes an invalid
keyword (intern) to expat.ParserCreate().

Reproduction:

$ python
Python 2.2.1 (#1, Jul  3 2002, 20:44:33) 
[GCC 2.95.3 20010315 (release)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import xml.parsers.expat
>>> xml.parsers.expat.version_info
(1, 95, 4)
>>> import xml.sax.expatreader  
>>> a = xml.sax.expatreader.ExpatParser()
>>> a.reset()

If using 0.7.1, a.reset() will throw:
TypeError: 'intern' is an invalid keyword argument for this function

PyXML 0.7.0 and 0.8.0 are okay, and do not throw said exceptions.
Comment 1 Frank Tobin 2002-09-12 23:43:12 UTC
fixing typo in summary
Comment 2 Nicholas Henke (RETIRED) gentoo-dev 2002-11-03 13:30:25 UTC
There is a new ebuild for 0.8.1 in portage. Please test and report back.
Comment 3 Frank Tobin 2002-12-05 16:48:38 UTC
It seems like 0.8.1 resolved this issue.