[docs] [issue12982] Document that importing .pyo files needs python -O

Michael Herrmann report at bugs.python.org
Tue Jun 12 15:25:50 CEST 2012


Michael Herrmann <mherrmann.at at gmail.com> added the comment:

Hi Eric,

thank you for your quick reply. I'm not the first one who encounters this problem and in my opinion it is simply counter-intuitive that you cannot read a mixture of .pyo and .pyc files. That is why I think that my proposed change is valuable. In the meantime, I will follow your suggestion and try to use the imp-module to load the .pyo-files myself. Thank you!

Best regards,
Michael

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12982>
_______________________________________


More information about the docs mailing list