This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author dasilver@cisco.com
Recipients dasilver@cisco.com
Date 2015-10-08.17:05:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1444323958.12.0.353720924326.issue25344@psf.upfronthosting.co.za>
In-reply-to
Content
It would be useful to have the ability to push logs onto a stack. This way you can log events to the stack. If an error occurred, you could pop the stack and output the log events. If no error occurred, you could pop the stack and discard the logs.

An example would be when you call a function it could push logs onto the log stack as the function is executing. If an error is encountered, you can pop/output the logs to provide more details. But, if no error is encountered, the detailed logs can be popped and discarded.
History
Date User Action Args
2015-10-08 17:05:58dasilver@cisco.comsetrecipients: + dasilver@cisco.com
2015-10-08 17:05:58dasilver@cisco.comsetmessageid: <1444323958.12.0.353720924326.issue25344@psf.upfronthosting.co.za>
2015-10-08 17:05:58dasilver@cisco.comlinkissue25344 messages
2015-10-08 17:05:57dasilver@cisco.comcreate