Re: Pickling/unpickling top-level functions, classes etc.

2006-03-29 Thread Nicolas Lehuen
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.

[jira] Resolved: (MODPYTHON-81) Pickling/unpickling top-level functions defined in published module no longer works in mod_python 3.2

2006-03-29 Thread Graham Dumpleton (JIRA)
[ 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

[jira] Closed: (MODPYTHON-81) Pickling/unpickling top-level functions defined in published module no longer works in mod_python 3.2

2006-03-29 Thread Graham Dumpleton (JIRA)
[ 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

Re: Pickling/unpickling top-level functions, classes etc.

2006-03-29 Thread Jim Gallacher
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:

Re: Auto updating of req.finfo when req.filename changed.

2006-03-29 Thread Gregory (Grisha) Trubetskoy
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

Re: Auto updating of req.finfo when req.filename changed.

2006-03-29 Thread Graham Dumpleton
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

Re: PythonImport that works for any interpreter.

2006-03-29 Thread Jim Gallacher
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

Grouping tests (was: Latest tests)

2006-03-29 Thread Mike Looijmans
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