[New-bugs-announce] [issue15616] logging.FileHandler not correctly created with PyYaml (unpickling problems?)

Jordi Puigsegur 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
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 <report at bugs.python.org>
<http://bugs.python.org/issue15616>
_______________________________________


More information about the New-bugs-announce mailing list