[New-bugs-announce] [issue34128] Do not block threads when pickle/unpickle

Martin Bammer report at bugs.python.org
Mon Jul 16 14:55:37 EDT 2018


New submission from Martin Bammer <mrbm74 at gmail.com>:

Hi,

the old and slow python implementation of pickle didn't block background
thread.
But the newer C-implementation blocks other threads while dump/load is
running.
Wouldn't it be possible to allow other threads during this time?
Especially could load/loads release the GIL, because Python objects are not available to the Python code until these functions have finished?

Regards,
Martin

----------
components: Interpreter Core
messages: 321755
nosy: Martin Bammer
priority: normal
severity: normal
status: open
title: Do not block threads when pickle/unpickle
type: enhancement
versions: Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34128>
_______________________________________


More information about the New-bugs-announce mailing list