[docs] [issue36196] sys.executable does not return python3 executable when using uwsgi

Joris VAN HOUTVEN report at bugs.python.org
Tue Mar 5 09:31:26 EST 2019


New submission from Joris VAN HOUTVEN <joris.vanhoutven at uhasselt.be>:

when serving a Flask app with uwsgi, using
`sys.executable`
will provide you the path to your uwsgi executable, not your python executable.
However, the docs specify that it should always return the python interpreter: https://docs.python.org/3/library/sys.html#sys.executable

----------
assignee: docs at python
components: Documentation
messages: 337190
nosy: Joris VAN HOUTVEN, docs at python
priority: normal
severity: normal
status: open
title: sys.executable does not return python3 executable when using uwsgi
type: behavior

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36196>
_______________________________________


More information about the docs mailing list