Movatterモバイル変換


[0]ホーム

URL:


homepage

Issue33276

This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title:Clarify that __path__ can't be set to just anything
Type:Stage:resolved
Components:DocumentationVersions:Python 3.8, Python 3.7, Python 3.6
process
Status:closedResolution:fixed
Dependencies:Superseder:
Assigned To: brett.cannonNosy List: brett.cannon
Priority:normalKeywords:easy, patch

Created on2018-04-13 19:08 bybrett.cannon, last changed2022-04-11 14:58 byadmin. This issue is nowclosed.

Pull Requests
URLStatusLinkedEdit
PR 6554mergedbrett.cannon,2018-04-20 21:11
PR 6557mergedmiss-islington,2018-04-20 23:35
PR 6556mergedmiss-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
DateUserActionArgs
2022-04-11 14:58:59adminsetgithub: 77457
2018-04-20 23:35:47miss-islingtonsetpull_requests: +pull_request6253
2018-04-20 23:35:37miss-islingtonsetpull_requests: +pull_request6252
2018-04-20 23:33:43brett.cannonsetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2018-04-20 21:11:25brett.cannonsetkeywords: +patch
stage: needs patch -> patch review
pull_requests: +pull_request6250
2018-04-13 19:08:16brett.cannoncreate
Supported byThe Python Software Foundation,
Powered byRoundup
Copyright © 1990-2022,Python Software Foundation
Legal Statements

[8]ページ先頭

©2009-2026 Movatter.jp