[issue16778] Logger.findCaller needs to be smarter

Nick Coghlan report at bugs.python.org
Sun Dec 29 15:49:55 CET 2013


Nick Coghlan added the comment:

I think we need to look seriously at the frame annotations idea discussed in other issues. Eliminating noise from tracebacks and correctly reporting user code rather than infrastructure could should be achievable through local state rather than needing global registries.

The workaround we put in place for importlib is an awful hack, and there's a problem where PEP 3144 allows the creation of exception *trees*, but we can currently only record stacks properly.

----------

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


More information about the Python-bugs-list mailing list