Changes by Piotr Dobrogost p...@bugs.python.dobrogost.net:
--
nosy: +piotr.dobrogost
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9427
___
___
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment:
I'll close this, assuming that the stack_info keyword parameter added to
logging calls in 3.2 will be sufficient.
I also removed the dependency on 1553375, which would prevent closure.
--
dependencies: -Add
Changes by Daniel Stutzbach stutzb...@google.com:
--
dependencies: +Add traceback.print_full_exception()
nosy: +stutzbach
versions: +Python 3.3 -Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9427
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment:
This also happens on later versions. Since 2.x is essentially frozen, this
feature request can't be implemented in 2.x, so recategorising as a Python 3.2
issue.
Here, a change in logging will either duplicate code in traceback.py or print
Changes by R. David Murray rdmur...@bitdance.com:
--
nosy: +r.david.murray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9427
___
___
Changes by Vinay Sajip vinay_sa...@yahoo.co.uk:
--
assignee: - vinay.sajip
nosy: +vinay.sajip
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9427
___
Thomas Guettler guet...@thomas-guettler.de added the comment:
Until exc_info=True prints the current stack, I use this pattern:
import traceback
logging.error(u's...\nStack: %s' % (
''.join(traceback.format_stack())), exc_info=True)
--
___
New submission from Thomas Guettler guet...@thomas-guettler.de:
logging.error('...', exc_info=True) only displays the
frames downward. But I often need the upper frames, to debug a problem.
This example shows, that you don't see the upper frame in the stactrace. But
that's information is
Thomas Guettler guet...@thomas-guettler.de added the comment:
Related: #1553375
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9427
___
___
Thomas Guettler guet...@thomas-guettler.de added the comment:
I tested it only on python 2.6. Can someone please look at more reset versions?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9427
10 matches
Mail list logo