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

Martijn van Oosterhout report at bugs.python.org
Tue Feb 15 13:07:31 CET 2011


Martijn van Oosterhout <kleptog at gmail.com> 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 alias to avoid breaking code (in 2.7 at least)?

----------
nosy: +Martijn.van.Oosterhout

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5831>
_______________________________________


More information about the Python-bugs-list mailing list