#69 _c3_mro() parser bug

v3.0
closed-fixed
Edward Loper
inspection (59)
5
2006-03-16
2006-03-16
Peter Parente
No

When I run 3.0 alpha1 like so:

epydoc --html --parse-only -o doc_path

I get the following exception.

Traceback (most recent call last):
File "pyauto.py", line 249, in:
DocWriter().go()
File "pyauto.py", line 78, in go
self.write()
File "pyauto.py", line 57, in write
cli()
File
"/usr/lib/python2.4/site-packages/epydoc/cli.py", line
315, in cli
main(options, names)
File
"/usr/lib/python2.4/site-packages/epydoc/cli.py", line
271, in main
add_submodules=(options.action!='text'))
File
"/usr/lib/python2.4/site-packages/epydoc/docbuilder.py",
line 193, in bui ld_doc_index
inherit_docs(val_doc)
File
"/usr/lib/python2.4/site-packages/epydoc/docbuilder.py",
line 993, in inh erit_docs
for base_class in list(class_doc.mro()):
File
"/usr/lib/python2.4/site-packages/epydoc/apidoc.py",
line 835, in mro
return self._c3_mro()
File
"/usr/lib/python2.4/site-packages/epydoc/apidoc.py",
line 859, in _c3_mro
return self._c3_merge([[self]] +
TypeError: unbound method _c3_mro() must be called with
ClassDoc instance as fir st argument (got ValueDoc
instance instead)

Discussion

  • Edward Loper
    Edward Loper
    2006-03-16

    Logged In: YES
    user_id=195958

    Fixed in subversion (rev. 985)

     
  • Edward Loper
    Edward Loper
    2006-03-16

    • status: open --> closed-fixed