Skip to content

2to3 does not convert __builtins__.file #51411

@joeamenta

Description

@joeamenta
mannequin
BPO 7162
Nosy @amauryfa, @benjaminp, @merwok, @berkerpeksag
Superseder
  • bpo-45544: Close 2to3 issues and list them here
  • Files
  • issue7162.patch
  • issue7162-2.patch
  • issue7162-3.patch: Modified issue7162-2.patch to use is_probably_builtin to check that file()
  • 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 = 'https://github.com/benjaminp'
    closed_at = <Date 2021-10-20.22:44:58.765>
    created_at = <Date 2009-10-17.21:29:37.812>
    labels = ['type-bug', 'expert-2to3']
    title = '2to3 does not convert __builtins__.file'
    updated_at = <Date 2021-10-20.22:44:58.764>
    user = 'https://bugs.python.org/joeamenta'

    bugs.python.org fields:

    activity = <Date 2021-10-20.22:44:58.764>
    actor = 'iritkatriel'
    assignee = 'benjamin.peterson'
    closed = True
    closed_date = <Date 2021-10-20.22:44:58.765>
    closer = 'iritkatriel'
    components = ['2to3 (2.x to 3.x conversion tool)']
    creation = <Date 2009-10-17.21:29:37.812>
    creator = 'joe.amenta'
    dependencies = []
    files = ['16392', '16393', '16490']
    hgrepos = []
    issue_num = 7162
    keywords = ['patch']
    message_count = 6.0
    messages = ['94190', '100196', '100197', '100598', '100612', '100627']
    nosy_count = 6.0
    nosy_names = ['amaury.forgeotdarc', 'benjamin.peterson', 'eric.araujo', 'rcoyner', 'joe.amenta', 'berker.peksag']
    pr_nums = []
    priority = 'normal'
    resolution = 'wont fix'
    stage = 'resolved'
    status = 'closed'
    superseder = '45544'
    type = 'behavior'
    url = 'https://bugs.python.org/issue7162'
    versions = ['Python 3.4', 'Python 3.5']

    Metadata

    Metadata

    Assignees

    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