[PEAK] Trellis: Sensor.listening and iter_listeners()

Sergey Schetinin maluke at gmail.com
Wed Nov 12 09:18:48 EST 2008


I tracked one of the issues I was having periodically to a case when a
sensor did not connect when it should have.

>>> evt_cell
Sensor(<bound method PyEventBinder._events of <wx._core.PyEventBinder
object at 0x00E5DD10>>, None, discrete[None])
>>> evt_cell.listening
NOT_GIVEN
>>> list(evt_cell.iter_listeners())
[WxCell(221), WxCell(392)]

This state is invalid, correct?


-- 
Best Regards,
Sergey Schetinin

http://s3bk.com/ -- S3 Backup
http://word-to-html.com/ -- Word to HTML Converter



More information about the PEAK mailing list