Message404257
Is gh-28940 only for UNIX?
I built on Windows with default options (PCbuild\build.bat) and it looks like the frozen modules are used by default even though I am running in the source directory. (I put a printf() call in unmarshal_frozen_code().)
I also put a printf() in is_dev_env() and found that it returns 0 on this check:
/* If dirname() is the same for both then it is a dev build. */
if (len != _Py_find_basename(stdlib)) {
return 0;
}
I assume that's because the binary (in my case at least) is at PCbuild\amd64\python.exe which is not the same as my current directory (which is the repo root). |
|
Date |
User |
Action |
Args |
2021-10-19 01:14:31 | gvanrossum | set | recipients:
+ gvanrossum, lemburg, barry, brett.cannon, nascheme, rhettinger, terry.reedy, gregory.p.smith, ronaldoussoren, ncoghlan, vstinner, larry, methane, Mark.Shannon, eric.snow, indygreg, lys.nikolaou, pablogsal, miss-islington, brandtbucher, BTaskaya, shihai1991, santhu_reddy12 |
2021-10-19 01:14:31 | gvanrossum | set | messageid: <1634606071.09.0.130198862188.issue45020@roundup.psfhosted.org> |
2021-10-19 01:14:31 | gvanrossum | link | issue45020 messages |
2021-10-19 01:14:30 | gvanrossum | create | |
|