Skip to content

Allow built-in packages and submodules as well as top-level modules #44508

@mlobo

Description

@mlobo
mannequin
BPO 1644818
Nosy @loewis, @freddrake, @brettcannon, @terryjreedy, @ncoghlan, @vstinner, @encukou, @jd, @ericsnowcurrently
Files
  • import.diff: Allow importing built-in submodules (updated)
  • test_submodule.py: Test case; to be placed in Lib/test
  • xxsubmoduletest.c: Built-in submodule for regression test; to be placed in Modules
  • test_builtin_submodule.py: More robust tests of expected package invariants
  • 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 = None
    created_at = <Date 2007-01-25.22:12:30.000>
    labels = ['interpreter-core', 'type-feature']
    title = 'Allow built-in packages and submodules as well as top-level modules'
    updated_at = <Date 2018-05-02.12:19:24.718>
    user = 'https://bugs.python.org/mlobo'

    bugs.python.org fields:

    activity = <Date 2018-05-02.12:19:24.718>
    actor = 'fdrake'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Interpreter Core']
    creation = <Date 2007-01-25.22:12:30.000>
    creator = 'mlobo'
    dependencies = []
    files = ['7739', '7740', '7741', '17126']
    hgrepos = []
    issue_num = 1644818
    keywords = ['patch']
    message_count = 14.0
    messages = ['51802', '51803', '51804', '51805', '51806', '51807', '96588', '96590', '104436', '104506', '104507', '113445', '113471', '252374']
    nosy_count = 12.0
    nosy_names = ['loewis', 'fdrake', 'brett.cannon', 'collinwinter', 'terry.reedy', 'ncoghlan', 'vstinner', 'mlobo', 'Arfrever', 'petr.viktorin', 'jd', 'eric.snow']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = None
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue1644818'
    versions = ['Python 3.4']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      interpreter-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