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

zipimport.zipimporter.archive undocumented and untested #45666

Closed
exarkun mannequin opened this issue Oct 25, 2007 · 3 comments
Closed

zipimport.zipimporter.archive undocumented and untested #45666

exarkun mannequin opened this issue Oct 25, 2007 · 3 comments
Labels
docs Documentation in the Doc dir stdlib Python modules in the Lib dir type-feature A feature request or enhancement

Comments

@exarkun
Copy link
Mannequin

exarkun mannequin commented Oct 25, 2007

BPO 1325
Nosy @gvanrossum, @birkenfeld

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 = None
closed_at = <Date 2008-01-06.16:49:59.186>
created_at = <Date 2007-10-25.13:01:36.859>
labels = ['type-feature', 'library', 'docs']
title = 'zipimport.zipimporter.archive undocumented and untested'
updated_at = <Date 2008-01-06.16:49:59.184>
user = 'https://bugs.python.org/exarkun'

bugs.python.org fields:

activity = <Date 2008-01-06.16:49:59.184>
actor = 'georg.brandl'
assignee = 'none'
closed = True
closed_date = <Date 2008-01-06.16:49:59.186>
closer = 'georg.brandl'
components = ['Documentation', 'Library (Lib)']
creation = <Date 2007-10-25.13:01:36.859>
creator = 'exarkun'
dependencies = []
files = []
hgrepos = []
issue_num = 1325
keywords = []
message_count = 3.0
messages = ['56741', '56799', '59398']
nosy_count = 4.0
nosy_names = ['gvanrossum', 'georg.brandl', 'exarkun', 'fijal']
pr_nums = []
priority = 'normal'
resolution = 'fixed'
stage = None
status = 'closed'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue1325'
versions = []

@exarkun
Copy link
Mannequin Author

exarkun mannequin commented Oct 25, 2007

zipimporter instances have a read-only "archive" attribute, but there is
no documentation referring to it, nor any test coverage for its existence.

It's quite useful to know what a zipimporter is pointed at (for
debugging and other introspection). It'd be nice to know that this is a
real feature and isn't going to disappear.

@exarkun exarkun mannequin added docs Documentation in the Doc dir stdlib Python modules in the Lib dir type-feature A feature request or enhancement labels Oct 25, 2007
@gvanrossum
Copy link
Member

If you submit a patch that adds docs and a unit test, your wish will be
fulfilled.

@birkenfeld
Copy link
Member

Added docs and tests in r59782.

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 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 stdlib Python modules in the Lib dir type-feature A feature request or enhancement
Projects
None yet
Development

No branches or pull requests

2 participants