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 r.david.murray
Recipients docs@python, r.david.murray
Date 2012-04-06.02:07:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The title pretty much says it all.  I believe the behavior is correct (more useful than returning an object that is only useful for obtaining the name) even though it is unusual for context managers.  In any case there is plenty of code using the existing behavior, so I think this is a doc bug.
Date User Action Args
2012-04-06 02:07:48r.david.murraysetrecipients: + r.david.murray, docs@python
2012-04-06 02:07:48r.david.murraysetmessageid: <>
2012-04-06 02:07:47r.david.murraylinkissue14515 messages
2012-04-06 02:07:47r.david.murraycreate