[Python-Dev] PEP 382: Namespace Packages (original) (raw)
glyph at divmod.com glyph at divmod.com
Fri Apr 3 23:16:49 CEST 2009
- Previous message: [Python-Dev] PEP 382: Namespace Packages
- Next message: [Python-Dev] PEP 382: Namespace Packages
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 08:15 pm, martin at v.loewis.de wrote:
Note that there is no such thing as a "defining namespace package" -- namespace package contents are symmetrical peers. With the PEP, a "defining package" becomes possible - at most one portion can define an init.py.
For what it's worth, this is a super useful feature for Twisted. We have one "defining package" for the "twisted" package (twisted core) and then a bunch of other things which want to put things into twisted.* (twisted.web, twisted.conch, et. al.).
For debian we already have separate packages, but such a definition of namespace packages would allow us to actually have things separated out on the cheeseshop as well.
- Previous message: [Python-Dev] PEP 382: Namespace Packages
- Next message: [Python-Dev] PEP 382: Namespace Packages
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]