Apache Mod-Python - Created: (MODPYTHON-81) Pickling/unpickling top-level functions defined in published

This is Interesting: Free IT Magazines  
Home > Archive > Apache Mod-Python > October 2005 > Created: (MODPYTHON-81) Pickling/unpickling top-level functions defined in published





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Created: (MODPYTHON-81) Pickling/unpickling top-level functions defined in published
Nicolas Lehuen (JIRA)

2005-10-04, 2:46 am

Pickling/unpickling top-level functions defined in published module no longer works in mod_python 3.2
------------------------------------------------------------------------------------------------------

Key: MODPYTHON-81
URL: http://issues.apache.org/jira/browse/MODPYTHON-81
Project: mod_python
Type: Bug
Versions: 3.2.0
Reporter: Nicolas Lehuen
Fix For: 3.3.0


See http://modpython.org/pipermail/mod_...ber/019158.html

The problem is that pickling/unpickling top-level function is done by name, which requires that the module they are defined in can be imported in the usual way, or at least that it is registered in sys.modules.

Fixing this in 3.2 alone seems quite difficult. I'd rather try to do this in 3.3, along with the major overhaul of the import system.



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com