Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #108938
| Path | csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail |
|---|---|
| From | Peter Otten <__peter__@web.de> |
| Newsgroups | comp.lang.python |
| Subject | Re: Image loading problem |
| Date | Sun, 22 May 2016 11:03:15 +0200 |
| Organization | None |
| Lines | 18 |
| Message-ID | <mailman.93.1463907806.27390.python-list@python.org> (permalink) |
| References | <743e5fbe-3a6c-49ea-ac5e-9bc055f652b5@googlegroups.com> <nhq3sl$hv8$1@ger.gmane.org> <1463860505.689253.614738601.76B18B37@webmail.messagingengine.com> <nhrskk$bh0$1@ger.gmane.org> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset="ISO-8859-1" |
| Content-Transfer-Encoding | 7Bit |
| X-Trace | news.uni-berlin.de nWuQwdUa96WXd4LtxFoSFQvgnhPjxJIJ9ScgIDagysiA== |
| Return-Path | <python-python-list@m.gmane.org> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.002 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; '21,': 0.07; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'bug': 0.10; 'bug,': 0.16; 'cycle?': 0.16; 'received:80.91.229.3': 0.16; 'received:dip0.t-ipconnect.de': 0.16; 'received:io': 0.16; 'received:plane.gmane.org': 0.16; 'received:psf.io': 0.16; 'received:t-ipconnect.de': 0.16; 'wrote:': 0.16; 'odd': 0.18; 'usability': 0.18; 'prevent': 0.20; 'bug?': 0.22; 'subject:problem': 0.22; 'wrote': 0.23; 'sat,': 0.23; 'header :User-Agent:1': 0.26; 'header:X-Complaints-To:1': 0.26; 'least': 0.27; 'file': 0.34; 'instance': 0.35; "isn't": 0.35; 'but': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'being': 0.37; 'agree': 0.37; 'received:org': 0.37; 'someone': 0.38; 'why': 0.39; 'to:addr:python.org': 0.40; 'received:de': 0.40; 'your': 0.60; 'avoid': 0.61; 'otten': 0.84 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| X-Gmane-NNTP-Posting-Host | p57bd96fd.dip0.t-ipconnect.de |
| User-Agent | KNode/4.13.3 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.22 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| X-Mailman-Original-Message-ID | <nhrskk$bh0$1@ger.gmane.org> |
| X-Mailman-Original-References | <743e5fbe-3a6c-49ea-ac5e-9bc055f652b5@googlegroups.com> <nhq3sl$hv8$1@ger.gmane.org> <1463860505.689253.614738601.76B18B37@webmail.messagingengine.com> |
| Xref | csiph.com comp.lang.python:108938 |
Show key headers only | View raw
Random832 wrote: > 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? I agree that this is at least a usability bug, but I think someone with a clue (Fredrik Lundh?) wrote it that way intentionally. > Why isn't the reference held by the Label? I can only speculate: to avoid a tcl/python reference cycle? You might file a bug report and see what comes of it.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Image loading problem "sweating_ant@yahoo.com" <huey.y.jiang@gmail.com> - 2016-05-21 08:22 -0700
Re: Image loading problem Peter Otten <__peter__@web.de> - 2016-05-21 18:54 +0200
Re: Image loading problem Peter Pearson <pkpearson@nowhere.invalid> - 2016-05-21 17:10 +0000
Re: Image loading problem Gary Herron <gherron@digipen.edu> - 2016-05-21 10:16 -0700
Re: Image loading problem Terry Reedy <tjreedy@udel.edu> - 2016-05-21 15:23 -0400
Re: Image loading problem Random832 <random832@fastmail.com> - 2016-05-21 15:55 -0400
Re: Image loading problem huey.y.jiang@gmail.com - 2016-05-21 21:01 -0700
Re: Image loading problem Peter Otten <__peter__@web.de> - 2016-05-22 11:03 +0200
Re: Image loading problem Michael Torrie <torriem@gmail.com> - 2016-05-22 13:37 -0600
Re: Image loading problem Random832 <random832@fastmail.com> - 2016-05-22 16:19 -0400
Re: Image loading problem Christian Gollwitzer <auriocus@gmx.de> - 2016-05-22 22:57 +0200
csiph-web