Re: [Python-Dev] [Python-checkins] cpython (2.7): Fix closes Issue12722 - link heapq source in the text format in the

2011-08-11 Thread Georg Brandl
Am 11.08.2011 17:01, schrieb Merwok: > Le 11/08/2011 16:47, Sandro Tosi a écrit : >> Is there a reason we can't use the same sphinx role in 2.7 too? And >> also the same sphinx (thus sphinxext) versions on 2.7 and 3.x? that >> would probably help in keeping the diffs on the documentation smaller. >

Re: [Python-Dev] [Python-checkins] cpython (2.7): Fix closes Issue12722 - link heapq source in the text format in the

2011-08-11 Thread Merwok
Le 11/08/2011 16:47, Sandro Tosi a écrit : > Is there a reason we can't use the same sphinx role in 2.7 too? And > also the same sphinx (thus sphinxext) versions on 2.7 and 3.x? that > would probably help in keeping the diffs on the documentation smaller. Even though the pyspecific module is wholl

Re: [Python-Dev] [Python-checkins] cpython (2.7): Fix closes Issue12722 - link heapq source in the text format in the

2011-08-11 Thread Sandro Tosi
On Thu, Aug 11, 2011 at 16:33, Éric Araujo wrote: > Hi, > >> IIRC the reason why we don't do it on 2.x is because we don't have the >> 'source' directive available in Sphinx and therefore we would have to >> update all the links manually to link to h.p.o instead of s.p.o. > > In 3.2 and higher, th

Re: [Python-Dev] [Python-checkins] cpython (2.7): Fix closes Issue12722 - link heapq source in the text format in the

2011-08-11 Thread Éric Araujo
Hi, > IIRC the reason why we don't do it on 2.x is because we don't have the > 'source' directive available in Sphinx and therefore we would have to > update all the links manually to link to h.p.o instead of s.p.o. In 3.2 and higher, there is a custom source role in Doc/tools/sphinxext/pyspeci

Re: [Python-Dev] [Python-checkins] cpython (2.7): Fix closes Issue12722 - link heapq source in the text format in the

2011-08-10 Thread Raymond Hettinger
On Aug 10, 2011, at 1:58 PM, Ezio Melotti wrote: > we would have to update all the links manually to link to h.p.o instead of > s.p.o. sed is your friend. Raymond ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/list

Re: [Python-Dev] [Python-checkins] cpython (2.7): Fix closes Issue12722 - link heapq source in the text format in the

2011-08-10 Thread Senthil Kumaran
On Wed, Aug 10, 2011 at 11:58:24PM +0300, Ezio Melotti wrote: > > hg.python.org/cpython/2.7/path/to/file.py should work just fine. The correct path seems to be: http://hg.python.org/cpython/file/2.7/Lib/ > > IIRC the reason why we don't do it on 2.x is because we don't have > the 'source' direc

Re: [Python-Dev] [Python-checkins] cpython (2.7): Fix closes Issue12722 - link heapq source in the text format in the

2011-08-10 Thread Ezio Melotti
On 11/08/2011 0.02, Sandro Tosi wrote: On Wed, Aug 10, 2011 at 21:55, Terry Reedy wrote: Latest version of the `heapq Python source code -`_ +

Re: [Python-Dev] [Python-checkins] cpython (2.7): Fix closes Issue12722 - link heapq source in the text format in the

2011-08-10 Thread Sandro Tosi
On Wed, Aug 10, 2011 at 21:55, Terry Reedy wrote: > >> >>     Latest version of the `heapq Python source code >> >> -`_ >> >> +