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 paul.moore
Recipients Steve Barnes, eryksun, paul.moore, ricpol, steve.dower, tim.golden, vinay.sajip, wdhwg001, zach.ware
Date 2017-05-14.17:06:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1494781562.7.0.129174032746.issue28686@psf.upfronthosting.co.za>
In-reply-to
Content
> Since we don't AFAIK have any possibility of mixed virtual environments ignoring SheBangs should meet the basic requirements of operating inside of a venv.

If you want a script to use the current environment, then #!/usr/bin/env python does that. There's no need for special-casing a virtual environment.

In addition, the current behaviour mirrors the Unix behaviour, which is intentional (and beneficial).
History
Date User Action Args
2017-05-14 17:06:02paul.mooresetrecipients: + paul.moore, vinay.sajip, tim.golden, zach.ware, eryksun, steve.dower, wdhwg001, ricpol, Steve Barnes
2017-05-14 17:06:02paul.mooresetmessageid: <1494781562.7.0.129174032746.issue28686@psf.upfronthosting.co.za>
2017-05-14 17:06:02paul.moorelinkissue28686 messages
2017-05-14 17:06:02paul.moorecreate