Hi Dan,
Will this have any effect on attribute names in SwigPython objects (two
github commits)?
----
Commit: 166edae2958734caaed6d0a18268c5
9f20204270
Log Message:
-----------
Rename this to self in consumer sdl.
Commit: 0c9859be310cc93da8b0b8cb57893e
9efd3be288
Log Message:
-----------
Rename this to self in sdl_preview consumer.
----
The reason I'm asking is that to avoid gerating XML I used Python's
pickle() mechanism in a way that I remove "this" attribute from SwigPython
objects which allows them to be pickled, and then on load use the data to
re-create objects.
Code is something like this:
CLIP_REMOVE = ['this','clip_length']
remove_attributes(clip, CLIP_REMOVE)
def remove_attributes(obj, remove_attrs):
for attr in remove_attrs:
try:
delattr(obj, attr)
except Exception:
pass
Janne
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel