Skip to content

Treat import a.b.c as m as m = sys.modules['a.b.c'] #74210

@VictorVarvariuc

Description

@VictorVarvariuc
BPO 30024
Nosy @warsaw, @brettcannon, @ncoghlan, @ericsnowcurrently, @serhiy-storchaka, @zhangyangyu
PRs
  • bpo-30024: Circular imports involving absolute imports with binding #1264
  • bpo-31286: Fixed stack usage in absolute imports with binding a submo… #3217
  • Files
  • test.zip
  • 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/serhiy-storchaka'
    closed_at = <Date 2017-05-09.19:32:51.174>
    created_at = <Date 2017-04-09.11:11:54.526>
    labels = ['interpreter-core', 'easy', 'type-feature', '3.7']
    title = "Treat `import a.b.c as m` as `m = sys.modules['a.b.c']`"
    updated_at = <Date 2017-08-29.12:47:46.539>
    user = 'https://bugs.python.org/VictorVarvariuc'

    bugs.python.org fields:

    activity = <Date 2017-08-29.12:47:46.539>
    actor = 'serhiy.storchaka'
    assignee = 'serhiy.storchaka'
    closed = True
    closed_date = <Date 2017-05-09.19:32:51.174>
    closer = 'serhiy.storchaka'
    components = ['Interpreter Core']
    creation = <Date 2017-04-09.11:11:54.526>
    creator = 'Victor.Varvariuc'
    dependencies = []
    files = ['46794']
    hgrepos = []
    issue_num = 30024
    keywords = ['easy (C)']
    message_count = 21.0
    messages = ['291376', '291377', '291380', '291384', '291400', '291411', '291414', '291416', '291431', '291437', '291486', '291926', '291947', '292111', '292119', '292167', '293329', '293336', '293338', '293342', '300983']
    nosy_count = 9.0
    nosy_names = ['barry', 'brett.cannon', 'ncoghlan', 'THRlWiTi', 'eric.snow', 'serhiy.storchaka', 'Victor.Varvariuc', 'xiang.zhang', 'Pavol Lisy']
    pr_nums = ['1264', '3217']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue30024'
    versions = ['Python 3.7']

    Metadata

    Metadata

    Labels

    3.7 (EOL)end of lifeeasyinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions