Uploaded image for project: 'mod_python'
  1. mod_python
  2. MODPYTHON-81

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 3.2.7
    • None
    • importer
    • None

    Description

      See http://modpython.org/pipermail/mod_python/2005-October/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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            nlehuen Nicolas Lehuen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: