Sviatoslav Abakumov <dust.harvest...@gmail.com> added the comment: Looks like PYTHONOPTIMIZE has no effect either:
$ python -V Python 3.7.0a2 $ env PYTHONOPTIMIZE=1 python -c 'import sys; print(sys.flags.optimize)' 0 ---------- title: Envvar PYTHONDONTWRITEBYTECODE is not respected -> PYTHONDONTWRITEBYTECODE and PYTHONOPTIMIZE have no effect _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue31845> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com