Issue 15294: regression with nested namespace packages (original ) (raw ) This issue has been migrated to GitHub: https://github.com/python/cpython/issues/59499
classification
process
Created on 2012-07-08 13:16 by pitrou , last changed 2022-04-11 14:57 by admin . This issue is now closed .
Messages (5)
msg165014 - (view)
Author: Antoine Pitrou (pitrou) *
Date: 2012-07-08 13:16
Legacy namespace packages (handled with pkgutil) do not work anymore when they are nested. The attached test file passes under 3.2 but fails under 3.3.
msg165037 - (view)
Author: Antoine Pitrou (pitrou) *
Date: 2012-07-08 21:41
Here is a patch.
msg165042 - (view)
Author: Eric V. Smith (eric.smith) *
Date: 2012-07-08 22:51
The patch looks good to me. I haven't run the tests, though.
msg165113 - (view)
Author: Roundup Robot (python-dev)
Date: 2012-07-09 19:27
New changeset a7b8c3323db9 by Antoine Pitrou in branch 'default': Issue #15294 : Fix a regression in pkgutil.extend_path()'s handling of nested namespace packages. http://hg.python.org/cpython/rev/a7b8c3323db9
msg165114 - (view)
Author: Antoine Pitrou (pitrou) *
Date: 2012-07-09 19:28
Committed! I also backported the test to 3.2.
History
Date
User
Action
Args
2022-04-11 14:57:32
admin
set
github: 59499
2012-07-09 19:28:20
pitrou
set
status: open -> closedresolution: fixedmessages: + stage: resolved
2012-07-09 19:27:36
python-dev
set
nosy: + python-dev messages: +
2012-07-08 22:51:10
eric.smith
set
messages: +
2012-07-08 21:51:10
Arfrever
set
nosy: + Arfrever
2012-07-08 21:45:08
pitrou
set
files: - nestednspkg.patch
2012-07-08 21:45:02
pitrou
set
files: + nestednspkg.patch
2012-07-08 21:41:14
pitrou
set
files: + nestednspkg.patch keywords: + patch messages: +
2012-07-08 17🔞56
eric.smith
set
nosy: + eric.smith
2012-07-08 13:16:05
pitrou
create