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

Terry J. Reedy report at bugs.python.org
Tue Jun 12 20:21:15 CEST 2012


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

Michael, you should ask the closed source library distributor to distribute all files as .pyc so you have access to docstrings while programming and to avoid the problem with reading them. He could also distribute an all-.pyo version. A mixture seems accidental.

Is the import restriction currently intended? If a change *is* made, should it be regarded as an enhancement rather than a bug fix? I asked both question on pydev for more input.

----------

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


More information about the docs mailing list