Anthony Sottile <asott...@umich.edu> added the comment:
If I'm reading this correctly this is the relevant line for python3: https://github.com/python/cpython/blob/29cb21ddb92413931e473eb799a02e2d8cdf4a45/PC/getpathp.c#L1068 it was added in 4d0d471a8031de90a2b1ce99c4ac4780e60b3bc9 python2 seems to do the same as well and I'm having a harder time tracing that code -- my guess is it comes from here: https://github.com/python/cpython/blob/103b8d9f9179089019ddb363ec0098b63816001b/PC/getpathp.c#L550 (so in that case, only present because `python.exe` is at the root of the prefix) -- but it's still showing up in the `virtualenv` case due to site manipulation (coming from `virtualenv`'s `site.py` I believe? trying to mimic that behaviour) Hmmm not much information there but I have to get back to what I was doing before -- I'll see if I can't find more info on this later! ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue37089> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com