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.
Regards
[ 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:
http://www.dscp
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 under:
[
http://issues.apache.org/jira/browse/MODPYTHON-127?page=comments#action_12372284
]
Jim Gallacher commented on MODPYTHON-127:
-
I've scanned the source and I think you have caught all the instances that need
changing.
Are we sure we want to use Ca
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 pa
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 tha
req.main/prev from subrequest should yield true Python request object.
--
Key: MODPYTHON-152
URL: http://issues.apache.org/jira/browse/MODPYTHON-152
Project: mod_python
Type: Improvement
Components
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 _
10 matches
Mail list logo