This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: remove a bunch of unused imports in Lib
Type: Stage: resolved
Components: Library (Lib) Versions: Python 3.4
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: python-dev, vincele
Priority: normal Keywords: patch

Created on 2011-06-28 14:38 by vincele, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
unused-imports-2.patch vincele, 2011-06-28 14:38 remove some unused imports
reremove-sys-import-from-glob.patch vincele, 2011-06-28 16:41 review
Messages (5)
msg139362 - (view) Author: Vincent Legoll (vincele) Date: 2011-06-28 14:38
Using pylint I found some unused imports in Lib.

I filtered the most obvious ones by hand to produce the attached patch.

Should I submit individual patches, one for each file, so as to ease review ?
msg139363 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2011-06-28 15:25
New changeset 8c17e898e0e8 by Benjamin Peterson in branch 'default':
remove unused imports (closes #12432)
http://hg.python.org/cpython/rev/8c17e898e0e8
msg139367 - (view) Author: Vincent Legoll (vincele) Date: 2011-06-28 16:22
Looking through http://hg.python.org/cpython/rev/8c17e898e0e8
I see that the glob.py hunk has been applied reversed.

The changeset 68349:55bea11d892e removing it is 3 monthes old...

Looks like I missed a svn->hg migration on my side, sorry for the screwup...
msg139369 - (view) Author: Vincent Legoll (vincele) Date: 2011-06-28 16:41
This one reverts glob.py to the previous state
msg139720 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2011-07-04 00:21
New changeset 6886e0bf29bc by Senthil Kumaran in branch '3.2':
Fix closes issue12432 - remove the unused sys from glob.py
http://hg.python.org/cpython/rev/6886e0bf29bc
History
Date User Action Args
2022-04-11 14:57:19adminsetgithub: 56641
2011-07-04 00:21:57python-devsetstatus: open -> closed

resolution: fixed
messages: + msg139720
2011-06-28 16:41:10vincelesetfiles: + reremove-sys-import-from-glob.patch

messages: + msg139369
2011-06-28 16:22:10vincelesetstatus: closed -> open
resolution: fixed -> (no value)
messages: + msg139367
2011-06-28 15:25:04python-devsetstatus: open -> closed

nosy: + python-dev
messages: + msg139363

resolution: fixed
stage: resolved
2011-06-28 14:38:15vincelecreate