A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2008-May/079537.html below:

[Python-Dev] Module renaming and pickle mechanisms

[Python-Dev] Module renaming and pickle mechanisms [Python-Dev] Module renaming and pickle mechanismsAlexandre 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

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4