[issue1708] improvements for linecache

2010-10-12 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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

[issue1708] improvements for linecache

2010-10-08 Thread umaxx
umaxx m...@umaxx.net 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

[issue1708] improvements for linecache

2010-09-18 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: @umaxx are you interested in taking this forward? -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1708 ___

[issue1708] improvements for linecache

2009-01-06 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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

[issue1708] improvements for linecache

2009-01-06 Thread umaxx
umaxx um...@oleco.net 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

[issue1708] improvements for linecache

2009-01-05 Thread Guido van Rossum
Changes by Guido van Rossum gu...@python.org: -- assignee: gvanrossum - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1708 ___ ___

[issue1708] improvements for linecache

2009-01-05 Thread Guido van Rossum
Changes by Guido van Rossum gu...@python.org: -- nosy: -gvanrossum ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1708 ___ ___ Python-bugs-list

[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

[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