Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Bugs
[issue14660] Implement PEP 420: Implicit Namespace Packages
 

Index | Next | Previous | View Flat


report at bugs

Apr 24, 2012, 4:08 AM


Views: 76
Permalink
[issue14660] Implement PEP 420: Implicit Namespace Packages

New submission from Eric V. Smith <eric [at] trueblade>:

I have created a branch features/pep-420 where I'll be developing a proof of concept implementation of PEP 420.

I've checked in a basic version, but it has these issues:

- We need to decide how finders communicate that they've found part of
a namespace package. Per Brett's suggestion, I'm currently returning a
string that means "the returned path is part of a namespace package".
I think that's an okay design.

- I guess we need to create a "namespace loader", so we can initialize __loader__. It's a little odd because it would be a loader for which there's no need for a find_module method. I'm currently setting __loader__ to the finder, which is completely wrong, but keeps things working.

- test_import and test_importlib both fail because they're checking
that imports with no __init__.py fail. Those tests need to be removed.

- There are no tests yet.

----------
assignee: eric.smith
messages: 159131
nosy: barry, brett.cannon, eric.smith, jason.coombs
priority: normal
severity: normal
status: open
title: Implement PEP 420: Implicit Namespace Packages
type: enhancement
versions: Python 3.3

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue14660>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com

Subject User Time
[issue14660] Implement PEP 420: Implicit Namespace Packages report at bugs Apr 24, 2012, 4:08 AM
    [issue14660] Implement PEP 420: Implicit Namespace Packages report at bugs Apr 24, 2012, 7:42 AM
    [issue14660] Implement PEP 420: Implicit Namespace Packages report at bugs Apr 24, 2012, 8:00 AM
    [issue14660] Implement PEP 420: Implicit Namespace Packages report at bugs Apr 24, 2012, 8:37 AM
    [issue14660] Implement PEP 420: Implicit Namespace Packages report at bugs Apr 24, 2012, 8:57 AM
    [issue14660] Implement PEP 420: Implicit Namespace Packages report at bugs Apr 24, 2012, 2:54 PM
    [issue14660] Implement PEP 420: Implicit Namespace Packages report at bugs Apr 25, 2012, 5:47 AM
    [issue14660] Implement PEP 420: Implicit Namespace Packages report at bugs Apr 25, 2012, 5:50 AM
    [issue14660] Implement PEP 420: Implicit Namespace Packages report at bugs Apr 25, 2012, 7:51 AM
    [issue14660] Implement PEP 420: Implicit Namespace Packages report at bugs Apr 25, 2012, 7:56 AM
    [issue14660] Implement PEP 420: Implicit Namespace Packages report at bugs Apr 25, 2012, 8:00 AM
    [issue14660] Implement PEP 420: Implicit Namespace Packages report at bugs Apr 25, 2012, 9:03 AM
    [issue14660] Implement PEP 420: Implicit Namespace Packages report at bugs Apr 30, 2012, 3:54 PM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.