Skip to content

Conversation

@frenzymadness
Copy link
Contributor

@frenzymadness frenzymadness commented May 18, 2020

Functions compile_dir and compile_file accept also a sequence of optimization levels to compile for.

Cc: @vstinner

https://bugs.python.org/issue38112

@bedevere-bot bedevere-bot added docs Documentation in the Doc dir awaiting review labels May 18, 2020
@vstinner vstinner changed the title Document that compile_[dir,file] also accept multiple opt levels bpo-38112: Document that compileall.compile_[dir,file] also accept multiple opt levels May 18, 2020
@vstinner vstinner merged commit adc72bb into python:master May 18, 2020
@vstinner
Copy link
Member

vstinner commented May 18, 2020

Thanks @frenzymadness, merged! I linked your commit to bpo-38112 which added the feature.

arturoescaip pushed a commit to arturoescaip/cpython that referenced this pull request May 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants