We actually have a proposal on import-sig to allow module specific
import path manipulation (including the ability to say "don't import
this module from this directory, even though it looks like it is
here"). I'd favour that mechanism over a new "not importable" file
extension.

If that doesn't make it into 3.4, the proposed zipapp extensions would
also serve a similar purpose, with some straightforward sys.path
manipulation in __main__.py (as PJE pointed out).

Regards,
Nick.

P.S. Has anyone heard from Daniel lately, or know if he's away? I
pinged him about getting the zipapp utility module PEP moving again a
couple of weeks ago and haven't heard anything back.
_______________________________________________
Distutils-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to