[Import-SIG] Do we really need to read .pth files in PEP 382?
Barry Warsaw
barry at python.org
Fri Jun 24 23:18:26 CEST 2011
On Jun 24, 2011, at 05:15 PM, P.J. Eby wrote:
>I'm fine with another name. (namespace_subpath(), perhaps?)
Done! Bikeshed painted! :)
>I've coded up a sketch of a 2.x implementation (enabled via "from pep382
>import meta_importer; meta_importer.install()") using that basic API
>approach, and it's pretty clean.
I would love to be able to back port this to Python 3.2. Supporting clean
namespace packages in Python 2.{6,7} would be double win.
Do you want to push the code to Cheeseshop, or make a branch available
somewhere?
>(I don't think manipulating the __path__ directly would add anything, though,
>because it would only ever contain *previous* entries, not the entire
>__path__.)
Sounds good to me.
-Barry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/import-sig/attachments/20110624/6c7e0afa/attachment.pgp>
More information about the Import-SIG
mailing list