anatoly techtonik added the comment: Forgot to mention that bundled NullHandler doesn't work in Python 2.7 and from what I can see it is not covered with tests for this version.
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "patch.py", line 124, in fromstring return PatchSet( StringIO(s) ) File "patch.py", line 196, in __init__ self.parse(stream) File "patch.py", line 512, in parse warning("error: no patch data found!") File "C:\Python27\lib\logging\__init__.py", line 1152, in warning self._log(WARNING, msg, args, **kwargs) File "C:\Python27\lib\logging\__init__.py", line 1258, in _log self.handle(record) File "C:\Python27\lib\logging\__init__.py", line 1268, in handle self.callHandlers(record) File "C:\Python27\lib\logging\__init__.py", line 1307, in callHandlers if record.levelno >= hdlr.level: AttributeError: type object 'NullHandler' has no attribute 'level' ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue16539> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com