idle3 shell os.system swallows shell command output

Open
#56,029 22 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Active
Tech stack
python
Domain
desktop, tooling

Research direction

Start by reviewing the linked idle_handle_subprocess_output.patch and the issue's IDLE and Interpreter Core context. Reproduce the reported idle3 os.system behavior and inspect how shell command output is handled. Done means shell command output is no longer swallowed in IDLE; the payload names no tests to run.

Written by the indexing model from the issue text.

Description

interpreter-core topic-IDLE type-bug
BPO 11820
Nosy @terryjreedy, @ned-deily, @serwy, @4kir4, @serhiy-storchaka, @pppery
Files
  • idle_handle_subprocess_output.patch
  • 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 2011-04-10.07:45:39.292>
    labels = ['interpreter-core', 'expert-IDLE', 'type-bug', '3.9']
    title = 'idle3 shell os.system swallows shell command output'
    updated_at = <Date 2019-09-19.18:39:22.828>
    user = 'https://bugs.python.org/Thekent'
    

    bugs.python.org fields:

    activity = <Date 2019-09-19.18:39:22.828>
    actor = 'terry.reedy'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['IDLE', 'Interpreter Core']
    creation = <Date 2011-04-10.07:45:39.292>
    creator = 'Thekent'
    dependencies = []
    files = ['36968']
    hgrepos = []
    issue_num = 11820
    keywords = ['patch']
    message_count = 21.0
    messages = ['133452', '133453', '133493', '133873', '133877', '133881', '133885', '133886', '161717', '161720', '161724', '161732', '161737', '229649', '229651', '229683', '229686', '229700', '231023', '231056', '297921']
    nosy_count = 7.0
    nosy_names = ['terry.reedy', 'ned.deily', 'roger.serwy', 'akira', 'Thekent', 'serhiy.storchaka', 'ppperry']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue11820'
    versions = ['Python 3.9']
    

    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.