[issue31845] Envvar PYTHONDONTWRITEBYTECODE is not respected

2017-10-23 Thread Sviatoslav Abakumov

New submission from Sviatoslav Abakumov :

Setting PYTHONDONTWRITEBYTECODE doesn't seem to have an effect in Python 
3.7.0a2:

$ python -V
Python 3.7.0a2
$ env PYTHONDONTWRITEBYTECODE=1 python -c 'import sys; 
print(sys.dont_write_bytecode)'
False

--
components: Interpreter Core
messages: 304794
nosy: Perlence
priority: normal
severity: normal
status: open
title: Envvar PYTHONDONTWRITEBYTECODE is not respected
versions: Python 3.7

___
Python tracker 
<https://bugs.python.org/issue31845>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31845] PYTHONDONTWRITEBYTECODE and PYTHONOPTIMIZE have no effect

2017-10-23 Thread Sviatoslav Abakumov

Sviatoslav Abakumov  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 
<https://bugs.python.org/issue31845>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31845] PYTHONDONTWRITEBYTECODE and PYTHONOPTIMIZE have no effect

2017-10-23 Thread Sviatoslav Abakumov

Sviatoslav Abakumov  added the comment:

It seems 1abcf67[1] is the first bad commit.

[1]https://github.com/python/cpython/commit/1abcf6700b4da6207fe859de40c6c1bada6b4fec

--

___
Python tracker 
<https://bugs.python.org/issue31845>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com