pdoc icon indicating copy to clipboard operation
pdoc copied to clipboard

Pdoc fails if a base class uses a NotImplementedError

Open kjczarne opened this issue 4 years ago • 0 comments

Expected Behavior

No error thrown. I have a base class in a lib that I want to document and some of the methods are deliberately marked as NotImplementedError.

Actual Behavior

_getmembers_all catches only AttributeError. It should also catch NotImplementedError

Steps to Reproduce

  1. Take any class in an existing library and insert a raise statement for a NotImplementedError
  2. Run pdoc --html some_lib where some_lib is the name of the aforementioned lib.

Additional info

  • pdoc version: 0.10.0

kjczarne avatar Aug 22 '21 22:08 kjczarne