New submission from Brett Cannon:

Looks like Georg added the flag in 2010 after Python 2.7 was already out, so 
this doesn't need to be backported.

The possible values are:

-1 : optimization level the interpreter is already executing with
0 : no optimization
1 : -O
2 : -OO

assignee: docs@python
components: Documentation
messages: 175757
nosy: brett.cannon, docs@python
priority: normal
severity: normal
stage: needs patch
status: open
title: Document the 'optimize' argument to compile()
versions: Python 3.3, Python 3.4

Python tracker <>
Python-bugs-list mailing list

Reply via email to