Danny Shevitz wrote:
> Howdy,
>
> In my app I need to exec user text that defines a function. I want this
> function to unpickle an object. Pickle breaks because it is looking for
> the object definition that isn't in the calling namespace.
>
> I have mocked up a simple example that shows the pr
On Jul 23, 6:01 pm, Danny Shevitz <[EMAIL PROTECTED]> wrote:
> Howdy,
>
> In my app I need to exec user text that defines a function. I want this
> function to unpickle an object. Pickle breaks because it is looking for
> the object definition that isn't in the calling namespace.
>
> I have mocked
Howdy,
In my app I need to exec user text that defines a function. I want this
function to unpickle an object. Pickle breaks because it is looking for
the object definition that isn't in the calling namespace.
I have mocked up a simple example that shows the problem. Run this
first code (from