Issue 33276: Clarify that path can't be set to just anything (original) (raw)

Issue33276

Created on 2018-04-13 19:08 by brett.cannon, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 6554 merged brett.cannon,2018-04-20 21:11
PR 6557 merged miss-islington,2018-04-20 23:35
PR 6556 merged miss-islington,2018-04-20 23:35
Messages (1)
msg315256 - (view) Author: Brett Cannon (brett.cannon) * (Python committer) Date: 2018-04-13 19:08
https://docs.python.org/3/reference/import.html#module-path says that "regardless of its value", __path__'s mere existence is key. But then later the docs say "__path__ must be an iterable of strings, but it may be empty". Technically the latter is more accurate, so the docs should get touched up to match itself better.
History
Date User Action Args
2022-04-11 14:58:59 admin set github: 77457
2018-04-20 23:35:47 miss-islington set pull_requests: + <pull%5Frequest6253>
2018-04-20 23:35:37 miss-islington set pull_requests: + <pull%5Frequest6252>
2018-04-20 23:33:43 brett.cannon set status: open -> closedresolution: fixedstage: patch review -> resolved
2018-04-20 21:11:25 brett.cannon set keywords: + patchstage: needs patch -> patch reviewpull_requests: + <pull%5Frequest6250>
2018-04-13 19:08:16 brett.cannon create