pubsub.py issues?

Hi all,

I'm going through the pubsub.py module - writing test cases and ironing out
any bugs. I wrote the original posters of a thread about the module, but if
anyone else has any issues with it, please let me know.

Thanks,
Robb

I'm going through the pubsub.py module - writing test cases and ironing out
any bugs. I wrote the original posters of a thread about the module, but if
anyone else has any issues with it, please let me know.

The biggest problem is that the current version doesn't allow the objects
of bound methods to be garbage collected. You can manually work around
that by having your own layer on top, as I have posted about on this
list before.

The _makeCallable/_parameterCount stuff is also overly complex and
should be removed IMHO. For example it prevents passing in objects with
a __call__ method. (Just always provide the message).

The implementation also prevents usage in a multi-threading environment
(or more accurately in more than one thread). I don't have a prescribed
solution for that.

Roger