homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: __path__ attribute of modules loaded by zipimporter is untested
Type: enhancement Stage: resolved
Components: Tests Versions: Python 3.3
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: eric.snow, exarkun, ncoghlan, python-dev, r.david.murray, tati_alchueyr
Priority: normal Keywords: easy, patch

Created on 2010年06月08日 16:15 by exarkun, last changed 2022年04月11日 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
issue8942_test_for_zipimporter.patch tati_alchueyr, 2012年03月12日 18:05 Improved test so the __path__ of a package loaded from a zip file, using zipimporter, is checked. review
Messages (5)
msg107327 - (view) Author: Jean-Paul Calderone (exarkun) * (Python committer) Date: 2010年06月08日 16:15
Packages loaded from zip files have a __path__ sort of like any other package. The zipimport tests don't verify that this attribute has the correct value, though.
msg155453 - (view) Author: Tatiana Al-Chueyr (tati_alchueyr) * Date: 2012年03月12日 16:50
I'm working on it
msg155458 - (view) Author: Tatiana Al-Chueyr (tati_alchueyr) * Date: 2012年03月12日 18:05
Improved test so the __path__ of a package loaded from a zip file, using zipimporter, is checked.
msg155551 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2012年03月13日 01:17
New changeset 7e576ad85663 by R David Murray in branch 'default':
#8942: add test for __path__ contents in zipimport tests
http://hg.python.org/cpython/rev/7e576ad85663 
msg155552 - (view) Author: R. David Murray (r.david.murray) * (Python committer) Date: 2012年03月13日 01:20
I committed Tatiana's patch because it looks reasonable to me, but I'm not familiar enough with zipimport to know if additional tests are needed. If you think there are additional tests that should be added, please reopen the issue.
History
Date User Action Args
2022年04月11日 14:57:02adminsetgithub: 53188
2012年03月13日 01:20:24r.david.murraysetstatus: open -> closed

type: enhancement
versions: - Python 2.7, Python 3.2
nosy: + r.david.murray

messages: + msg155552
resolution: fixed
stage: needs patch -> resolved
2012年03月13日 01:17:14python-devsetnosy: + python-dev
messages: + msg155551
2012年03月12日 18:05:19tati_alchueyrsetfiles: + issue8942_test_for_zipimporter.patch
keywords: + patch
messages: + msg155458
2012年03月12日 16:50:33tati_alchueyrsetnosy: + tati_alchueyr
messages: + msg155453
2012年02月21日 18:01:39brett.cannonsetnosy: - brett.cannon
2012年02月21日 04:08:33eric.araujosetkeywords: + easy
nosy: + brett.cannon, ncoghlan, eric.snow
stage: needs patch

versions: + Python 2.7, Python 3.2, Python 3.3
2010年06月08日 16:15:30exarkuncreate

AltStyle によって変換されたページ (->オリジナル) /