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 brett.cannon
Recipients Nan Wu, brett.cannon, gvanrossum, jstasiak, martin.panter, ncoghlan, rhettinger
Date 2016-04-04.22:02:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1459807345.64.0.888689304677.issue25609@psf.upfronthosting.co.za>
In-reply-to
Content
When I have a chance I'll do up a new patch where the definition of typing.ContextManager is guarded, add a What's New entry, and commit it. My planned guard will be:

if hasattr(contextlib, 'AbstractContextManager'):
    class ContextManager(...): ...
    __all__.append('ContextManager')
History
Date User Action Args
2016-04-04 22:02:25brett.cannonsetrecipients: + brett.cannon, gvanrossum, rhettinger, ncoghlan, martin.panter, jstasiak, Nan Wu
2016-04-04 22:02:25brett.cannonsetmessageid: <1459807345.64.0.888689304677.issue25609@psf.upfronthosting.co.za>
2016-04-04 22:02:25brett.cannonlinkissue25609 messages
2016-04-04 22:02:25brett.cannoncreate