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-03-24.19:05:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1458846342.51.0.409609245791.issue25609@psf.upfronthosting.co.za>
In-reply-to
Content
Here is an updated patch implementing Nick's suggestions and is ready for 3.6 sans a What's New entry.

As for Python 3.5, I think I will copy __subclasshook__() from contextlib.AbstractContextManager and put it in typing.ContextManager so the isinstance() checks will work with the type structurally.

LMK if this all sounds/looks reasonable.
History
Date User Action Args
2016-03-24 19:05:42brett.cannonsetrecipients: + brett.cannon, gvanrossum, rhettinger, ncoghlan, martin.panter, jstasiak, Nan Wu
2016-03-24 19:05:42brett.cannonsetmessageid: <1458846342.51.0.409609245791.issue25609@psf.upfronthosting.co.za>
2016-03-24 19:05:42brett.cannonlinkissue25609 messages
2016-03-24 19:05:42brett.cannoncreate