[New-bugs-announce] [issue2556] changing sys.dont_write_bytecode has not effect

Benjamin Peterson report at bugs.python.org
Sat Apr 5 16:43:09 CEST 2008

New submission from Benjamin Peterson <musiccomposition at gmail.com>:

According to the 2.6 docs, says you can set it yourself to control
bytecode generation. That doesn't work because the dont_write_bytecode
flag is set from command option and never looked at again. Either we
should remove this misleading information or use PySys_GetObject in
pythonrun.c where the flag is used.

assignee: georg.brandl
components: Documentation, Interpreter Core
messages: 64976
nosy: benjamin.peterson, georg.brandl
priority: high
severity: normal
status: open
title: changing sys.dont_write_bytecode has not effect
versions: Python 2.6

Tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list