Skip to content

fix_import prefixes "." to already relative imports #52854

@shlomme

Description

@shlomme
mannequin
BPO 8608
Nosy @bitdancer
Superseder
  • bpo-8553: 2to3 breaks relative imports
  • Files
  • fix-no-prefix-relative-import.diff: Patch for bug
  • fix-no-prefix-relative-import.bundle: HG bundle with revision
  • 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 2010-05-04.12:12:49.803>
    created_at = <Date 2010-05-04.08:58:05.144>
    labels = ['type-bug', 'expert-2to3']
    title = 'fix_import prefixes "." to already relative imports'
    updated_at = <Date 2010-05-04.12:12:49.796>
    user = 'https://bugs.python.org/shlomme'

    bugs.python.org fields:

    activity = <Date 2010-05-04.12:12:49.796>
    actor = 'r.david.murray'
    assignee = 'none'
    closed = True
    closed_date = <Date 2010-05-04.12:12:49.803>
    closer = 'r.david.murray'
    components = ['2to3 (2.x to 3.x conversion tool)']
    creation = <Date 2010-05-04.08:58:05.144>
    creator = 'shlomme'
    dependencies = []
    files = ['17196', '17197']
    hgrepos = []
    issue_num = 8608
    keywords = ['patch']
    message_count = 4.0
    messages = ['104914', '104915', '104916', '104926']
    nosy_count = 2.0
    nosy_names = ['shlomme', 'r.david.murray']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '8553'
    type = 'behavior'
    url = 'https://bugs.python.org/issue8608'
    versions = []

    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