Graham Dumpleton
grahamd at dscpl.com.au
Thu Jan 4 16:21:57 EST 2007
Martijn Moeling wrote .. > One other Interesting thing is that since I started to compile MP myself > (not using standard installed or RMP versions). The creation of .pyc > (and or .pyo) files stopped working. I have read some articles in the > mailinglist archives I found about that, but they seem to be protection > related, and I have not changed a bit other than an upgrade to Python > 2.5 and then an upgrade of MP to 3.3.0b, any suggestions? In mod_python 3.3, the new module importer does not use the standard Python module importer mechanisms for dealing with file based modules which are to be candidates for module reloading. As a consequence, you will no longer see .pyc or .pyo files. Such files were often a security hole anyway, as many didn't properly setup Apache so as to prevent users from downloading them. As a consequence, someone could decompile them and perhaps get sensitive information out of them. Graham
|