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 serhiy.storchaka
Recipients berker.peksag, docs@python, martin.panter, ncoghlan, serhiy.storchaka, terry.reedy
Date 2016-06-02.19:04:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1464894287.44.0.500979624604.issue22374@psf.upfronthosting.co.za>
In-reply-to
Content
swap_attr() looks too general. I think something more concrete would be better. But the documentation already contain other examples for contextmanager. closing() is good example, and redirect_stdout() would be good example.
History
Date User Action Args
2016-06-02 19:04:47serhiy.storchakasetrecipients: + serhiy.storchaka, terry.reedy, ncoghlan, docs@python, berker.peksag, martin.panter
2016-06-02 19:04:47serhiy.storchakasetmessageid: <1464894287.44.0.500979624604.issue22374@psf.upfronthosting.co.za>
2016-06-02 19:04:47serhiy.storchakalinkissue22374 messages
2016-06-02 19:04:47serhiy.storchakacreate