python / python/cpython

Make the repr of lambda contain signature and body expression.

Open
#79,037 8 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

3.8 (EOL) interpreter-core type-feature
Dominant language
Python
Stars
77.2k
Forks
36k
PR merge metrics
PR metrics pending

Description

BPO 34856
Nosy @gvanrossum, @rhettinger, @terryjreedy, @serhiy-storchaka, @tirkarthi
PRs
  • python/cpython#9647
  • 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 2018-09-30.18:14:23.113>
    labels = ['interpreter-core', 'type-feature', '3.8']
    title = 'Make the repr of lambda contain signature and body expression.'
    updated_at = <Date 2018-10-22.19:26:54.089>
    user = 'https://github.com/serhiy-storchaka'
    

    bugs.python.org fields:

    activity = <Date 2018-10-22.19:26:54.089>
    actor = 'terry.reedy'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Interpreter Core']
    creation = <Date 2018-09-30.18:14:23.113>
    creator = 'serhiy.storchaka'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 34856
    keywords = ['patch']
    message_count = 8.0
    messages = ['326738', '326747', '327179', '327181', '327183', '327202', '327205', '328271']
    nosy_count = 5.0
    nosy_names = ['gvanrossum', 'rhettinger', 'terry.reedy', 'serhiy.storchaka', 'xtreak']
    pr_nums = ['9647']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue34856'
    versions = ['Python 3.8']
    

    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.

    Research direction

    Start by reviewing the existing python/cpython#9647 pull request and the discussion linked from this issue. Check how the proposed lambda repr includes its signature and body expression, then verify whether the pull request fully addresses the requested behavior. Done means the change is complete and validated by the relevant interpreter tests.

    Written by the indexing model from the issue text.

    Assessment

    Tech stack
    python
    Domain
    compilers
    Issue type
    Feature
    Difficulty
    4/5
    Estimated time
    3-5 days
    Activity status
    Stale
    Clarity
    Mostly clear
    Newbie friendliness
    20/100

    Get new issues in your inbox

    A short digest of beginner-friendly GitHub issues.