New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stack_info is not processed for python 3 #6

Closed
gcbirzan opened this Issue Oct 4, 2013 · 1 comment

Comments

Projects
None yet
2 participants
@gcbirzan
Contributor

gcbirzan commented Oct 4, 2013

Just like exc_info is processed as a special argument for log messages, so should stack_info. stack_info should evaluate to the traceback, even without an exception (http://docs.python.org/3.3/library/logging.html#logging.Logger.debug)

An interesting question is whether this should go in as a feature for python2 (which doesn't support it natively), and I'd say yes, because we already have a hackish way of doing it currently, and it won't break backwards compatibility.

@hynek

This comment has been minimized.

Owner

hynek commented Oct 28, 2013

I love the idea of on-demand adding of tracebacks – this is absolutely going to go into a 2/3 processor.

@hynek hynek closed this in d31b544 Nov 9, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment