Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

__all__ as determiner of a module's api #37388

Closed
pobrien mannequin opened this issue Oct 30, 2002 · 2 comments
Closed

__all__ as determiner of a module's api #37388

pobrien mannequin opened this issue Oct 30, 2002 · 2 comments
Assignees
Labels
docs Documentation in the Doc dir

Comments

@pobrien
Copy link
Mannequin

pobrien mannequin commented Oct 30, 2002

BPO 631055
Nosy @rhettinger

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = 'https://github.com/rhettinger'
closed_at = <Date 2003-01-06.12:57:42.000>
created_at = <Date 2002-10-30.14:20:34.000>
labels = ['docs']
title = "__all__ as determiner of a module's api"
updated_at = <Date 2003-01-06.12:57:42.000>
user = 'https://bugs.python.org/pobrien'

bugs.python.org fields:

activity = <Date 2003-01-06.12:57:42.000>
actor = 'rhettinger'
assignee = 'rhettinger'
closed = True
closed_date = None
closer = None
components = ['Documentation']
creation = <Date 2002-10-30.14:20:34.000>
creator = 'pobrien'
dependencies = []
files = []
hgrepos = []
issue_num = 631055
keywords = []
message_count = 2.0
messages = ['13003', '13004']
nosy_count = 2.0
nosy_names = ['rhettinger', 'pobrien']
pr_nums = []
priority = 'normal'
resolution = 'fixed'
stage = None
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue631055'
versions = []

@pobrien
Copy link
Mannequin Author

pobrien mannequin commented Oct 30, 2002

__all__ as a determiner of a module's api needs to be
more fully documented. The only references I found were
at http://www.python.org/doc/current/ref/import.html and
http://www.python.org/doc/essays/packages.html. I also
think the various uses of __all__ might be worthy of a
small PEP, since I can't find any supporting
documentation for the use of __all__ as anything more
than controlling import *, which to me is not exactly the
same thing as defining the public api for a module. It
could be, and if it is meant to be then tools, such as
IDLE, Boa, PythonWin and PyCrust should take __all__
into account when displaying autocompletion lists for
modules.

@pobrien pobrien mannequin closed this as completed Oct 30, 2002
@pobrien pobrien mannequin assigned rhettinger Oct 30, 2002
@pobrien pobrien mannequin added the docs Documentation in the Doc dir label Oct 30, 2002
@pobrien pobrien mannequin closed this as completed Oct 30, 2002
@pobrien pobrien mannequin assigned rhettinger Oct 30, 2002
@pobrien pobrien mannequin added the docs Documentation in the Doc dir label Oct 30, 2002
@rhettinger
Copy link
Contributor

Logged In: YES
user_id=80475

Fixed.
See Doc/ref/ref6.tex 1.59

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir
Projects
None yet
Development

No branches or pull requests

1 participant