[issue3158] Doctest fails to find doctests in extension modules

Thomas Kluyver report at bugs.python.org
Tue Jan 28 02:31:36 CET 2014


Thomas Kluyver added the comment:

I think there's an issue with this change - ismethoddescriptor() doesn't guarantee that that the object has an __objclass__ attribute. Unbound PyQt4 signals appear to be a case where this goes wrong.

This came up testing IPython on Python 3.4 - we subclass DocTestFinder, which creates other problems, but it looks like it would run into trouble even with the base implementation.
https://github.com/ipython/ipython/issues/4892

----------
nosy: +takluyver

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


More information about the Python-bugs-list mailing list