diff --git a/CHANGES b/CHANGES index 6f99a6cf9..cf9f05580 100644 --- a/CHANGES +++ b/CHANGES @@ -1,6 +1,9 @@ Release 0.6.2 (in development) ============================== +* #145: Fix autodoc problem with automatic members that refuse to be + getattr()'d from their parent. + * If specific filenames to build are given on the command line, check that they are within the source directory. @@ -11,6 +14,7 @@ Release 0.6.2 (in development) * #134: Fix pending_xref leftover nodes when using the todolist directive from the todo extension. + Release 0.6.1 (Mar 26, 2009) ============================ diff --git a/sphinx/ext/autodoc.py b/sphinx/ext/autodoc.py index 53f533979..110314242 100644 --- a/sphinx/ext/autodoc.py +++ b/sphinx/ext/autodoc.py @@ -485,7 +485,7 @@ class Documenter(object): # using keys() because apparently there are objects for which # __dict__ changes while getting attributes return False, sorted([ - (mname, self.get_attr(self.object, mname)) + (mname, self.get_attr(self.object, mname, None)) for mname in self.get_attr(self.object, '__dict__').keys()]) def filter_members(self, members, want_all):