This is an archive of the discontinued Mercurial Phabricator instance.

pycompat: make fewer assumptions about sys.executable
ClosedPublic

Authored by rdamazio on Jun 25 2019, 10:37 PM.

Details

Summary

There are many Python "bundlers" which create an archive to run a Python binary
from, and they may not set sys.executable at all - handle that case properly,
especially to run tests.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

rdamazio created this revision.Jun 25 2019, 10:37 PM
rdamazio updated this revision to Diff 15663.Jun 25 2019, 11:05 PM
pulkit accepted this revision.Jun 27 2019, 11:41 AM
This revision is now accepted and ready to land.Jun 27 2019, 11:41 AM
This revision was automatically updated to reflect the committed changes.