Georg Brandl avatar Georg Brandl committed ba64351

#145: Fix autodoc problem with automatic members that refuse to be
getattr()'d from their parent.

Comments (0)

Files changed (2)

 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.
 
 * #134: Fix pending_xref leftover nodes when using the todolist
   directive from the todo extension.
 
+  
 Release 0.6.1 (Mar 26, 2009)
 ============================
 

sphinx/ext/autodoc.py

             # 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):
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.