PyXML 0.5.5: fix for pyexpat.c

Harry George hgg9140 at seanet.com
Tue Jun 6 19:44:02 EDT 2000


The command:
  python setup.py build
will work if you change the "New" to "NEW" on line 474

static xmlparseobject *
newxmlparseobject( char *encoding, char *namespace_separator){
        int i;
        xmlparseobject *self;
        
        /*self = PyObject_New(xmlparseobject, &Xmlparsetype);*/
        self = PyObject_NEW(xmlparseobject, &Xmlparsetype);
        if (self == NULL)
                return NULL;

  
-- 
Harry George
hgg9140 at seanet.com



More information about the Python-list mailing list