links to stdlib modules

Reported by Glyph Lefkowitz on 2012-03-22
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pydoctor
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
Michael Hudson-Doyle (mwhudson) wrote :

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

Changed in pydoctor:
status: Confirmed → Fix Committed
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  Edit
Everyone can see this information.

Other bug subscribers