mod_python: reimplement snippets