[issue34247] PYTHONOPTIMZE ignored in 3.7.0 when using custom launcher

Ronald Oussoren report at bugs.python.org
Fri Jul 27 08:07:30 EDT 2018


New submission from Ronald Oussoren <ronaldoussoren at mac.com>:

Attached is a very basic launcher for python scripts. This script works as expected in Python 3.6, but not in 3.7.0.

In particular, the launcher sets the environment variable PYTHONOPTIMIZE before calling Py_Initialize and that setting is ignored.

I haven't tried testing with the tip of the tree yet.

----------
components: Interpreter Core
keywords: 3.7regression
messages: 322487
nosy: ronaldoussoren
priority: normal
severity: normal
status: open
title: PYTHONOPTIMZE ignored in 3.7.0 when using custom launcher
type: behavior
versions: Python 3.7

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


More information about the Python-bugs-list mailing list