New submission from Brett Cannon <[EMAIL PROTECTED]>: If you run ``echo "import commands" | ./2to3 -f imports -``, you end up with ``import subprocess``. That's bad as the code in the module works off of 'commands'. The fix really should be ``import subprocess as commands``.
---------- assignee: collinwinter components: 2to3 (2.x to 3.0 conversion tool) messages: 69113 nosy: brett.cannon, collinwinter priority: critical severity: normal status: open title: fix_imports needs to be using the 'as' keyword _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3259> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com