[Patches] [ python-Patches-816059 ] popen2 work, fixes bugs 768649 and 761888

SourceForge.net noreply at sourceforge.net
Wed Oct 1 14:48:20 EDT 2003


Patches item #816059, was opened at 2003-10-01 13:48
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=816059&group_id=5470

Category: Library (Lib)
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Andrew Gaul (gaul)
Assigned to: Nobody/Anonymous (nobody)
Summary: popen2 work, fixes bugs 768649 and 761888

Initial Comment:
Plug popen2.popen[234] leak (see bug #768649 for

discussion).  Handle os.{pipe,fork} exceptions (see bug

#761888).  Change class variables into instance

variables, allowing following code to work properly:



from popen2 import Popen3

p1 = Popen3('ls')

p1.fromchild.read()

Popen3('ls').fromchild.read()

Popen3('ls').fromchild.read()

p1.wait()



Update docstrings to mention popen4 and warn about

mixing Popen3 objects and threading.  Expand on MAX_FD

comment.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=816059&group_id=5470



More information about the Patches mailing list