[Patches] [ python-Patches-413850 ] Bug in xml/__init__.py

noreply@sourceforge.net noreply@sourceforge.net
Wed, 04 Apr 2001 16:10:35 -0700


Patches item #413850, was updated on 2001-04-04 16:10
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=413850&group_id=5470

Category: XML
Group: None
Status: Open
Priority: 5
Submitted By: Uche Ogbuji (uche)
Assigned to: Nobody/Anonymous (nobody)
Summary: Bug in xml/__init__.py

Initial Comment:
I'm not sure what was intended in xml/__init__.py from
Py 2.1b2, but it doesn't even get past first base
without yielding an IndexError.  here's a possible fix

--- /usr/lib/python2.1/xml/__init__.py.orig	Wed Apr  4
17:04:41 2001
+++ /usr/lib/python2.1/xml/__init__.py	Wed Apr  4
17:05:18 2001
@@ -15,7 +15,7 @@
 
 __all__ = ["dom", "parsers", "sax"]
 
-__version__ = "1.9".split()[1]
+__version__ = "1.9"
 
 
 _MINIMUM_XMLPLUS_VERSION = (0, 6, 1)



----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=413850&group_id=5470