OK, I'm +1 on the Won't fix status.I'm not proficient enough in the way unpickling works, but the fact that you cannot specify any namespace in which classes or functions names have to be resolved makes it quite clear that dynamic imports + unpickling functions and classes = not possible.
[ http://issues.apache.org/jira/browse/MODPYTHON-81?page=all ]
Graham Dumpleton resolved MODPYTHON-81:
---
Fix Version: (was: 3.3)
Resolution: Won't Fix
Pickling/unpickling top-level functions defined in published module no
longer
[ http://issues.apache.org/jira/browse/MODPYTHON-81?page=all ]
Graham Dumpleton closed MODPYTHON-81:
-
Pickling/unpickling top-level functions defined in published module no
longer works in mod_python 3.2
Graham Dumpleton wrote:
Nicolas
Are you okay with:
http://issues.apache.org/jira/browse/MODPYTHON-81
Pickling/unpickling top-level functions defined in published
module no longer works in mod_python 3.2
being resolved as Won't Fix and then closed?
As I describe in:
On Sun, 26 Mar 2006, Graham Dumpleton wrote:
One use for it that I already have is to get around the DirectoryIndex
problems in mod_python caused by Apache's use of the
ap_internal_fast_redirect() function to implement that feature. The
specifics of this particular issue are documented
Grisha wrote ..
On Sun, 26 Mar 2006, Graham Dumpleton wrote:
One use for it that I already have is to get around the DirectoryIndex
problems in mod_python caused by Apache's use of the
ap_internal_fast_redirect() function to implement that feature. The
specifics of this particular
Graham Dumpleton wrote:
In:
http://issues.apache.org/jira/browse/MODPYTHON-117
I describe the idea of having a means of using PythonImport to define a
module to be imported into any interpreter that may be created. For some
cases where there are a lot of virtual hosts, this may be simpler
What I have been doing in a totally unrelated Python project is to create test groups simply by
putting them into separate modules. The main test module test.py looks like this:
## (test.py)
import unittest
from test_something import *
from test_someother import *
from test_yetmore import *
if