Popen should raise ValueError if pass a string when shell=False or a list when shell=True

オープン
#52,087 コメント 32 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
45/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
python

調査の方向性

Read the linked test_subprocess.py test case first, then locate the Popen behavior it exercises. Done means coverage verifies ValueError for a string with shell=False and for a list with shell=True, while preserving the existing subprocess tests.

索引モデルが issue の本文から書いたものです。

説明

pending stdlib type-feature
BPO 7839
Nosy @csernazs, @ncoghlan, @vstinner, @larryhastings, @ericvsmith, @giampaolo, @merwok, @bitdancer, @briancurtin, @asvetlov
Files
  • test_subprocess.py: Test case for this bug, works in Python 2 and Python 3.
  • 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 2010-02-02.19:08:03.339>
    labels = ['type-feature', 'library']
    title = 'Popen should raise ValueError if pass a string when shell=False or a list when shell=True'
    updated_at = <Date 2013-11-06.19:37:27.696>
    user = 'https://github.com/bitdancer'
    

    bugs.python.org fields:

    activity = <Date 2013-11-06.19:37:27.696>
    actor = 'akuchling'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2010-02-02.19:08:03.339>
    creator = 'r.david.murray'
    dependencies = []
    files = ['17587']
    hgrepos = []
    issue_num = 7839
    keywords = []
    message_count = 31.0
    messages = ['98754', '100202', '100205', '100206', '100207', '100209', '107310', '107311', '107313', '107316', '107322', '107353', '107365', '107369', '107770', '111337', '157217', '157227', '157228', '157230', '157252', '157259', '157269', '157294', '157322', '157323', '157332', '157608', '157613', '157800', '160587']
    nosy_count = 15.0
    nosy_names = ['holdenweb', 'csernazs', 'ncoghlan', 'vstinner', 'dstanek', 'larry', 'eric.smith', 'giampaolo.rodola', 'eric.araujo', 'Arfrever', 'r.david.murray', 'brian.curtin', 'cvrebert', 'asvetlov', 'Alexander.Belopolsky']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = None
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue7839'
    versions = ['Python 3.3']
    

    主要言語
    Python
    スター
    77.2k
    フォーク
    36k
    平均マージ
    1日 9時間
    マージ済み PR(30日)
    558

    コントリビューションガイド

    コントリビューションガイドを開く

    はじめの一歩

    1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
    2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
    3. リポジトリをフォークし、ブランチを切って変更します。
    4. issue 番号を参照したプルリクエストを送ります。

    python/cpython のほかの issue

    python/cpython の issue をすべて見る

    似ている issue

    Python の issue をもっと見る

    新しい issue をメールで受け取る

    初心者向けの GitHub issue を短くまとめたダイジェスト。