Jeremy Selan <jeremy...@...>
I did see that comment, forgot to address it in the last post.
I'd prefer to not expose the exact yaml serialization using __str__().
I'm pretty biased against "non-obvious" operator overloading (both in
C and python), so if people want to get the serialized representation
for output purposes I'd prefer an explicit call.
Granted, it may be super handy to have str(config) print out a fully
informative description of the object. This could be as simple as
<class Ocio.Config FULL YAML EMBEDDED HERE>). I just want to make
sure the str representation is not valid parsable yaml, so people dont
accidentally rely on str() when they should be using .serialize().
On Tue, Oct 19, 2010 at 3:31 PM, Malcolm Humphreys