![](https://secure.gravatar.com/avatar/fa0f7819f1825f596b384c19aa7dcf33.jpg?s=120&d=mm&r=g)
June 8, 2020
5:13 p.m.
STINNER Victor <vstinner@python.org> added the comment: See also bpo-14208 "No way to recover original argv with python -m". For the specific case of `python -m`, the original argument has been available as `__main__.__spec__.name` since Python 3.4. ---------- _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue23427> _______________________________________