Steve Dower <steve.do...@python.org> added the comment: The more details you reveal, the less I want it to be an officially supported pattern :)
Perhaps you actually want an import hook? Brett can confirm, but I believe you can overwrite __loader__ in a package and change how submodules are loaded. ---------- nosy: +brett.cannon _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32516> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com