Guido van Rossum wrote:
Writing stuff back to .zip files is totally the wrong approach.
I don't care about having .so files inside packages *in zipfiles*.
I'm not sure I care about having .so files inside packages on the filesystem; they are useful in Zope, but for very hackish reasons.
If the zip file has the .py file but no .pyc or the wrong .pyc, tant pis. Let it be slower. (But if it has the .pyo, use that.)
Let me look at coding the above. It seems like a good approach. I will update the PEP too.