[issue9948] findCaller is slow and loses case information on Windows

Armin Ronacher report at bugs.python.org
Sat Sep 25 16:32:30 CEST 2010


New submission from Armin Ronacher <armin.ronacher at active-4.com>:

findCaller() on loses case information on the files on Windows and has in general a really bad performance.  The attached patch does not depend on filename comparisions and instead compares the object identity of the caller's global namespace against the one from the logging module.

----------
assignee: vinay.sajip
components: Library (Lib)
files: find-caller.patch
keywords: patch
messages: 117373
nosy: aronacher, vinay.sajip
priority: normal
severity: normal
status: open
title: findCaller is slow and loses case information on Windows
versions: Python 2.7
Added file: http://bugs.python.org/file19008/find-caller.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9948>
_______________________________________


More information about the Python-bugs-list mailing list