[issue12960] threading.Condition is not a class
report at bugs.python.org
Sun Sep 11 15:37:19 CEST 2011
New submission from Nikolaus Rath <Nikolaus at rath.org>:
According to http://docs.python.org/library/threading.html#condition-objects, threading.Condition is a class. However, in fact it turns out to be function that constructs a _Condition instance.
I don't know the reason for that, but it seems to me that either Condition should be a class, or the reason for it being a function should be documented so that people who I would like to inherit from Conditionknow if that is not supported, or if they can safely inherit from _Condition instead.
assignee: docs at python
nosy: Nikratio, docs at python
title: threading.Condition is not a class
versions: Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.3, Python 3.4
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list