[issue1708] improvements for linecache

2010-10-12 Thread R. David Murray
R. David Murray added the comment: I am indeed going to close this. The patch isn't complete, since there's the line ending issue Antoine pointed out, which implies that there are also some missing tests. I doubt that linecache performance is something that affects very many people, but i

[issue1708] improvements for linecache

2010-10-08 Thread umaxx
umaxx added the comment: @BreamoreBoy: what do you man by taking this forward? The patch is there. Since three years now, no one else seems to be interested. I personally do not have any interest in this anymore as I just do not use Python for this stuff anymore since a long time now too, so

[issue1708] improvements for linecache

2010-09-18 Thread Mark Lawrence
Mark Lawrence added the comment: @umaxx are you interested in taking this forward? -- nosy: +BreamoreBoy ___ Python tracker ___ ___ Py

[issue1708] improvements for linecache

2009-01-06 Thread umaxx
umaxx added the comment: > Looking at the patch, the recorded seek points will probably be wrong if > some newlines were translated (e.g. '\r\n' -> '\n') when reading the file. ack, this could be a problem. > I'm also not sure not what the use case for very big files is. this is easy to answ

[issue1708] improvements for linecache

2009-01-06 Thread Antoine Pitrou
Antoine Pitrou added the comment: Looking at the patch, the recorded seek points will probably be wrong if some newlines were translated (e.g. '\r\n' -> '\n') when reading the file. I'm also not sure not what the use case for very big files is. linecache is primarily used for printing traceback

[issue1708] improvements for linecache

2009-01-05 Thread Guido van Rossum
Changes by Guido van Rossum : -- nosy: -gvanrossum ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue1708] improvements for linecache

2009-01-05 Thread Guido van Rossum
Changes by Guido van Rossum : -- assignee: gvanrossum -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue1708] improvements for linecache

2008-01-02 Thread Guido van Rossum
Guido van Rossum added the comment: I'll look at this when I have time. If you find someone else interested in reviewing, please give them the patch! -- assignee: -> gvanrossum keywords: +patch nosy: +gvanrossum priority: -> low __ Tracker <[EMAIL PROTE

[issue1708] improvements for linecache

2007-12-30 Thread umaxx
New submission from umaxx: here comes a simple patch for linecache core module, which does the following: - remove double comment - instead of adding all lines with readlines() to the cache, just add seek points for every line - return lines from cached seek-points instead directly from dict-cac