Author ncoghlan
Recipients larry, ncoghlan
Date 2013-10-21.14:00:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I broke help() for instances of these context managers by trying to postpone exposing the class APIs until 3.5 (and didn't even record my full rationale, however flawed, in the associated comments).

The wrapper functions should be removed, making the classes the public implementation. I also plan to make the following changes (although I may end up moving them to separate issues):

- provide (and document) a public "target" attribute on redirect_stdout
- make redirect_stdout reentrant (and switch to ExitStack as the reusable-but-not-reentrant example)

- provide (and document) a public "exceptions" attribute on suppress
- return self from suppress.__enter__
Date User Action Args
2013-10-21 14:00:52ncoghlansetrecipients: + ncoghlan, larry
2013-10-21 14:00:52ncoghlansetmessageid: <>
2013-10-21 14:00:52ncoghlanlinkissue19330 messages
2013-10-21 14:00:52ncoghlancreate