[issue38885] Have os.PathLike inherit from typing.Protocol

2019-11-21 Thread Brett Cannon
Brett Cannon added the comment: Closing as importing 'typing' in 'os' is probably too much and would impact start-up time. -- resolution: -> rejected stage: -> resolved status: open -> closed ___ Python tracker

[issue38885] Have os.PathLike inherit from typing.Protocol

2019-11-21 Thread Brett Cannon
New submission from Brett Cannon : Since os.PathLike explicitly defines a a protocol, it would make sense to have it inherit from typing.Protocol instead of abc.ABC. -- components: Library (Lib) messages: 357206 nosy: brett.cannon priority: normal severity: normal status: open title: