enthought/pyface — comment on commit 86a16abaac96c03b88b88caec5e346cf2f70d427
File:  line 0
By jdmarch:

I know it's ugly but I think it's safer until we find and fix the dynamic listener bug. We've had code (in multiple apps) that works at first and then when another dynamic listener gets added somewhere else, the first one stops working. Robert speculated that it could be due to weak reference errors causing corruption in a listener lookup. Odds are that this particular usage would be ok but why risk it?