A recurring problem in (not only) GUI programming are event cycles, i.e. the receiving of events oneself has triggered. These can quickly lead to event cycles, where change triggers change triggers change, until something gives out—usually the stack. A particularly cheap way of breaking cycles are simple boolean flags: class Foo(object): listen = True def [...]
Entries from Juli 2009
Breaking Event Cycles
Juli 12th, 2009 · No Comments
Tags: python
New Talks
Juli 5th, 2009 · No Comments
Over the last months, I gave two talks, one at TaCoS in Heidelberg on Text+Berg digital, the other one in our local Python user group, swiss.py, on Python metaclasses. The slides can be found on the Talks page.
Tags: Uncategorized

![Validate my RSS feed [Valid RSS]](http://shlomme.diotavelli.net/images/valid-rss.png)