links to stdlib modules

Bug #961797 reported by Glyph Lefkowitz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pydoctor
Fix Released
Undecided
Unassigned

Bug Description

L{socket.AF_INET} could link to http://docs.python.org/library/socket.html#socket.AF_INET.

L{os.path.join} could link to http://docs.python.org/library/os.path.html#os.path.join

This link scheme isn't always accurate, but it's pretty consistent and it's accurate often enough to be highly useful. pydoctor could find the 'os' and 'socket' modules programmatically, it doesn't need to have a builtin list, and all the stdlib stuff goes together, so by using one stdlib module's __file__ as reference, it could be quickly determined which things could be linked to in this way.

Related branches

Changed in pydoctor:
status: New → Confirmed
Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :
Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

I cleaned up the code a bit and pushed it to trunk.

Changed in pydoctor:
status: Confirmed → Fix Committed
Revision history for this message
Glyph Lefkowitz (glyph) wrote :
Changed in pydoctor:
status: Fix Committed → In Progress
Changed in pydoctor:
status: In Progress → Fix Committed
Changed in pydoctor:
status: Fix Committed → Fix Released
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.