[issue26732] multiprocessing sentinel resource leak

2017-07-30 Thread Kevin Quick
Kevin Quick added the comment: Hi Antoine, > ... an implementation detail rather than a documented feature I understand your desire, but this is a leaky abstraction and I would still suggest that it should be more clear that the fork method will inherit *all* resources from the par

[issue26732] multiprocessing sentinel resource leak

2017-07-25 Thread Kevin Quick
Kevin Quick added the comment: Thank you for the fix, pitrou! Regarding your comment regarding the behavior being expected with the "fork" method, I would suggest a documentation modification in the description of the fork method to add something to the effect of "All resource

[issue26732] multiprocessing sentinel resource leak

2016-04-10 Thread Kevin Quick
Kevin Quick added the comment: (Sorry, an unnamed pipe, but a pipe nonetheless.) -- ___ Python tracker <http://bugs.python.org/issue26732> ___ ___ Python-bug

[issue26732] multiprocessing sentinel resource leak

2016-04-10 Thread Kevin Quick
New submission from Kevin Quick: The sentinel creates a named pipe, but the parent's end of the pipe is inherited by subsequently created children. import multiprocessing,signal,sys def sproc(x): signal.pause() for each in range(int(sys.argv[1])): multiprocessing.Process(target=sproc,

[issue6638] optparse parse_args argument references wrong

2009-08-03 Thread Kevin Quick
New submission from Kevin Quick : In optparse description of "16.4.3.7. Parsing arguments" (http:// docs.python.org/library/optparse.html#parsing-arguments) the keyword argument to parse_args is "values=None" but in the description of the "options" return value