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. Regards

[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: http://www.dscp

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 under:

[jira] Commented: (MODPYTHON-127) Use namespace for mod_python PythonOption settings.

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

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 pa

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 tha

[jira] Created: (MODPYTHON-152) req.main/prev from subrequest should yield true Python request object.

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

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 _