python extensions - lxml version 2
lxml version 2, from http://codespeak.net/lxml/lxml2.html#incompatible-changes
"Some API functions now require passing options as keyword arguments, as opposed to positional arguments."
e.g. the Edge 3d extension is broken because xpath is now ...xpath(path, namespaces=MyNameSpaces) rather than ...xpath(path, MyNameSpaces)
so does that mean I should fix the extension to work out which version of lxml it's using? Or assume 2.x?
Cheers -Terry
Terry Brown wrote:
lxml version 2, from http://codespeak.net/lxml/lxml2.html#incompatible-changes
"Some API functions now require passing options as keyword arguments, as opposed to positional arguments."
e.g. the Edge 3d extension is broken because xpath is now ...xpath(path, namespaces=MyNameSpaces) rather than ...xpath(path, MyNameSpaces)
so does that mean I should fix the extension to work out which version of lxml it's using? Or assume 2.x?
Hmm, I didn't think that was a backwards incompatible change. SVN and 0.46 should already be using the form xpath(path, namespaces=MyNameSpaces). Can you confirm that it is or is not correct?
Aaron Spike
participants (2)
-
Aaron Spike
-
Terry Brown