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 eric.araujo
Recipients benjamin.peterson, benrg, eric.araujo, georg.brandl
Date 2011-03-11.21:27:25
SpamBayes Score 0.0027747422
Marked as misclassified No
Message-id <1299878846.69.0.0059477618207.issue11428@psf.upfronthosting.co.za>
In-reply-to
Content
After a quick perusal of the PEP, there are no wrong definitions of context managers (IOW they define methods in a class, not attribute on an object), but the pseudo-code explaining how the statement works use things like “mgr.__enter__” instead of “type(mgr).__enter__(mgr)”, which might be misleading.
History
Date User Action Args
2011-03-11 21:27:26eric.araujosetrecipients: + eric.araujo, georg.brandl, benjamin.peterson, benrg
2011-03-11 21:27:26eric.araujosetmessageid: <1299878846.69.0.0059477618207.issue11428@psf.upfronthosting.co.za>
2011-03-11 21:27:25eric.araujolinkissue11428 messages
2011-03-11 21:27:25eric.araujocreate