[issue9217] 2to3 crashes with some doctests
Tiago Antao
report at bugs.python.org
Sat Jul 10 21:27:50 CEST 2010
New submission from Tiago Antao <tiagoantao at 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 <report at bugs.python.org>
<http://bugs.python.org/issue9217>
_______________________________________
More information about the Python-bugs-list
mailing list