Disclaimer : if you don't program in python and don't know what a thread is, you probably want to skip this post as this is highly technically geekish loghorea which is not funny or even understandable in a remotely perverse way. Knowing some Flying Circus episodes might also help.
Say that you have two thread in your python application. One is "TV_speaker" and the other is "knight". Those two threads live in parallel their own live and all is good. But sometimes you want the "TV_speaker" to stop. In order to do that, you will ask the knight to throw a chicken at him. And the first thing that comes to mind is using a "signal".
You cant to call knight.send("chicken") and that, on the other side, tv_speaker.connect("chicken") handles things correctly.
Problem : using google, you find that, since 2.6, the python documentation is barely readable and unusable.
Hopefully, you find your way back to the good old and well organized 2.5 documentation only to discover that those signals are UNIX signals and have nothing in common with signals you can use in a GTK application.
Worse : those signals don't work with threads !
You seat down, cry and wait that a giant foot quickly stops your pain.

Read next
Derniers Commentaires