[docs] [issue12982] .pyo file cannot be imported

Terry J. Reedy report at bugs.python.org
Fri Sep 16 21:21:20 CEST 2011

Terry J. Reedy <tjreedy at udel.edu> added the comment:

Eric, you can initially give a doc patch as text in a message, though an actual diff in nicer and may get action sooner. I agree that something could be added. Perhaps the quote "It is possible...." should be followed with something like "However, one must use the python -O option to search for and import .pyo files, as well as for creating them. An alternative is to rename them to .pyc." Or make whatever suggestion you think is better.

Also, please test with 3.2 if you possible can.

assignee:  -> docs at python
components: +Documentation -Interpreter Core
nosy: +docs at python, terry.reedy
type: compile error -> behavior

Python tracker <report at bugs.python.org>

More information about the docs mailing list