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 davin
Recipients Cezary.Wagner, davin
Date 2015-02-26.06:13:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1424931216.43.0.393202238261.issue23510@psf.upfronthosting.co.za>
In-reply-to
Content
I have a working patch that addresses this behavior and tests to go along with it but am still working on updating the docs.  Updating the docs in 2.7 in a way to as closely match the docs in 3.4/3.5 as possible seems reasonable.  It remains unclear why __enter__ and __exit__ were added in 2.7 yet never advertised in the docs -- attempting to dig into that further.  My intention is to complete the patch (with mods to the docs) this weekend.
History
Date User Action Args
2015-02-26 06:13:36davinsetrecipients: + davin, Cezary.Wagner
2015-02-26 06:13:36davinsetmessageid: <1424931216.43.0.393202238261.issue23510@psf.upfronthosting.co.za>
2015-02-26 06:13:36davinlinkissue23510 messages
2015-02-26 06:13:36davincreate