If you're going to clear the self.subscribed[event] list, they you should add a note saying that registering callbacks from other callbacks isn't allowed (or just make it work by not clearing the list like this)