Marc-Andre, In this thread you have posted: > python.py: > __path__ = ['.'] and > def _redirect(mx_subpackage): > global __path__ > import os,mx > __path__ = \ > [os.path.join(mx.__path__[0],mx_subpackage)] and > testmodload.py: > import sys, os > sys.modules['testmodload'] = os None of these will freeze successfully. Two of them appear to rely on an implementation detail - that __path__ (only defined for imp.PKG_DIRECTORY's) will be followed even in a plain module. The third is exactly what _xmlplus does, and consensus appears to be that that was a mistake. "Clever" does not mean "good". -- Gordon http://www.mcmillan-inc.com/
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4