Message122753
| Author |
michael.foord |
| Recipients |
BreamoreBoy, michael.foord, purcell, rbcollins |
| Date |
2010年11月29日.01:02:08 |
| SpamBayes Score |
3.847786e-08 |
| Marked as misclassified |
No |
| Message-id |
<1290992529.86.0.569877175854.issue1705520@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
__unittest needs to die (with appropriate deprecation).
I agree that a nicer API for marking functions and methods as needing to be excluded from unittest stacktraces would be useful. A decorator is a good way to expose that API to developers. Internally unittest could use the new API and __unittest can go away.
Introspecting stack frames is a bad way to implement this, as it doesn't play well with other implementations (like IronPython which doesn't have introspectable Python stack frames by default). |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2010年11月29日 01:02:10 | michael.foord | set | recipients:
+ michael.foord, purcell, rbcollins, BreamoreBoy |
| 2010年11月29日 01:02:09 | michael.foord | set | messageid: <1290992529.86.0.569877175854.issue1705520@psf.upfronthosting.co.za> |
| 2010年11月29日 01:02:08 | michael.foord | link | issue1705520 messages |
| 2010年11月29日 01:02:08 | michael.foord | create |
|