Movatterモバイル変換


[0]ホーム

URL:


homepage

Issue18554

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:os.__all__ is incomplete
Type:behaviorStage:commit review
Components:Library (Lib)Versions:Python 3.4, Python 3.5, Python 2.7
process
Status:closedResolution:fixed
Dependencies:Superseder:
Assigned To: ronaldoussorenNosy List: martin.panter, python-dev, ronaldoussoren, serhiy.storchaka, yselivanov
Priority:normalKeywords:needs review, patch

Created on2013-07-25 13:44 byronaldoussoren, last changed2022-04-11 14:57 byadmin. This issue is nowclosed.

Files
File nameUploadedDescriptionEdit
incomplete-os-all.txtronaldoussoren,2013-07-25 13:44review
Messages (6)
msg193696 -(view)Author: Ronald Oussoren (ronaldoussoren)*(Python committer)Date: 2013-07-25 13:44
On Unix the __all__ of the os module doesn't list the names imported from the posix module. The attached patch ensures that exports from the posix module are added to __all__, just like they are for NT and for Python 2.7.
msg209846 -(view)Author: Yury Selivanov (yselivanov)*(Python committer)Date: 2014-01-31 23:46
bump?
msg225512 -(view)Author: Martin Panter (martin.panter)*(Python committer)Date: 2014-08-19 01:06
I ran into this today, trying to do “help(os)”. The workaround was to do “import posix; help(posix)”.
msg225751 -(view)Author: Serhiy Storchaka (serhiy.storchaka)*(Python committer)Date: 2014-08-23 16:34
LGTM. Please commit.
msg227631 -(view)Author: Roundup Robot (python-dev)(Python triager)Date: 2014-09-26 16:33
New changeset7230978647a8 by Yury Selivanov in branch 'default':os: Include posix functions in os.__all__. Closes issue#18554.https://hg.python.org/cpython/rev/7230978647a8
msg227632 -(view)Author: Yury Selivanov (yselivanov)*(Python committer)Date: 2014-09-26 16:34
Thanks for the patch.I've committed this to 3.5 only, as there is a slight chance that it breaks backwards compatibility for some scripts.
History
DateUserActionArgs
2022-04-11 14:57:48adminsetgithub: 62754
2014-09-26 16:34:24yselivanovsetstatus: open -> closed
resolution: fixed
messages: +msg227632
2014-09-26 16:33:17python-devsetnosy: +python-dev
messages: +msg227631
2014-08-23 16:34:07serhiy.storchakasetversions: + Python 2.7, Python 3.5, - Python 3.3
nosy: +serhiy.storchaka

messages: +msg225751

assignee:ronaldoussoren
stage: patch review -> commit review
2014-08-19 01:06:51martin.pantersetnosy: +martin.panter
messages: +msg225512
2014-01-31 23:46:10yselivanovsetnosy: +yselivanov
messages: +msg209846
2013-07-25 13:44:58ronaldoussorencreate
Supported byThe Python Software Foundation,
Powered byRoundup
Copyright © 1990-2022,Python Software Foundation
Legal Statements

[8]ページ先頭

©2009-2026 Movatter.jp