Skip to content

fix_import in 2to3 adds spurious relative import (windows) #65066

@ccanepa

Description

@ccanepa
mannequin
BPO 20867
Nosy @benjaminp, @merwok
Superseder
  • bpo-45544: Close 2to3 issues and list them here
  • Files
  • fix_import.diff: diff with a proof of concept fix
  • 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 2021-10-20.22:39:23.048>
    created_at = <Date 2014-03-07.21:14:30.190>
    labels = ['type-bug', 'expert-2to3']
    title = 'fix_import in 2to3 adds spurious relative import (windows)'
    updated_at = <Date 2021-10-20.22:39:23.047>
    user = 'https://bugs.python.org/ccanepa'

    bugs.python.org fields:

    activity = <Date 2021-10-20.22:39:23.047>
    actor = 'iritkatriel'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-10-20.22:39:23.048>
    closer = 'iritkatriel'
    components = ['2to3 (2.x to 3.x conversion tool)']
    creation = <Date 2014-03-07.21:14:30.190>
    creator = 'ccanepa'
    dependencies = []
    files = ['34302']
    hgrepos = []
    issue_num = 20867
    keywords = ['patch']
    message_count = 3.0
    messages = ['212899', '213581', '213586']
    nosy_count = 3.0
    nosy_names = ['benjamin.peterson', 'eric.araujo', 'ccanepa']
    pr_nums = []
    priority = 'normal'
    resolution = 'wont fix'
    stage = 'resolved'
    status = 'closed'
    superseder = '45544'
    type = 'behavior'
    url = 'https://bugs.python.org/issue20867'
    versions = ['Python 3.3']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      topic-2to3type-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions