Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Random832 Newsgroups: comp.lang.python Subject: Re: Image loading problem Date: Sun, 22 May 2016 16:19:45 -0400 Lines: 12 Message-ID: References: <743e5fbe-3a6c-49ea-ac5e-9bc055f652b5@googlegroups.com> <1463860505.689253.614738601.76B18B37@webmail.messagingengine.com> <9341584a-bbdb-c9c8-2cf2-d631671631d3@gmail.com> <1463948385.1856506.615331497.58809B55@webmail.messagingengine.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de 8e9Z27QBeb66ucDnJJREtwU1i5tByepnwNCX9sIwvLEg== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'wrapped': 0.07; '22,': 0.09; 'instantiated': 0.09; 'okay': 0.09; 'received:internal': 0.09; 'tcl/tk': 0.09; 'python': 0.10; 'python.': 0.11; 'anyway': 0.11; 'cares': 0.16; 'message-id:@webmail.messagingengine.com': 0.16; 'received:10.202': 0.16; 'received:10.202.2': 0.16; 'received:10.202.2.212': 0.16; 'received:66.111': 0.16; 'received:66.111.4': 0.16; 'received:io': 0.16; 'received:messagingengine.com': 0.16; 'received:psf.io': 0.16; 'wrappers': 0.16; 'wrote:': 0.16; "shouldn't": 0.18; 'subject:problem': 0.22; 'header:In-Reply-To:1': 0.24; "doesn't": 0.26; 'object,': 0.27; 'holds': 0.32; 'maybe': 0.33; 'problem': 0.33; 'michael': 0.33; 'gets': 0.35; 'label': 0.35; 'but': 0.36; '(and': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'received:10': 0.37; 'received:66': 0.38; 'why': 0.39; 'to:addr:python.org': 0.40; 'header:Message-Id:1': 0.61 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.com; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=UARP4ckndaFmuoxornF04haNRl4=; b=Xqi4sU XO9aA3kAeAdqcJH7GqL5V8GwMkjJXpYGeFD/w9cBk/sWXKzk8CauTu6sM7IrIym/ u3oVpu4700DhSyl6hOesPKrRmzYnA4EmIE9lCCc39Kc2+2NBbluf+FI/pLXG7rsG 4r3eWX+pnYmrWSI1PBYaE4TSrYy6aoKYddAl4= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=UARP4ckndaFmuox ornF04haNRl4=; b=QQwOyblKgfI73fduXMt3eOew22xgbeKi3NBh5ySFHItXwVN pdvYmh3QHbE4Oc5c5tDcK8PbQMrk7l5gsyaw703Y2WxReI41R+eEfBMa1iCLVTKt 0g7ugOSCk+7tWqL61vBFLgofwXPrwdf/oEdohT442TPSX3qSMcnx/4fHw9x4= X-Sasl-Enc: xQOILbNBth7UtmZWQ5qKne72P3FJ2vw3YQraJsHHV4xw 1463948385 X-Mailer: MessagingEngine.com Webmail Interface - ajax-37b57599 In-Reply-To: <9341584a-bbdb-c9c8-2cf2-d631671631d3@gmail.com> X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: <1463948385.1856506.615331497.58809B55@webmail.messagingengine.com> X-Mailman-Original-References: <743e5fbe-3a6c-49ea-ac5e-9bc055f652b5@googlegroups.com> <1463860505.689253.614738601.76B18B37@webmail.messagingengine.com> <9341584a-bbdb-c9c8-2cf2-d631671631d3@gmail.com> Xref: csiph.com comp.lang.python:108962 On Sun, May 22, 2016, at 15:37, Michael Torrie wrote: > The reference is indeed held by the label but the problem is the label > is a Tcl/Tk object, thinly wrapped in Python. Okay but then in that case why doesn't the image get instantiated as a Tcl/Tk object which the label holds a reference to and then nobody cares if the python image object gets collected? (And anyway maybe the wrappers shouldn't be so thin if it causes problems like these.)