[issue25502] unnecessary re-imports

2015-10-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset dec0a26d0b4d by Benjamin Peterson in branch '3.5': remove duplicated imports (closes #25502) https://hg.python.org/cpython/rev/dec0a26d0b4d New changeset 695c50c8cc92 by Benjamin Peterson in branch 'default': merge 3.5 (#25502) https://hg.python.org

[issue25502] unnecessary re-imports

2015-10-28 Thread John Mark Vandenberg
Changes by John Mark Vandenberg : Added file: http://bugs.python.org/file40886/re-imports.diff ___ Python tracker ___ ___ Python-bugs-list mai

[issue25502] unnecessary re-imports

2015-10-28 Thread John Mark Vandenberg
New submission from John Mark Vandenberg: The following four modules re-import another module unnecessarily as it is already imported in the global scope. Lib/getpass.py : msvcrt Lib/pickletools.py : sys Lib/smtplib.py : sys PC/testpy.py : os In each case, the import being removed in the attac