Correction, I got the use of dict_from_event wrong, as it's only referenced in PyEvent_new(). I hence rather suggest making event.dict a callable, which copies the internal dict and adds the type as an additional item. And I would not mind to implement it, too.
cheers! mar77i