Hi there,

we are getting the following error "AttributeError: _pending_unsubscribe" when unsubscribing from an attribute change event.

OS: Windows 7 64-bits
Python: 2.7.11
PyTango: 8.1.6


…
attrProxy = PyTango.AttributeProxy("…/device_name/attribute")
idEvent = attrProxy.subscribe_event(PyTango.EventType.CHANGE_EVENT, 1)
…
attrProxy.unsubscribe_event(idEvent)
…

Note 1: we are using the pull model (getevent method call)

Googling a bit, we found a fix for it (cf. https://sourceforge.net/p/tango-cs/bugs/775). But then attribute event subscription needs to be done like below, which looses simplicity of attribute proxy use:


…
devProxy  = PyTango.DeviceProxy("…/device_name")
attrProxy = PyTango.AttributeProxy(devProxy, "attribute")
idEvent = attrProxy.subscribe_event(PyTango.EventType.CHANGE_EVENT, 1)
…
attrProxy.unsubscribe_event(idEvent)
…


Is there a plan to release PyTango 8.1.7 with bug fixes? This could be part of it.

How can we build a custom PyTango 8.1.7?

Kind regards,
Cyrille.