[Python-bugs-list] [ python-Bugs-674700 ] problems in new XML code

SourceForge.net noreply@sourceforge.net
Sat, 25 Jan 2003 12:23:37 -0800


Bugs item #674700, was opened at 2003-01-25 15:23
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=674700&group_id=5470

Category: XML
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Neal Norwitz (nnorwitz)
Assigned to: Martin v. Löwis (loewis)
Summary: problems in new XML code

Initial Comment:
Martin, I'm not sure if I should enter a bug report for
these problems in Python or PyXML.  I ran pychecker
over the code you checked in to python Lib/xml/*. 
Here's the most likely problems:

xml/dom/expatbuilder.py:337: No global (curNode) found
xml/dom/minidom.py:59: Invalid arguments to (writexml),
got 5, expected between 1 and 4
xml/dom/minidom.py:388: Local variable (nsuri) not
usedxml/dom/minidom.py:390: No global (XMLNS_NAMESPACE)
found
xml/dom/minidom.py:394: No global (prefix) found
xml/dom/minidom.py:1011: Using __slots__ in classic
class Text has no effect, consider deriving from object
xml/dom/minidom.py:1135: Using __slots__ in classic
class CDATASection has no effect, consider deriving
from objectxml/dom/minidom.py:1215: Using __slots__ in
classic class Identified has no effect, consider
deriving from object
xml/dom/minidom.py:1930: No global (domreg) found
There are many parameters not used.

I'm not sure how __slots__ when used as mixins.

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=674700&group_id=5470