<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><br>
> -----Original Message-----<br>
> From: <a href="mailto:stackless-bounces@stackless.com" target="_blank">stackless-bounces@stackless.com</a> [mailto:<a href="mailto:stackless-" target="_blank">stackless-</a><br>
</div><div>> <a href="mailto:bounces@stackless.com" target="_blank">bounces@stackless.com</a>] On Behalf Of John Ehresman<br>
> Sent: 23. október 2013 15:06<br>
> To: <a href="mailto:stackless@stackless.com" target="_blank">stackless@stackless.com</a><br>
> Subject: Re: [Stackless] Fwd: deepcopying (pickling) channels<br>
><br>
</div><div>> It does look like the __init__ saves a reference of self.func2 in self.func -- is<br>
> this what triggers the pickling of globals?<br>
<br>
</div>Yes. It is trying to pickle a bound function.<br>
But it is not pickling "globals". save_global() means that it is trying to save an object by name. It came across wingdb_import_hook during the process, and this function is not found where it says it is found.<br>