New submission from Tiago Antao <tiagoan...@gmail.com>: 2to3 -d sometimes crashes.
The problem seems to be in refactor_doctest. The problematic line is: if self.log.isEnabledFor(logging.DEBUG): self.log does not exist. The error, as expected: File "/usr/lib/python3.1/lib2to3/refactor.py", line 516, in refactor_doctest if self.log.isEnabledFor(logging.DEBUG): AttributeError: 'StdoutRefactoringTool' object has no attribute 'log' ---------- components: 2to3 (2.x to 3.0 conversion tool) messages: 109911 nosy: tiagoantao priority: normal severity: normal status: open title: 2to3 crashes with some doctests versions: Python 3.1 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9217> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com