Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.145 X-Spam-Level: * X-Spam-Evidence: '*H*': 0.72; '*S*': 0.00; 'problem?': 0.07; 'cc:addr :python-list': 0.11; 'thanks,': 0.17; 'wrote:': 0.18; 'feb': 0.22; 'cc:addr:python.org': 0.22; 'looks': 0.24; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'work.': 0.31; 'url:python': 0.33; 'received:google.com': 0.35; 'charset:us-ascii': 0.36; 'url:org': 0.36; 'message- id:@gmail.com': 0.38; 'url:library': 0.38; 'does': 0.39; 'solve': 0.60; 'url:3': 0.61; "you're": 0.61; 'header:Message-Id:1': 0.63; 'talking': 0.65; '26,': 0.68; 'subject:Design': 0.78; 'subject:thought': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=+KXtTPEV4ejC6o76F4gnJtqXgWrTEp3YtI9xtNuDg78=; b=A0okhe11vgFiEHy5AYJTi40EEdLDSVVUCDUbIBDhx3xXskiHoT/zxorNM2hCu2ohtY zGgG3PyV3AVqdEmsKCEZctxMVqfVwGkZp8MsDdANQWTH5cDo2VEdD5ykKkHT02h9gxry A1r97I/smXuBi/jyZQzf2g2II/G3mtZAu1WUkXTsvN0uKnbKAONj5i1CC6nw9P3kWNrV c0QGuut09x4anMgdRCRkQcgij7IvDnCkIbFpHHnU7yOF4qQb0FKm5qNrBqbR5cuTqFXL 1KBea5RDvwx5NbuPoP7x3U4VUUaXEYKMBvIcI0sOuh6PLU7wABYNPU3sRkGZTx//LmIc IyQw== X-Received: by 10.141.28.78 with SMTP id f75mr17346246qhe.18.1424948316215; Thu, 26 Feb 2015 02:58:36 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Subject: Re: Design thought for callbacks From: Cem Karan In-Reply-To: Date: Thu, 26 Feb 2015 05:58:36 -0500 Content-Transfer-Encoding: quoted-printable References: <33677AE8-B2FA-49F9-9304-C8D93784255D@gmail.com> To: Gregory Ewing X-Mailer: Apple Mail (2.1510) Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 17 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1424948318 news.xs4all.nl 2905 [2001:888:2000:d::a6]:35780 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:86492 On Feb 26, 2015, at 12:36 AM, Gregory Ewing = wrote: > Cem Karan wrote: >> I think I see what you're talking about now. Does WeakMethod >> (https://docs.python.org/3/library/weakref.html#weakref.WeakMethod) = solve >> this problem? >=20 > Yes, that looks like it would work. Cool! =20 Thanks, Cem Karan=