Issue 26507: Use highest pickle protocol in multiprocessing (original) (raw)

This issue has been migrated to GitHub: https://github.com/python/cpython/issues/70694

classification

Title: Use highest pickle protocol in multiprocessing
Type: enhancement Stage:
Components: Extension Modules Versions: Python 3.6

process

Status: closed Resolution: duplicate
Dependencies: Superseder: parameterize what serialization is used in multiprocessing View:28053
Assigned To: Nosy List: davin, ebehn, pitrou
Priority: normal Keywords:

Created on 2016-03-08 02:11 by ebehn, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
patch ebehn,2016-03-08 02:11 Patch to fix issue review
patch ebehn,2016-03-08 02:14 Patch to fix issue review
Messages (4)
msg261318 - (view) Author: Ed Behn (ebehn) * Date: 2016-03-08 02:11
Currently, the default pickle protocol is used to return worker results in a multiprocessing pool. The highest protocol should be used because backwards compatibility is not an issue.
msg261320 - (view) Author: Davin Potts (davin) * (Python committer) Date: 2016-03-08 03:49
As described in , it is possible for independent processes to communicate to one another through multiprocessing. Thus changing the default triggers complications and is arguably much less interesting than having control over what protocol (or mechanism) is to be used for pickling.
msg261506 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2016-03-10 15:24
Agreed with Davin.
msg275439 - (view) Author: Davin Potts (davin) * (Python committer) Date: 2016-09-09 21:02
Closing in deference to the enhancement described in .
History
Date User Action Args
2022-04-11 14:58:28 admin set github: 70694
2016-09-09 21:02:12 davin set status: open -> closedsuperseder: parameterize what serialization is used in multiprocessingresolution: duplicatemessages: +
2016-03-10 15:24:40 pitrou set nosy: + pitroumessages: +
2016-03-08 03:49:00 davin set nosy: + davinmessages: +
2016-03-08 02:14:23 ebehn set files: + patch
2016-03-08 02:11:24 ebehn create