[Python-bugs-list] [ python-Bugs-467336 ] doctest failures w/ new-style classes

noreply@sourceforge.net noreply@sourceforge.net
Tue, 02 Oct 2001 15:31:56 -0700


Bugs item #467336, was opened at 2001-10-02 15:31
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=467336&group_id=5470

Category: Python Library
Group: Python 2.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Tim Peters (tim_one)
Assigned to: Tim Peters (tim_one)
Summary: doctest failures w/ new-style classes

Initial Comment:
doctest doesn't find docstrings for static or class 
methods in new-style classes, or for properties.  This 
is for the same reasons inspect.py/pydoc.py didn't 
understand these things (the old checks for types via 
types.py don't succeed).

Also doesn't find new-style class docstrings (but 
opened a different bug about that, since C.__doc__ 
being None when there is a docstring just doesn't seem 
right).


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=467336&group_id=5470