Message159211
| Author |
pitrou |
| Recipients |
Arfrever, brett.cannon, eric.smith, eric.snow, lemburg, ncoghlan, pitrou |
| Date |
2012年04月24日.21:15:28 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1335302044.3436.19.camel@localhost.localdomain> |
| In-reply-to |
<1335301995.55.0.753268342375.issue14657@psf.upfronthosting.co.za> |
| Content |
> 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. |
|