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.
History
Date User Action Args
2012-04-24 21:15:29pitrousetrecipients: + pitrou, lemburg, brett.cannon, ncoghlan, eric.smith, Arfrever, eric.snow
2012-04-24 21:15:28pitroulinkissue14657 messages
2012-04-24 21:15:28pitroucreate