Author khock
Recipients docs@python, khock
Date 2021-12-05.18:56:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1638730607.25.0.754715317111.issue45991@roundup.psfhosted.org>
In-reply-to
Content
# Issue

If you search for "list of paths" in https://github.com/KevinHock/cpython/blob/main/Lib/pkgutil.py

A lot of people mistake this as `PosixPath`. You can see an example here: https://github.com/duo-labs/parliament/pull/207 that references other OSS repositories.

# Solution

We can
- Change the wording. e.g. "list of strings of the paths" or some variation of that.

and perhaps additionally

- Throw a ValueError similar to: https://github.com/python/cpython/blob/628abe4463ed40cd54ca952a2b4cc2d6e74073f7/Lib/pkgutil.py#L122
History
Date User Action Args
2021-12-05 18:56:47khocksetrecipients: + khock, docs@python
2021-12-05 18:56:47khocksetmessageid: <1638730607.25.0.754715317111.issue45991@roundup.psfhosted.org>
2021-12-05 18:56:47khocklinkissue45991 messages
2021-12-05 18:56:47khockcreate