[issue15891] A public facing API for __unittest = True

2012-09-10 Thread Eric Snow
Eric Snow added the comment: yeah, I keep thinking we need a better API for managing tracebacks. One of these days... -- nosy: +eric.snow ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15891

[issue15891] A public facing API for __unittest = True

2012-09-09 Thread Julian Berman
New submission from Julian Berman: Can `__unittest = True`, which is used to hide stack frames from tracebacks inside the testing framework, be documented as being public, or, if that's not acceptable, be replaced by something that is? `_exc_info_to_string` is a hairy function to need to

[issue15891] A public facing API for __unittest = True

2012-09-09 Thread R. David Murray
R. David Murray added the comment: This is a duplicate of issue 1705520. Since Michael obviously hasn't gotten to it yet, a proposed patch might move things along. -- nosy: +r.david.murray stage: - committed/rejected status: open - closed superseder: - API for excluding methods from

[issue15891] A public facing API for __unittest = True

2012-09-09 Thread Michael Foord
Michael Foord added the comment: Whatever we do must be backwards compatible. The question is, is a better api that doesn't use stack frames (which is a hack in my opinion) even possible? -- ___ Python tracker rep...@bugs.python.org