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/2003-December/040560.html below:

[Python-Dev] adding save() and load() function for interactive use

[Python-Dev] adding save() and load() function for interactive use [Python-Dev] adding save() and load() function for interactive usePhillip J. Eby pje at telecommunity.com
Mon Dec 1 14:06:57 EST 2003
At 07:30 PM 12/1/03 +0100, Gerrit Holl wrote:
>save() is easily implemented by pickling
>  locals(); load() is easily implemented by updating
>  locals() while unpickling it.

Functions and classes are pickled as references to a module, so this 
wouldn't actually work.  When you try to load(), the unpickling will fail 
if the function or class doesn't already exist in the module.


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