Skip to content

subprocess bufsize=1 docs are misleading #65531

@raylu

Description

@raylu
mannequin
BPO 21332
Nosy @gpshead, @pitrou, @vstinner, @jwilk, @4kir4, @vadmium
PRs
  • bpo-32236: Issue RuntimeWarning if buffering=1 for open() in binary mode #4842
  • Files
  • subprocess-line-buffering-issue21332.patch: update docs, add tests, pass line_buffering
  • subprocess-line-buffering-issue21332-ps2.patch: modify test_universal_newlines to work with Python io implementation
  • subprocess-line-buffering-issue21332-ps3.patch: avoid big timeout in the tests
  • subprocess-line-buffering-issue21332-ps4.patch: remove no longer necessary changes to test_universal_newlines
  • subprocess-line-buffering-issue21332-ps5.patch: move assertEqual() to the caller
  • 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 = <Date 2014-09-21.19:16:25.948>
    created_at = <Date 2014-04-22.23:35:45.245>
    labels = ['type-bug', 'library']
    title = 'subprocess bufsize=1 docs are misleading'
    updated_at = <Date 2018-10-20.00:22:36.056>
    user = 'https://bugs.python.org/raylu'

    bugs.python.org fields:

    activity = <Date 2018-10-20.00:22:36.056>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2014-09-21.19:16:25.948>
    closer = 'pitrou'
    components = ['Library (Lib)']
    creation = <Date 2014-04-22.23:35:45.245>
    creator = 'raylu'
    dependencies = []
    files = ['35109', '35124', '35129', '35189', '36679']
    hgrepos = []
    issue_num = 21332
    keywords = ['patch']
    message_count = 18.0
    messages = ['217044', '217596', '217601', '217651', '217683', '217739', '217740', '217742', '217744', '217745', '218136', '218229', '219058', '220919', '227216', '227223', '227225', '328097']
    nosy_count = 9.0
    nosy_names = ['gregory.p.smith', 'pitrou', 'vstinner', 'jwilk', 'Arfrever', 'akira', 'python-dev', 'martin.panter', 'raylu']
    pr_nums = ['4842']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue21332'
    versions = ['Python 3.4', 'Python 3.5']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      stdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions