Author vstinner
Recipients FFY00, brett.cannon, christian.heimes, frenzy, hroncok, vstinner
Date 2020-05-11.15:13:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1589210003.14.0.554481606227.issue40495@roundup.psfhosted.org>
In-reply-to
Content
While reviewing PR 19901, I was confused by py_compile and compileall documentation which is outdated: it doesn't mention that optimize argument can be a list of integers.

https://docs.python.org/dev/library/py_compile.html#py_compile.compile
"optimize controls the optimization level and is passed to the built-in compile() function. The default of -1 selects the optimization level of the current interpreter."

https://docs.python.org/dev/library/compileall.html#compileall.compile_dir
"optimize specifies the optimization level for the compiler. It is passed to the built-in compile() function."
History
Date User Action Args
2020-05-11 15:13:23vstinnersetrecipients: + vstinner, brett.cannon, christian.heimes, hroncok, frenzy, FFY00
2020-05-11 15:13:23vstinnersetmessageid: <1589210003.14.0.554481606227.issue40495@roundup.psfhosted.org>
2020-05-11 15:13:23vstinnerlinkissue40495 messages
2020-05-11 15:13:23vstinnercreate