[issue12960] threading.Condition is not a class

2011-09-18 Thread STINNER Victor
Changes by STINNER Victor : -- resolution: -> wont fix status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue12960] threading.Condition is not a class

2011-09-17 Thread Raymond Hettinger
Raymond Hettinger added the comment: I recommend just closing this. -- nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list

[issue12960] threading.Condition is not a class

2011-09-17 Thread Georg Brandl
Georg Brandl added the comment: I don't think this is important enough. It's now a class anyway in 3.3+. -- nosy: +georg.brandl ___ Python tracker ___ __

[issue12960] threading.Condition is not a class

2011-09-15 Thread Éric Araujo
Changes by Éric Araujo : -- versions: -Python 2.6, Python 3.1, Python 3.3, Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mai

[issue12960] threading.Condition is not a class

2011-09-14 Thread Nikolaus Rath
Nikolaus Rath added the comment: On 09/14/2011 04:29 AM, STINNER Victor wrote: > > STINNER Victor added the comment: > >> Yes, but further down it still says: >> >> """ >> class threading.Condition([lock]) >> >> If the lock argument is given and not None, [] >> """ > > What do you s

[issue12960] threading.Condition is not a class

2011-09-14 Thread Eli Bendersky
Eli Bendersky added the comment: > What do you suggest? Replace it by class threading._Condition? -1 on this IMHO just documenting the situation as it is would make more sense -- nosy: +eli.bendersky ___ Python tracker

[issue12960] threading.Condition is not a class

2011-09-14 Thread STINNER Victor
STINNER Victor added the comment: > Yes, but further down it still says: > > """ > class threading.Condition([lock]) > > If the lock argument is given and not None, [] > """ What do you suggest? Replace it by class threading._Condition? --

[issue12960] threading.Condition is not a class

2011-09-13 Thread Nikolaus Rath
Nikolaus Rath added the comment: On 09/13/2011 07:41 PM, STINNER Victor wrote: > > STINNER Victor added the comment: > >> According to >> http://docs.python.org/library/threading.html#condition-objects, >> threading.Condition is a class. > > Nope, it's a factory, and it's written in the do

[issue12960] threading.Condition is not a class

2011-09-13 Thread STINNER Victor
STINNER Victor added the comment: > According to http://docs.python.org/library/threading.html#condition-objects, > threading.Condition is a class. Nope, it's a factory, and it's written in the doc: "threading.Condition() A factory function that returns a new condition variable object. A cond

[issue12960] threading.Condition is not a class

2011-09-11 Thread Nikolaus Rath
New submission from Nikolaus Rath : 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