[New-bugs-announce] [issue2894] 2to3 discards comments before import statements

Georg Brandl report at bugs.python.org
Fri May 16 17:37:44 CEST 2008

New submission from Georg Brandl <georg at python.org>:

I got this diff from Tools/freeze/freeze.py:

-# Import the freeze-private modules
-import checkextensions
-import makeconfig
-import makefreeze
-import makemakefile
-import parsesetup
-import bkfile
+from . import checkextensions
+from . import makeconfig
+from . import makefreeze
+from . import makemakefile
+from . import parsesetup
+from . import bkfile

assignee: collinwinter
components: 2to3 (2.x to 3.0 conversion tool)
messages: 66950
nosy: collinwinter, georg.brandl
severity: normal
status: open
title: 2to3 discards comments before import statements
type: behavior

Tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list