Message48911
Logged In: YES
user_id=6380
Actually the goal isn't so much to save *arbitrary* Python
objects but to be able to create objects that on the one
hand correspond to XML (which can be read or written by
other languages -- this was done for a Java/Python
environment) and on the other hand have a "Pythonic"
interface. Thus, both the Python side and the XML side are
constrained. The constraints on the Python side include the
need to explicitly inherit from ElementClass and declare the
XML mapping; there is no support for dicts or tuples and
only limited support for lists. But the result is something
that has a better API quality than the typical DOM or
ElementTree: you can write x.foo instead of
x.someGetMethod("foo").
I will work on contributing to PyXML next, now that I
understand the concept. :-) |
|
Date |
User |
Action |
Args |
2007-08-23 15:44:19 | admin | link | issue1337648 messages |
2007-08-23 15:44:19 | admin | create | |
|