Add tests for ``from ... import ...` code

Open
#69,034 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
python

Research direction

Start by reading the linked bpo-24492 dependency and the existing CPython interpreter-core tests for from ... import ... behavior. Identify the uncovered cases described by the issue, then add regression tests and run the relevant interpreter-core test suite; done means the intended import paths are covered and the tests pass.

Written by the indexing model from the issue text.

Description

interpreter-core tests type-feature
BPO 24846
Nosy @brettcannon, @arigo, @ericsnowcurrently, @nanjekyejoannah
Dependencies
  • bpo-24492: using custom objects as modules: AttributeErrors new in 3.5
  • 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 2015-08-12.01:09:47.564>
    labels = ['interpreter-core']
    title = 'Add tests for ``from ... import ...` code'
    updated_at = <Date 2019-07-02.14:44:36.769>
    user = 'https://github.com/brettcannon'
    

    bugs.python.org fields:

    activity = <Date 2019-07-02.14:44:36.769>
    actor = 'nanjekyejoannah'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Interpreter Core']
    creation = <Date 2015-08-12.01:09:47.564>
    creator = 'brett.cannon'
    dependencies = ['24492']
    files = []
    hgrepos = []
    issue_num = 24846
    keywords = []
    message_count = 1.0
    messages = ['248435']
    nosy_count = 4.0
    nosy_names = ['brett.cannon', 'arigo', 'eric.snow', 'nanjekyejoannah']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = 'test needed'
    status = 'open'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue24846'
    versions = ['Python 3.6']
    

    Dominant language
    Python
    Stars
    77.2k
    Forks
    36k
    Avg merge
    1d 9h
    Merged PRs (30d)
    558

    Contributor guide

    Open the contributing guide

    First steps

    1. Read the whole issue, then the project's contributing guide.
    2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
    3. Fork the repository and make your change on a branch.
    4. Open a pull request that references the issue number.

    More from python/cpython

    All issues in python/cpython

    Similar issues

    More Python issues

    Get new issues in your inbox

    A short digest of beginner-friendly GitHub issues.