Jordi Puigsegur added the comment:

This is the output of your script when run in python 2.6 and the exact same 
PyYaml version:

C:\>test.py
RotatingFileHandler using code: <type 'instance'>
{'backupCount': 3,
 'baseFilename': 'C:\\test.log',
 'encoding': None,
 'filters': [],
 'formatter': None,
 'level': 0,
 'lock': <_RLock(None, 0)>,
 'maxBytes': 262144,
 'mode': 'a',
 'stream': <open file 'C:\test.log', mode 'a' at 0x00C25BB0>}
RotatingFileHandler using YAML: <type 'instance'>
{'backupCount': 3,
 'baseFilename': 'C:\\test.log',
 'encoding': None,
 'filters': [],
 'formatter': None,
 'level': 0,
 'lock': <_RLock(None, 0)>,
 'maxBytes': 262144,
 'mode': 'a',
 'stream': <open file 'C:\test.log', mode 'a' at 0x00C25200>}
FileHandler using code: <type 'instance'>
{'baseFilename': 'C:\\test.log',
 'encoding': None,
 'filters': [],
 'formatter': None,
 'level': 0,
 'lock': <_RLock(None, 0)>,
 'mode': 'a',
 'stream': <open file 'C:\test.log', mode 'a' at 0x00C25B10>}
FileHandler using YAML: <type 'instance'>
{'baseFilename': 'C:\\test.log',
 'encoding': None,
 'filters': [],
 'formatter': None,
 'level': 0,
 'lock': <_RLock(None, 0)>,
 'mode': 'a',
 'stream': <open file 'C:\test.log', mode 'a' at 0x00C252A0>}

----------

_______________________________________
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