bpo-32043: Rephrase -X dev documentation by vstinner · Pull Request #4478 · python/cpython (original) (raw)

It's a deliberate choice to not inherit the "developer mode" to child processes. If someone would like an inherited mode, I would prefer to add a new PYTHONDEVMODE=1 environment variable, since it's more natural to inherit environment modes.

It's the same for -W ignore vs PYTHONWARNINGS=ignore.