[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

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

[issue1709] logging: log actual function name

2008-01-02 Thread umaxx
umaxx added the comment: oops... i looked at python 2.4, not the latest trunk. my fault :( please close this issue. sorry for the noise... __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1709

[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

[issue1709] logging: log actual function name

2007-12-30 Thread umaxx
New submission from umaxx: logging does not have a (formatter) option for logging the actual function name Logger class detects function name with findCaller() - *but* does not pass it to the makeRecord()-call in _log() - why? would be nice to see this feature implemented, no patch for now