[issue11359] Please replace the use of pickle in subprocess with json.

2011-03-01 Thread david
david added the comment: As the child will have already have exec'ed there will be no exception raised --> so the parent shouldn't pickle.load from stderror... So unless there is a path where the parent will end up pickle.load ing the exception that case I put before is not possible. ---

[issue11359] Please replace the use of pickle in subprocess with json.

2011-03-01 Thread david
david added the comment: Actually I don't think that is possible mmm. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue11359] Please replace the use of pickle in subprocess with json.

2011-03-01 Thread david
david added the comment: >From my reading of the code it may be possible if I execute a command via >Popen that the child had output that went to stderror, because stderror is >associated with the fd of errpipe_write, and it was not to be 'trusted' (lets >say I ran it as another user) then it

[issue11359] Please replace the use of pickle in subprocess with json.

2011-03-01 Thread STINNER Victor
STINNER Victor added the comment: Why do you want to replace pickle by json? -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-l

[issue11359] Please replace the use of pickle in subprocess with json.

2011-03-01 Thread david
david added the comment: I don't have 3.3 installed so I cannot test it, but here is a patch for 2.6. I am sure it breaks stuff - are there tests for the subprocess module that would cover the cases that pickle was used for? --- subprocess.py.orig 2011-03-02 00:47:59.0 +1100 +++ su

[issue11359] Please replace the use of pickle in subprocess with json.

2011-03-01 Thread david
david added the comment: Can you please re-open this bug ? (unless you feel otherwise). -- ___ Python tracker ___ ___ Python-bugs-lis

[issue11359] Please replace the use of pickle in subprocess with json.

2011-03-01 Thread david
david added the comment: Um this isn't a duplicate this is addressing a different module to multiprocessing. Currently in subprocess you can almost remove the use of pickle with little to no side-effects. -- ___ Python tracker

[issue11359] Please replace the use of pickle in subprocess with json.

2011-02-28 Thread Ezio Melotti
Changes by Ezio Melotti : -- resolution: -> duplicate stage: -> committed/rejected status: open -> closed superseder: -> Please replace the use of pickle in multiprocessing with json. ___ Python tracker

[issue11359] Please replace the use of pickle in subprocess with json.

2011-02-28 Thread david
New submission from david : Please replace the use of pickle in subprocess with json. -- messages: 129744 nosy: db priority: normal severity: normal status: open title: Please replace the use of pickle in subprocess with json. ___ Python tracker