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 rbcollins
Recipients georg.brandl, larry, ncoghlan, rbcollins
Date 2015-03-30.01:07:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1427677637.91.0.0903752847962.issue23809@psf.upfronthosting.co.za>
In-reply-to
Content
Implementation wise: this is not part of the generic rendering-of-tracebacks; I'd like to make the traceback new stuff be tastefully extensible - I'd be inclined to do this with a per-frame-callback on render (so we don't pay overhead on unrendered tb's) and a global variable that controls the default hooks loaded into the objects.

That would:
 - allow folk using the raw API to control what hooks are at play
 - allow third-parties to install additional things globally, to influence code using the existing old tb apis
 - make testing of the warning specific code be very straight forward and isolated
History
Date User Action Args
2015-03-30 01:07:17rbcollinssetrecipients: + rbcollins, georg.brandl, ncoghlan, larry
2015-03-30 01:07:17rbcollinssetmessageid: <1427677637.91.0.0903752847962.issue23809@psf.upfronthosting.co.za>
2015-03-30 01:07:17rbcollinslinkissue23809 messages
2015-03-30 01:07:17rbcollinscreate