Skip to content Skip to sidebar Skip to footer
Showing posts with the label Signals

Python: Prevent Signals To Propagate To Child Threads

import threading import time def worker(i): while True: try: print i … Read more Python: Prevent Signals To Propagate To Child Threads

Custom Signal Not Being Handled By Scrapy Internal Api

I am trying to handle a custom signal 'signalizers.item_extracted' in a Scrapy extension &#… Read more Custom Signal Not Being Handled By Scrapy Internal Api

Why Is Post_save Being Raised Twice During The Save Of A Django Model?

I am attaching a method to the post_save signal of my Django model. This way I can clear some cache… Read more Why Is Post_save Being Raised Twice During The Save Of A Django Model?

(unit) Test Python Signal Handler

I have a simple Python service, where there is a loop that performs some action infinitely. On vari… Read more (unit) Test Python Signal Handler

Pyqt Event Emmitted Twice

I'm trying to implement drag-n-drop'in' items from QListWidget to QGraphicsView. I'… Read more Pyqt Event Emmitted Twice

Thread-Safe Signal API In Python 2.7

I have a multi-threaded program and want to catch SIGINT. I tried using the signal interface but it… Read more Thread-Safe Signal API In Python 2.7