[issue6374] Confused by subprocess API documentation

2009-06-29 Thread Pascal Chambon
New submission from Pascal Chambon : I feel the description of the subprocess.popen semantics is a little incomplete/confusing to me, on some points, eg. : - what does the "shell" argument do on windows, exactly ? The beginning of the description states that nothing changes (createPr

[issue6371] Minor internal link errors in Optparse doc

2009-06-29 Thread Pascal Chambon
New submission from Pascal Chambon : Hello A minor detail in optparse documentation : "If optparse‘s default error-handling behaviour does not suit your needs, you’ll need to subclass OptionParser and override its exit() and/or error() methods." -> the links put on exit() and erro

[issue6176] Reference to a wrong version of flock's documentation

2009-06-02 Thread Pascal Chambon
New submission from Pascal Chambon : It seems that the "flock" wrapped by the fcntl module is the one descriebd in "flock(2)", not "flock(3)" (just in case this might confuse people...) Quote : """ fcntl.flock(fd, op) Perform the lock operation op

[issue5962] Ambiguity about the semantics of sys.exit() and os._exit() in multithreaded program

2009-05-07 Thread Pascal Chambon
New submission from Pascal Chambon : Hello I once was rather confused, because nothing in the sys and os modules mentionned the behaviours that the exit() and _exit() functions were supposed to have when called inside a non-main thread. I've eventually found in multithreading-related docs

[issue5906] Risk of confusion in multiprocessing module - daemonic processes

2009-05-04 Thread Pascal Chambon
Pascal Chambon added the comment: I guess we all agree on the fact that a renaming of the API would be highly disproportionate ;-) A simple line of warning in the doc, next to the daemonic-related methods, should be sufficient to prevent people like me from wondering weird stuffs for hours

[issue5906] Risk of confusion in multiprocessing module - daemonic processes

2009-05-02 Thread Pascal Chambon
Pascal Chambon added the comment: I agree that for someone who discovers the multiprocessing api as a "generalization" of the threading api, there won't be problems ; I'm just worried about those (like me) who will see "daemonic" as coming from unix processes, a

[issue5906] Risk of confusion in multiprocessing module - daemonic processes

2009-05-02 Thread Pascal Chambon
New submission from Pascal Chambon : "Usually, daemon processes are processes which got disconnected from their parent process, and work in the background, often under a different user identity. The multiprocessing module has the concept of "daemon" too, but this time in r

[issue4192] Subprocess error with I/O redirection to Pipes

2009-03-05 Thread Pascal Chambon
Pascal Chambon added the comment: Thansk a lot for reviewing the problem Indeed, "p.wait()" seems to do the trick in this case. Is there any global way to avoid such pipe problems ? I mean, in any case, one end of each pipe has to be closed before the other end, so such errors m

[issue4192] Subprocess error with I/O redirection to Pipes

2008-10-24 Thread Pascal Chambon
New submission from Pascal Chambon <[EMAIL PROTECTED]>: I've created on my desktop a file flooder.py containing just the following: ## import sys, os progress=open(r"C:\Users\v-pascha\Desktop\STDERR.txt","w") for i in range(101): print str(i)*2

<    1   2