I recently posted a question about the fcntl module, but even if I remove that import and the statement that relies on it, I still get an error.

I remember reading the examples in the MWS documentation and noticing that they use mod_python and there was a special structure.

Is this mod_python structure necessary or should I look elsewhere for my error?