[issue7883] CallTips.py _find_constructor does not work

Terry J. Reedy report at bugs.python.org
Thu May 30 23:29:55 CEST 2013


Terry J. Reedy added the comment:

#12520 deleted _find_constructor in 3.x as it works with, but only with old-style classes (gone in 3.x) and just uses getattr(ob, '__init__', None). I believe the tests in this patch duplicate existing tests at the bottom of CallTips.py (increased from 10 to 30 as part of #12510). I will recheck when I move the existing tests into the new idle_test/test_calltips.py.

----------
versions: +Python 2.7 -Python 3.1

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


More information about the Python-bugs-list mailing list