Message159209
| Author | brett.cannon |
|---|---|
| Recipients | Arfrever, brett.cannon, eric.smith, eric.snow, lemburg, ncoghlan, pitrou |
| Date | 2012-04-24.21:13:14 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1335301995.55.0.753268342375.issue14657@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
Modules/getpath.c seems to be where the C code does it when getting paths for sys.path. So it would be possible to use that same algorithm to set some sys attribute (e.g. in_checkout or something) much like sys.gettotalrefcount is optional and only shown when built with --with-pydebug. 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). |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2012-04-24 21:13:15 | brett.cannon | set | recipients: + brett.cannon, lemburg, ncoghlan, pitrou, eric.smith, Arfrever, eric.snow |
| 2012-04-24 21:13:15 | brett.cannon | set | messageid: <1335301995.55.0.753268342375.issue14657@psf.upfronthosting.co.za> |
| 2012-04-24 21:13:14 | brett.cannon | link | issue14657 messages |
| 2012-04-24 21:13:14 | brett.cannon | create | |