[New-bugs-announce] [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>

More information about the New-bugs-announce mailing list