Changes by Adrian Holovaty:
--
components: Demos and Tools
severity: normal
status: open
title: 2to3 crashes on input files with no trailing newlines
type: crash
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/
New submission from Adrian Holovaty:
The 2to3 Python 3k migration utility crashes with the following
traceback on any input file that does *not* have a trailing newline. It
doesn't seem to matter whether the input file needs modifications or not.
RefactoringTool: Can't parse /path/t
Adrian Holovaty added the comment:
(Sorry, the previous error snippet isn't a traceback as I had said. It's
the error text.)
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.p
New submission from Adrian Holovaty:
Per a Python-3000 mailing list discussion here --
http://mail.python.org/pipermail/python-3000/2007-August/009835.html --
I have implemented an addition to the 2to3 utility that enables warnings
to be output as comments in Python source code instead of being
Adrian Holovaty added the comment:
I'm also attaching 2to3_comment_warnings.diff, which is an example of
how we could integrate the insert_comment() method from the first patch
to replace the current functionality of fixes.basefix.BaseFix.warning().
__
Tr
Adrian Holovaty added the comment:
I just checked, and, yes, it's been fixed.
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1001>
__
___
Python-bugs-