[Python-bugs-list] [ python-Bugs-461753 ] Opaque context not handled when NULL

noreply@sourceforge.net noreply@sourceforge.net
Fri, 14 Sep 2001 20:37:40 -0700


Bugs item #461753, was opened at 2001-09-14 20:37
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=461753&group_id=5470

Category: XML
Group: Python 2.1.1
Status: Open
Resolution: None
Priority: 5
Submitted By: James Matthew Farrow (jmfarrow)
Assigned to: Nobody/Anonymous (nobody)
Summary: Opaque context not handled when NULL

Initial Comment:
The opaque context string pointer passed to
ExternalEntityRefHandler may be NULL in which case None
is supplied as an argument.  However,
ExternalEntityParserCreate demands a non-NULL string
and so may fail.

Argument passing in
Modules/pyexpat.c:ExternalEntityParserCreate should
probably use a z rather than an s in ParseTuple.

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

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