On Tue, May 17, 2016 at 9:33 AM, Brett Cannon brett@python.org wrote:
No comments from me, although it's going to be interesting making this all work in Typeshed if we backport the PathLike support to the pathlib constructor to 3.4 and 3.5 but (obviously) not os.PathLike itself.
By then mypy should support "if sys.version_info >= ..." checks. (There's some work required still: https://github.com/python/mypy/issues/698)