[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/049e98b2b74cdcd462f31720c24ab6ebff599d9f


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 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.

--
assignee: docs@python
components: Documentation
messages: 392123
nosy: docs@python, paul.moore
priority: normal
severity: normal
status: open
title: Importlib.metadata docs claim PackagePath is a Path subclass
type: behavior
versions: Python 3.10

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com