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 martin.panter
Recipients docs@python, martin.panter, r.david.murray, walker.hale.iv
Date 2016-10-25.22:48:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1477435736.8.0.842493797259.issue28516@psf.upfronthosting.co.za>
In-reply-to
Content
I agree it is good to explicitly document the __enter__() result, rather than relying on assumptions and example code. The patch looks good to me.

I don’t understand the problem with pop_all() though. Is there still a problem if we apply your patch?
History
Date User Action Args
2016-10-25 22:48:56martin.pantersetrecipients: + martin.panter, r.david.murray, docs@python, walker.hale.iv
2016-10-25 22:48:56martin.pantersetmessageid: <1477435736.8.0.842493797259.issue28516@psf.upfronthosting.co.za>
2016-10-25 22:48:56martin.panterlinkissue28516 messages
2016-10-25 22:48:56martin.pantercreate