[New-bugs-announce] [issue15616] logging.FileHandler not correctly created with PyYaml (unpickling problems?)
report at bugs.python.org
Fri Aug 10 12:49:17 CEST 2012
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
title: logging.FileHandler not correctly created with PyYaml (unpickling problems?)
versions: Python 2.7
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce