On Fri, Jan 19, 2001 at 05:06:03PM -0500, Guido van Rossum wrote: > So instead I added 5 lines to site.py, which tests for > os.name=='posix', then for sys.path[-1] ending in '/Modules' -- this > tests only succeeds when running from the build directory. Then it > calls distutils.util.get_platform() and uses the result to calculate > the correct directory name, which is then appended to sys.path. > Yes, this slows down startup (it imports a large portion of the > distutils package), but I don't care -- after all this is mostly for > me so I can play with the interpreter right after I've built it, > right? Right. The only downside (as far as I can tell) is that 'python -S' no longer works, in the build tree. I don't think that's that big a deal, but it should be documented somewhere, so we don't end up being boggled by it once we forget about it :) -- Thomas Wouters <thomas@xs4all.net> Hi! I'm a .signature virus! copy me into your .signature file to help me spread!
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