Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Random832 Newsgroups: comp.lang.python Subject: Re: Image loading problem Date: Sat, 21 May 2016 15:55:05 -0400 Lines: 7 Message-ID: References: <743e5fbe-3a6c-49ea-ac5e-9bc055f652b5@googlegroups.com> <1463860505.689253.614738601.76B18B37@webmail.messagingengine.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de MLEnI4/2h9u8lB9WdElTSwlA8v3abFFwwvnLhvngccOQ== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.008 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; '21,': 0.07; 'received:internal': 0.09; '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; 'wrote:': 0.16; 'odd': 0.18; 'prevent': 0.20; 'bug?': 0.22; 'subject:problem': 0.22; 'sat,': 0.23; 'header:In-Reply-To:1': 0.24; 'instance': 0.35; "isn't": 0.35; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'received:10': 0.37; 'being': 0.37; 'received:66': 0.38; 'why': 0.39; 'to:addr:python.org': 0.40; 'your': 0.60; 'header:Message-Id:1': 0.61; 'otten': 0.84 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=Jc5fGjtsk4Re5V5+8bRMDZGYQys=; b=lH6k+d 0qRoygZ989zgVhKdeeEAhcPHvkLGR5mGFhvGU+r+VtweJglDuISPs/DzF8uKOtzW HxqoSpHlr0E/zBhURpEpYPqLLWNErwWYsET7WwN3ATZSLVNzwb6sdVLQsLsCtcZi ag9mrVpzNM6iRoygLvxTkIfB1MbUeAOIiRlU8= 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=Jc5fGjtsk4Re5V5 +8bRMDZGYQys=; b=gitVw4lHy4OuShaJKJmD+m8dUvuFlkWIThBF1zB91yZ18g9 AqC8awMzU3XcFDWTK71O2NtSxwz3IK/FlUaIhddowxhCrXKsE/JDdiArC43DTj6i 9GMJ5opJ4BbyZzVw8IvsZWB3knqjaAjjw8BT4+ncBcK1NCEB9dsbVH0gfyic= X-Sasl-Enc: PD7UkPQNhASiy1CqIybGoAwyGaKD6Dqzl2eEJ/ycRtqA 1463860505 X-Mailer: MessagingEngine.com Webmail Interface - ajax-37b57599 In-Reply-To: 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: <1463860505.689253.614738601.76B18B37@webmail.messagingengine.com> X-Mailman-Original-References: <743e5fbe-3a6c-49ea-ac5e-9bc055f652b5@googlegroups.com> Xref: csiph.com comp.lang.python:108929 On Sat, May 21, 2016, at 12:54, Peter Otten wrote: > It's not your fault, there's an odd quirk in the library: you have to > keep a reference of the PhotoImage instance around to prevent the > image from being garbage-collected. Just out of curiosity, why is this a "quirk" and not a bug? Why isn't the reference held by the Label?