Message392123
The importlib.metadata documentation states that the PackagePath class is "a pathlib.Path derived object". This isn't true - it's a PurePath subclass, and in particular it does not have a resolve() method. In fact, it has an undocumented custom locate() method that converts it into a Path object.
I propose changing the documentation to make it clear that it is a PurePath subclass, and explicitly documenting the locate() method. |
|
Date |
User |
Action |
Args |
2021-04-27 19:25:40 | paul.moore | set | recipients:
+ paul.moore, docs@python |
2021-04-27 19:25:40 | paul.moore | set | messageid: <1619551540.42.0.304542326488.issue43958@roundup.psfhosted.org> |
2021-04-27 19:25:40 | paul.moore | link | issue43958 messages |
2021-04-27 19:25:40 | paul.moore | create | |
|