[New-bugs-announce] [issue16174] Fix suggested usage of dummy_threading module
Berker Peksag
report at bugs.python.org
Tue Oct 9 12:32:30 CEST 2012
New submission from Berker Peksag:
The suggested usage should be like this:
try:
import threading
except ImportError:
import dummy_threading as threading
See:
- http://hg.python.org/cpython/file/ce0d0d052494/Lib/queue.py#l3
- http://hg.python.org/cpython/file/ce0d0d052494/Lib/sched.py#l34
- http://hg.python.org/cpython/file/ce0d0d052494/Lib/socketserver.py#l137
----------
assignee: docs at python
components: Documentation
files: fix-dummy-threading-usage.diff
keywords: patch
messages: 172472
nosy: berker.peksag, docs at python
priority: normal
severity: normal
status: open
title: Fix suggested usage of dummy_threading module
versions: Python 3.3, Python 3.4
Added file: http://bugs.python.org/file27505/fix-dummy-threading-usage.diff
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16174>
_______________________________________
More information about the New-bugs-announce
mailing list