Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused imports #46420

Closed
calvin mannequin opened this issue Feb 23, 2008 · 3 comments
Closed

Remove unused imports #46420

calvin mannequin opened this issue Feb 23, 2008 · 3 comments
Labels
type-bug An unexpected behavior, bug, or error

Comments

@calvin
Copy link
Mannequin

calvin mannequin commented Feb 23, 2008

BPO 2167
Nosy @tiran
Files
  • python-remove-unused-imports.diff
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2008-02-23.17:42:03.699>
    created_at = <Date 2008-02-23.15:22:17.620>
    labels = ['type-bug']
    title = 'Remove unused imports'
    updated_at = <Date 2008-02-23.17:42:03.698>
    user = 'https://bugs.python.org/calvin'

    bugs.python.org fields:

    activity = <Date 2008-02-23.17:42:03.698>
    actor = 'christian.heimes'
    assignee = 'none'
    closed = True
    closed_date = <Date 2008-02-23.17:42:03.699>
    closer = 'christian.heimes'
    components = []
    creation = <Date 2008-02-23.15:22:17.620>
    creator = 'calvin'
    dependencies = []
    files = ['9498']
    hgrepos = []
    issue_num = 2167
    keywords = ['patch']
    message_count = 3.0
    messages = ['62746', '62776', '62783']
    nosy_count = 2.0
    nosy_names = ['calvin', 'christian.heimes']
    pr_nums = []
    priority = 'normal'
    resolution = 'accepted'
    stage = None
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue2167'
    versions = ['Python 2.6']

    @calvin
    Copy link
    Mannequin Author

    calvin mannequin commented Feb 23, 2008

    I ran the pyflakes checker over the Python source repository and removed
    some unused imports. Only obvious (from what I can see) unused imports
    were removed, with most offenders being "import os, sys, string".
    The diff is against current SVN (I am using git-svn, hence the --git diff).

    @tiran
    Copy link
    Member

    tiran commented Feb 23, 2008

    I'm going to check the patch now.

    @tiran tiran added the type-bug An unexpected behavior, bug, or error label Feb 23, 2008
    @tiran
    Copy link
    Member

    tiran commented Feb 23, 2008

    Applied in r61000

    @tiran tiran closed this as completed Feb 23, 2008
    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    type-bug An unexpected behavior, bug, or error
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant