pika/pika — pull request #131 by datakurre (2012-02-28 07:23:55+00:00)
Title: Channel fails to cleanup callbacks because of the new callback API

This can be considered more like a regular issue. Pull just gives this better context.

Channel.cleanup() tries to remove all callbacks with a prefix only, but that's no longer supported by CallbackManager.

https://github.com/pika/pika/blob/master/pika/channel.py#L285

https://github.com/pika/pika/blob/master/pika/callback.py#L166

(I just added a new method for CallbackManager to do that, but there may be better ways.)