Paul Moore added the comment: > 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). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28686> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com