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.dscpl.com.au/articles/modpython-005.html

there are going to be various issues with pickling with any new importer
which doesn't keep stuff in sys.modules.

I don't see any solution for the issue as far as modules managed by the
mod_python importer. Simply means that if you want to pickle stuff like
that, has to be in module on standard sys.path and managed by normal
Python module import system.

Anyone else want to comment?

+1 for "Won't Fix"

Then it's pretty easy for us to just say "don't do it". We could offer a sub-optimal soltion and tell people "it might work", only to waste alot of time on the mailing list explaining why it doesn't.

Jim

Reply via email to