Nick Coghlan <ncogh...@gmail.com> added the comment:

Does "compileall" generate both .pyc and .pyo by default? Or do you have to run 
it twice? If the latter, does pysetup handle that for you?

MvL is correct that zipimport should ignore .pyo files when __debug__ is set 
and vice-versa, but the precompilation tools should also take care of 
generating both versions by default.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue1346572>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to