[issue5831] Doc mistake : threading.Timer is *not* a class

2011-02-15 Thread R. David Murray
R. David Murray added the comment: Discussion should be moved to #10968, please. -- ___ Python tracker ___ ___ Python-bugs-list mailin

[issue5831] Doc mistake : threading.Timer is *not* a class

2011-02-15 Thread Martijn van Oosterhout
Martijn van Oosterhout added the comment: Note this is a behaviour change. Under the old scheme (Foo is a class) Foo.timerclass = Timer created a method, whereas now it will just assign the class as an attribute. To work around this you had to use _Timer. Will that dummy class remain as an a

[issue5831] Doc mistake : threading.Timer is *not* a class

2011-01-22 Thread Éric Araujo
Éric Araujo added the comment: Explanation has been provided on #10968, and hopefully the code will be cleaned up. Closing as superseded. -- resolution: -> duplicate stage: -> committed/rejected status: open -> closed superseder: -> threading.Timer should be a class so that it can

[issue5831] Doc mistake : threading.Timer is *not* a class

2010-11-17 Thread Éric Araujo
Éric Araujo added the comment: Nearly all classes in threading uses this function/class indirection, which I don’t understand (except for RLock, which is a factory function). -- assignee: d...@python -> nosy: +eric.araujo versions: +Python 3.2 -Python 2.6, Python 3.0

[issue5831] Doc mistake : threading.Timer is *not* a class

2009-09-04 Thread Manuel Kaufmann
Manuel Kaufmann added the comment: I deleted this function and I renamed the class _Timer to Timer. I attached the patch -- keywords: +patch nosy: +humitos Added file: http://bugs.python.org/file14831/threading.Issue.5831.patch ___ Python tracker

[issue5831] Doc mistake : threading.Timer is *not* a class

2009-04-25 Thread Eric Devolder
Changes by Eric Devolder : -- nosy: +keldonin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue5831] Doc mistake : threading.Timer is *not* a class

2009-04-24 Thread R. David Murray
R. David Murray added the comment: The Timer function is a simple wrapper for creating an instance of the _Timer class. The Timer class was proposed in Issue428326 by Itamar and applied by Martin in r22972. In the original patch the class was exposed as Timer. Martin's commit introduced the T

[issue5831] Doc mistake : threading.Timer is *not* a class

2009-04-24 Thread Maxence
New submission from Maxence : In the documentation, the Timer() function of the threading class is described as a class. however, it's a function : >>> import threading >>> threading.Timer Cheers Maxence -- assignee: georg.brandl components: Documentation messages: 86409 nosy: georg.