[issue9583] PYTHONOPTIMIZE = 0 is not honored
Buck Golemon
report at bugs.python.org
Fri Aug 13 00:54:30 CEST 2010
New submission from Buck Golemon <buck.golemon at amd.com>:
In our environment, we have a wrapper which enables optimization by default (-OO). Most commandline tools which have a mode-changing flag such as this, also have a flag to do the opposite ( see: ls -t -U, wget -nv -v, ).
I'd like to implement one or both of:
1) Add a -D option which is the opposite of -O. python -OO -D gives an optimization level of 1.
2) Honor PYTHONOPTIMIZE = 0. At the least, the man page needs to describe how these two methods interact.
----------
components: Interpreter Core
messages: 113717
nosy: bukzor
priority: normal
severity: normal
status: open
title: PYTHONOPTIMIZE = 0 is not honored
type: behavior
versions: Python 2.6
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9583>
_______________________________________
More information about the Python-bugs-list
mailing list