Just van Rossum wrote: > After incorporating some suggestions and fixes from Paul Moore and Neal Norwitz > and doing more testing myself, I've decided the importhook/zipimport patch is > mature enough to post a proper patch: In PEP 273 under "Booting" the directory /usr/local/lib/python23.zip (for Unix) or python23.zip in the directory of python23.dll (for Windows) was added to sys.path so that the Python standard library could be loaded from a zip archive. This is missing in your patch. I am not sure whether this was deliberate. But if you want to add it, it requires patches to site.py, getpath.c, getpathp.c, pythonrun.c, main.c and sysmodule.c. This moves changes to sys.path out of sysmodule.c and into getpath[p].c where they belong. You may want to use my patches for this even if you use your own import.c instead of mine. JimA
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