-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Lennart Regebro wrote: > 2009/10/14 P.J. Eby <[email protected]>: >> You can use as many namespace package mechanisms as you want, >> simultaneously, as long as they're not all being used for the same namespace >> package. > > But the same namespace works. I couldn't believe kiorky's claim that > it wouldn't work, and I have now tested, and it works just fine. I had > one packages nstest.sub, using setuptools and one nstest.sob use > pkutils, and in each of them I had a method that would import the > other module. It works just fine.
Right, its just a race: whichever project gets its version of the namespace package imported "first" wins, sets the __path__, and everything works. No consolation prizes for the others, because they *never get imported* (their __init__.py is never even considered). Tres. - -- =================================================================== Tres Seaver +1 540-429-0999 [email protected] Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkrWTGkACgkQ+gerLs4ltQ5YTwCePlqxXOdhviexEeLZU8HSVQ1x lbIAnRFq4DhbNsTLUdcIY2uIlcX0UliM =wkCg -----END PGP SIGNATURE----- _______________________________________________ Distutils-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/distutils-sig
