Vinay Sajip added the comment:

You've only shown that the YAML loading produces the correct results on 2.6.

Logging changed from old-style classes in 2.6 to new-style classes in 2.7. This 
may be what is causing PyYAML a problem, but AFAICT PyYAML should work with 
new-style classes. Perhaps you need to invoke it differently for new-style 
classes?

Logging doesn't do anything special related to pickling, except that it takes 
care not to send objects which can't be pickled across the network (which is 
not relevant here).

----------

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

Reply via email to