similarly named files
Brought to you by:
edloper
Hi,
Suppose I there is a python module called module.py which comes with the distribution, and that it defines a class called TheClass.
Now suppose I have my own variant and I name it as follows:
mydir/module.py
So that I can refer to that module as
import mydir.module
Now suppose that inside mydir/module.py I have a definition that says:
class TheClass( module.TheClass ):
pass
meaning that my own mydir.module.TheClass is a subclass of the system's module.TheClass.
Then epydoc will spin into an infinite loop in the
is_newstyle_class
method of the class ClassDoc. In 3.0.1, this is about line 1289 of apidoc.py.
Thanks,
Ambrose