James C. Ahlstrom wrote: > 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. True. I wasn't sure if there was consensus about the neccessity of this. > I am not sure whether this was deliberate. I'm not against this at all, I've just been ignoring the issue ;-) > 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. It might belong there, but I don't see an immediate reason why a default zip entry on sys.path demands this reorganization as well. > You may want to use my patches for this even if you use your own > import.c instead of mine. I'll go read them more closely, thanks. Just
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