Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make subprocess.Popen support file-like objects (win) #41800

Closed
nidoizo mannequin opened this issue Apr 3, 2005 · 3 comments
Closed

Make subprocess.Popen support file-like objects (win) #41800

nidoizo mannequin opened this issue Apr 3, 2005 · 3 comments
Labels
stdlib Python modules in the Lib dir type-feature A feature request or enhancement

Comments

@nidoizo
Copy link
Mannequin

nidoizo mannequin commented Apr 3, 2005

BPO 1175984
Files
  • patch.txt: Patch for subversion.py
  • 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 2016-09-25.13:19:04.701>
    created_at = <Date 2005-04-03.20:46:30.000>
    labels = ['type-feature', 'library']
    title = 'Make subprocess.Popen support file-like objects (win)'
    updated_at = <Date 2016-09-25.13:19:04.700>
    user = 'https://bugs.python.org/nidoizo'

    bugs.python.org fields:

    activity = <Date 2016-09-25.13:19:04.700>
    actor = 'christian.heimes'
    assignee = 'astrand'
    closed = True
    closed_date = <Date 2016-09-25.13:19:04.701>
    closer = 'christian.heimes'
    components = ['Library (Lib)']
    creation = <Date 2005-04-03.20:46:30.000>
    creator = 'nidoizo'
    dependencies = []
    files = ['6589']
    hgrepos = []
    issue_num = 1175984
    keywords = ['patch']
    message_count = 3.0
    messages = ['48143', '48144', '222925']
    nosy_count = 4.0
    nosy_names = ['ianbicking', 'astrand', 'nidoizo', 'BreamoreBoy']
    pr_nums = []
    priority = 'normal'
    resolution = 'out of date'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue1175984'
    versions = ['Python 3.2']

    @nidoizo
    Copy link
    Mannequin Author

    nidoizo mannequin commented Apr 3, 2005

    This patch make subprocess.Popen support file-like
    objects without fileno for stdout and stderr on Windows
    (intend to do Unix once patch accepted). It makes
    subprocess.Popen able to redirect stdout and stderr to
    objects like StringIO or other objects with file
    objects interface.

    @nidoizo nidoizo mannequin assigned astrand Apr 3, 2005
    @nidoizo nidoizo mannequin added the stdlib Python modules in the Lib dir label Apr 3, 2005
    @ianbicking
    Copy link
    Mannequin

    ianbicking mannequin commented Aug 15, 2005

    Logged In: YES
    user_id=210337

    Bug/feature request 1260171 addresses the same basic issue,
    but with the idea of a method like Popen.communicate() that
    writes and reads directly to/from file-like objects, instead
    of reading and returning strings.
    http://sourceforge.net/tracker/index.php?func=detail&aid=1260171&group_id=5470&atid=105470

    But having submitted that other request, I have no real
    opinion of one technique over the other, except that one of
    them would be really nice to have.

    @devdanzin devdanzin mannequin added the type-feature A feature request or enhancement label Feb 15, 2009
    @BreamoreBoy
    Copy link
    Mannequin

    BreamoreBoy mannequin commented Jul 13, 2014

    I believe this should be closed as the patch refers to various win32xxx imports that no longer exists in subprocess.py.

    @tiran tiran closed this as completed Sep 25, 2016
    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 9, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    stdlib Python modules in the Lib dir type-feature A feature request or enhancement
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant