This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Stephen Moore
Recipients Stephen Moore, barry, ned.deily, r.david.murray, ronaldoussoren, vinay.sajip
Date 2017-10-02.23:23:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1506986636.86.0.213398074469.issue31660@psf.upfronthosting.co.za>
In-reply-to
Content
I just realised python3 sets it's own __PYVENV_LAUNCHER__ and if you unset it before calling to os.execv, then the virtualenv has the correct sys.executable.
History
Date User Action Args
2017-10-02 23:23:56Stephen Mooresetrecipients: + Stephen Moore, barry, vinay.sajip, ronaldoussoren, ned.deily, r.david.murray
2017-10-02 23:23:56Stephen Mooresetmessageid: <1506986636.86.0.213398074469.issue31660@psf.upfronthosting.co.za>
2017-10-02 23:23:56Stephen Moorelinkissue31660 messages
2017-10-02 23:23:56Stephen Moorecreate