nlopes <shelika.v...@gmail.com> added the comment:

I got pure gibberish output, but I know why. It was a compilation gone
wrong.

To get the output as ElementTree, I think instead of 

parcel = Py_BuildValue("sN", (prefix) ? prefix : "", makestring(uri));

it should be

parcel = Py_BuildValue("sN", (prefix) ? prefix : "",
PyUnicode_AsUnicode(makestring(uri), strlen(uri)));

Else it will not be the expected result.

Or am I overseeing something?

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue6266>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to