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

noreply@sourceforge.net noreply@sourceforge.net
Wed, 04 Apr 2001 16:27:57 -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: Closed
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)



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

>Comment By: Uche Ogbuji (uche)
Date: 2001-04-04 16:27

Message:
Logged In: YES 
user_id=38966

Oops.  Sorry, but I did do the basic diligence: checking all
patches and bug reports.

Thanks.

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

Comment By: Tim Peters (tim_one)
Date: 2001-04-04 16:15

Message:
Logged In: YES 
user_id=31435

This was already fixed, within 24 hours of the 2.1b2 
release, in the Python-2.1b2a.tgz tarball.  It was a CVS 
glitch unique to the source distribution.  The Python-
2.1b2.tgz tarball was yanked from both python.org and 
SourceForge ASAP.

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

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