This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jordipf
Recipients jordipf
Date 2012-08-10.10:49:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1344595757.56.0.0377955516485.issue15616@psf.upfronthosting.co.za>
In-reply-to
Content
logging.FileHandler and logging.RotatingFileHandler (haven't tried other handlers) do not get correctly initialized in python 2.7 when loaded using  PyYaml. Therefore I suspect that there is some problem with the implementation of the pickle protocol of these clases in python 2.7.

Attached you can find a small test to reproduce the problem. It works in python 2.5 and 2.6 but fails in python 2.7. In all cases I've used PyYaml 3.10.
History
Date User Action Args
2012-08-10 10:49:17jordipfsetrecipients: + jordipf
2012-08-10 10:49:17jordipfsetmessageid: <1344595757.56.0.0377955516485.issue15616@psf.upfronthosting.co.za>
2012-08-10 10:49:16jordipflinkissue15616 messages
2012-08-10 10:49:16jordipfcreate