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 vinay.sajip
Recipients bquinlan, brian.curtin, eric.araujo, georg.brandl, lukasz.langa, ncoghlan, pitrou, r.david.murray, vinay.sajip
Date 2010-12-10.11:58:41
SpamBayes Score 0.00013419264
Marked as misclassified No
Message-id <1291982322.83.0.345154950852.issue10626@psf.upfronthosting.co.za>
In-reply-to
Content
I've added the logging code to implement and use a logger of last resort as discussed on the thread for http://bit.ly/last-resort-handler into the py3k branch, r87157. Gist of differences is available at https://gist.github.com/736120 - so Brian could remove the STDERR_HANDLER from his code. The futures test code can set sys.stderr to an io.StringIO instance during the test; the last resort handler checks for the sys.stderr value when emitting a record, not when the handler is created.
History
Date User Action Args
2010-12-10 11:58:42vinay.sajipsetrecipients: + vinay.sajip, georg.brandl, bquinlan, ncoghlan, pitrou, eric.araujo, r.david.murray, brian.curtin, lukasz.langa
2010-12-10 11:58:42vinay.sajipsetmessageid: <1291982322.83.0.345154950852.issue10626@psf.upfronthosting.co.za>
2010-12-10 11:58:41vinay.sajiplinkissue10626 messages
2010-12-10 11:58:41vinay.sajipcreate