[issue24256] threading.Timer is not a class

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Python 2.7 is no longer supported. -- nosy: +serhiy.storchaka resolution: -> out of date stage: needs patch -> resolved status: open -> closed ___ Python tracker

[issue24256] threading.Timer is not a class

2015-11-17 Thread John Runyon
John Runyon added the comment: New proposed patch. I understand not wanting to document an "internal only name", except that in this case it rather needs to be documented. I would strongly prefer Angad's patch to mine because you do, at times, need to know the actual name of the class being

[issue24256] threading.Timer is not a class

2015-07-04 Thread Angad Singh
Angad Singh added the comment: Taking a stab at this. Attached patch. -- keywords: +patch nosy: +angad Added file: http://bugs.python.org/file39858/function_threading_timer.diff ___ Python tracker rep...@bugs.python.org

[issue24256] threading.Timer is not a class

2015-07-04 Thread R. David Murray
R. David Murray added the comment: Thanks, but we don't want to document an internal only name (which is what the leading underscore means in this case). It might be desirable to note that the name is a class in python3, I'm not sure. -- nosy: +r.david.murray

[issue24256] threading.Timer is not a class

2015-05-21 Thread Ned Deily
Ned Deily added the comment: This is really a duplicate of Issue5831 which ended up being closed as a duplicate of Issue10968. The resolution of the latter issue was to change threading.Timer in Python 3.3 to actually be a class, a new feature. But it appears that along the way the issue of

[issue24256] threading.Timer is not a class

2015-05-21 Thread John Runyon
New submission from John Runyon: the documentation (https://docs.python.org/2/library/threading.html#threading.Timer) lists threading.Timer as a class. It is not, which means that (for example) you can not use it in isinstance(). threading._Timer is a class. threading.Timer(...).__class__ is

[issue24256] threading.Timer is not a class

2015-05-21 Thread John Runyon
John Runyon added the comment: Concise documentation isn't my forte, but my confusion would've been avoided with a note that for historical reasons, threading.Timer is actually a factory function for the underlying class threading._Timer or something along those lines. --