[issue7023] Marshal doesn't release GIL while dumping

zengke report at bugs.python.org
Wed Sep 30 11:36:53 CEST 2009


New submission from zengke <superisaac.ke at gmail.com>:

If marshal.dumps() is handling a large data, It keeps acquiring the GIL
and may take several seconds, Other threads therefor are blocked.
marshal.loads should also be friendly to other threads.

----------
components: Library (Lib)
files: marshal_threads.patch
keywords: patch
messages: 93354
nosy: zengke
severity: normal
status: open
title: Marshal doesn't release GIL while dumping
type: behavior
versions: Python 2.7
Added file: http://bugs.python.org/file15006/marshal_threads.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7023>
_______________________________________


More information about the Python-bugs-list mailing list