[issue902061] pydoc insists upon producing file: URLs

2010-08-19 Thread Mark Lawrence

Mark Lawrence breamore...@yahoo.co.uk added the comment:

Closed as a duplicate of #2001, but please keep in mind msg75324.

--
nosy: +BreamoreBoy
resolution:  - duplicate
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue902061
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue902061] pydoc insists upon producing file: URLs

2010-07-10 Thread Terry J. Reedy

Changes by Terry J. Reedy tjre...@udel.edu:


--
versions: +Python 3.2 -Python 2.6

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue902061
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue902061] pydoc insists upon producing file: URLs

2008-10-29 Thread René Liebscher

René Liebscher [EMAIL PROTECTED] added the comment:

I would like to see this change introducing a method of class HTMLDoc.

It has already some such methods as:

def namelink(self, name, *dicts):
def classlink(self, object, modname):
def modulelink(self, object):
def modpkglink(self, data):

So it would be logically to make it a method 
 
def filelink(self,url,path):
 Make a link to source file.
 return 'a href=file:%s%s/a' % (url, path)
 
and changing the creating of the filelink to
...
filelink = self.filelink(url, path)
 except TypeError:
filelink = '(built-in)'
...

This way one can easily subclass HTMLDoc for own purposes and define a
own filelink method.

--
nosy: +r.liebscher

___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue902061
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue902061] pydoc insists upon producing file: URLs

2008-04-13 Thread Ron Adam

Ron Adam [EMAIL PROTECTED] added the comment:

The following patch also fixes this along with other improvements. 
Maybe someone can review it.

http://bugs.python.org/issue2001

--
nosy: +ron_adam


Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue902061

___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue902061] pydoc insists upon producing file: URLs

2008-04-12 Thread Daniel Diniz

Changes by Daniel Diniz [EMAIL PROTECTED]:


--
versions: +Python 2.6


Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue902061

___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com