[issue43958] Importlib.metadata docs claim PackagePath is a Path subclass

2021-07-17 Thread miss-islington
miss-islington added the comment: New changeset 049e98b2b74cdcd462f31720c24ab6ebff599d9f by Miss Islington (bot) in branch '3.9': [3.9] bpo-43958: Document importlib.metadata.PackagePath.locate method (GH-25669) (GH-27221) https://github.com/python/cpython/commit/049e98b2b74cdcd462f31720c24a

[issue43958] Importlib.metadata docs claim PackagePath is a Path subclass

2021-07-17 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +25762 pull_request: https://github.com/python/cpython/pull/27221 ___ Python tracker _

[issue43958] Importlib.metadata docs claim PackagePath is a Path subclass

2021-04-28 Thread Jason R. Coombs
Jason R. Coombs added the comment: Thanks Paul! -- nosy: +jaraco resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue43958] Importlib.metadata docs claim PackagePath is a Path subclass

2021-04-27 Thread Paul Moore
Change by Paul Moore : -- keywords: +patch pull_requests: +24358 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25669 ___ Python tracker ___ _

[issue43958] Importlib.metadata docs claim PackagePath is a Path subclass

2021-04-27 Thread Paul Moore
New submission from Paul Moore : 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