Message159211
> Otherwise some directory structure check could be done (e.g. find
> importlib/_bootstrap.py off of sys.path, and then see
> if ../Modules/Setup or something also exists that would never show up
> in an installed CPython).
Well, the directory structure check *is* pybuilddir.txt (under POSIX,
again; under Windows, you might want to check for Lib/importlib
directly).
But, agreed, this could be factored in a sys._private_something
attribute. |
|
Date |
User |
Action |
Args |
2012-04-24 21:15:29 | pitrou | set | recipients:
+ pitrou, lemburg, brett.cannon, ncoghlan, eric.smith, Arfrever, eric.snow |
2012-04-24 21:15:28 | pitrou | link | issue14657 messages |
2012-04-24 21:15:28 | pitrou | create | |
|