[New-bugs-announce] [issue13809] bz2 does not work when threads are disabled

Amaury Forgeot d'Arc report at bugs.python.org
Tue Jan 17 23:20:56 CET 2012

New submission from Amaury Forgeot d'Arc <amauryfa at gmail.com>:

In bz2.py, "import threading" prevents the bz2 module from working when threads are not enabled.  The attached patch removes the limitation and provides a fake lock object.

I don't know if this should be backported to 3.2.

components: Library (Lib)
files: bz2_nothread.patch
keywords: patch
messages: 151491
nosy: amaury.forgeotdarc
priority: normal
severity: normal
stage: patch review
status: open
title: bz2 does not work when threads are disabled
type: behavior
versions: Python 3.3
Added file: http://bugs.python.org/file24267/bz2_nothread.patch

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list