[Python-Dev] Module renaming and pickle mechanisms (original) (raw)

Alexandre Vassalotti alexandre at peadrop.com
Sat May 17 17:07:07 CEST 2008


Errata:

On Sat, May 17, 2008 at 10:59 AM, Alexandre Vassalotti <alexandre at peadrop.com> wrote:

And, one solution to this is to use Python 2.6 to regenerate pickle stream.

... to regenerate the pickle streams.

It is surely not the most elegant or robust solution, but I could work.

... but it could work.

This would certainly work for simple modules, but what about packages? For packages, you can't use the sys.modules[_name_] = Queue to preserve module identity.

... you can't use the sys.modules[__name__] = Queue trick to preserve module identity.

A possible solution could be writing a compatibility layer for the

... could be to write a compatibility layer...

I guess I should start proofreading my emails before sending them, not after...

-- Alexandre



More information about the Python-Dev mailing list