New submission from Jordi Puigsegur:

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.

----------
components: Extension Modules
messages: 167864
nosy: jordipf
priority: normal
severity: normal
status: open
title: logging.FileHandler not correctly created with PyYaml (unpickling 
problems?)
type: crash
versions: Python 2.7

_______________________________________
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