Message122753
__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). |
|
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 | |
|