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

2to3 does not remove exceptions import #60418

Closed
cjmayo mannequin opened this issue Oct 12, 2012 · 1 comment
Closed

2to3 does not remove exceptions import #60418

cjmayo mannequin opened this issue Oct 12, 2012 · 1 comment

Comments

@cjmayo
Copy link
Mannequin

cjmayo mannequin commented Oct 12, 2012

BPO 16214
Nosy @cjmayo
Superseder
  • bpo-2350: 'exceptions' import fixer
  • 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 2012-10-15.13:04:20.813>
    created_at = <Date 2012-10-12.18:44:50.909>
    labels = ['expert-2to3']
    title = '2to3 does not remove exceptions import'
    updated_at = <Date 2012-10-15.13:04:20.813>
    user = 'https://github.com/cjmayo'

    bugs.python.org fields:

    activity = <Date 2012-10-15.13:04:20.813>
    actor = 'brett.cannon'
    assignee = 'none'
    closed = True
    closed_date = <Date 2012-10-15.13:04:20.813>
    closer = 'brett.cannon'
    components = ['2to3 (2.x to 3.x conversion tool)']
    creation = <Date 2012-10-12.18:44:50.909>
    creator = 'cjmayo'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 16214
    keywords = []
    message_count = 1.0
    messages = ['172770']
    nosy_count = 1.0
    nosy_names = ['cjmayo']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = None
    status = 'closed'
    superseder = '2350'
    type = None
    url = 'https://bugs.python.org/issue16214'
    versions = ['Python 2.7', 'Python 3.2', 'Python 3.3']

    @cjmayo
    Copy link
    Mannequin Author

    cjmayo mannequin commented Oct 12, 2012

    Create file a.py:
    #!/usr/bin/python
    import exceptions

    and run:
    2to3 a.py
    ...
    RefactoringTool: No files need to be modified.

    bpo-2350 is marked as closed but this is still present for me in 2to3 of Python 2.7, 3.2 and 3.3.

    @cjmayo cjmayo mannequin added the topic-2to3 label Oct 12, 2012
    @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
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant