two classes with the same name confuse pydoctor

Bug #735275 reported by Aaron Gallagher
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pydoctor
New
Undecided
Unassigned

Bug Description

If two classes are defined in a file with the same name (e.g. one defined in an 'except' block, and the other in an 'else' block), pydoctor appends a number to the end of the generated name which links to nothing.

Generated docs:
http://twistedmatrix.com/documents/10.2.0/api/twisted.web.client.html

Source:
http://twistedmatrix.com/trac/browser/tags/releases/twisted-10.2.0/twisted/web/client.py#L567

Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

Sigh, yeah, that's not very good. I'm surprised by the 404 tbh, but it's still not clear what one should do here. Do you have any ideas? :-)

Revision history for this message
Robert Collins (lifeless) wrote :

write both classes to the html?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.