@AA-Turner spotted that I was planning to add type hints to pathlib.types
and pointed me towards this thread. Do folks think that’s a good/bad idea?
Context: pathlib.types
is new in 3.14 and contains a single public Protocol
. It also contains a few private protocols and ABCs that I make available as a PyPI package called pathlib-abc. pathlib.types
is not imported by pathlib
, so there’s no runtime cost to pathlib users IIUC.
Thanks