Message262371
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. |
|
Date |
User |
Action |
Args |
2016-03-24 19:05:42 | brett.cannon | set | recipients:
+ brett.cannon, gvanrossum, rhettinger, ncoghlan, martin.panter, jstasiak, Nan Wu |
2016-03-24 19:05:42 | brett.cannon | set | messageid: <1458846342.51.0.409609245791.issue25609@psf.upfronthosting.co.za> |
2016-03-24 19:05:42 | brett.cannon | link | issue25609 messages |
2016-03-24 19:05:42 | brett.cannon | create | |
|