unbind doesn't work with function passed in

unbind doesn't work with function passed in


Hi,
while fixing a bug for tabs I found out that at least since jQuery
1.2.1 the unbind method doesn't unbind the event if a function
reference is passed in, like:
function foo() { }
$('a').unbind('click', foo);
I circumvented that bug by using a namespaced event instead of
unbinding the function. Is that a known bug? Or is the general
strategy to move to namespaced events? If not, I would create a
ticket...
-Klaus