[Python-Dev] Impaired Usability of the Mercurial Source Viewer

Victor Stinner victor.stinner at haypocalc.com
Fri Apr 1 03:28:39 CEST 2011


Le 01/04/2011 01:15, Raymond Hettinger a écrit :
> The Hg source viewer needs to be tweaked to improve its usability.
> What we've got now is a step backwards from the previous svn viewer.
>
> Looking at 
> http://hg.python.org/cpython/file/default/Lib/linecache.py for example,
> there are two issues.   1) the code cannot be cut-and-pasted because the
> line numbers are commingled with the source text.  2) the code is hard
> to read because of the alternating white and gray bars.
You can use mirrors like:
https://bitbucket.org/mirror/cpython/

On Bitbucket, line numbers are displayed, but you can copy/paste code 
without the line number. And the background is just white. For example:
https://bitbucket.org/mirror/cpython/src/3558eecd84f0/Modules/faulthandler.c

Victor


More information about the Python-Dev mailing list