Maybe this would be less likely to break code,

try:
        callback(obj, evt=event)
except TypeError:
        callback(obj)

This would require people to already have a keyword called "evt" on
their callback.

If it is clearly documented, it would break a minimal number of people.

Tim Ansell

_______________________________________________
FloatCanvas mailing list
[email protected]
http://mail.mithis.com/cgi-bin/mailman/listinfo/floatcanvas

Reply via email to