Image loading problem

Random832 random832 at fastmail.com
Sat May 21 15:55:05 EDT 2016


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?



More information about the Python-list mailing list