exec docs should note that the no argument form in a local scope is really the two argument form

Open
#68,988 13 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
30/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
documentation

Research direction

Check the superseding bpo-23087 issue before starting. Locate the Python exec documentation and review the no-argument form in a local scope; update the explanation to note its two-argument behavior, then verify the documentation build.

Written by the indexing model from the issue text.

Description

docs
BPO 24800
Nosy @bitdancer, @eryksun
Superseder
  • bpo-23087: Exec variable not found error
  • 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-05.19:44:41.021>
    labels = ['type-feature', '3.8', '3.9', '3.10', 'docs']
    title = 'exec docs should note that the no argument form in a local scope is really the two argument form'
    updated_at = <Date 2021-03-07.18:17:30.020>
    user = 'https://bugs.python.org/PeterEastman'
    

    bugs.python.org fields:

    activity = <Date 2021-03-07.18:17:30.020>
    actor = 'eryksun'
    assignee = 'docs@python'
    closed = False
    closed_date = None
    closer = None
    components = ['Documentation']
    creation = <Date 2015-08-05.19:44:41.021>
    creator = 'Peter Eastman'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 24800
    keywords = []
    message_count = 9.0
    messages = ['248064', '248068', '248075', '248076', '248077', '248079', '248091', '248097', '388247']
    nosy_count = 4.0
    nosy_names = ['r.david.murray', 'docs@python', 'eryksun', 'Peter Eastman']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = 'needs patch'
    status = 'open'
    superseder = '23087'
    type = 'enhancement'
    url = 'https://bugs.python.org/issue24800'
    versions = ['Python 3.8', 'Python 3.9', 'Python 3.10']
    

    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.