Sept. 1, 2008
8:39 a.m.
Jean-Paul Calderone <exarkun <at> divmod.com> writes:
Here's a complaint. It's surprising that you can't use Event et al with isinstance. This is something I'm sure a lot of people run into (I did, many years ago) when they start to use these APIs. Once you do figure out why it doesn't work, it's not clear how to do what you want, since _Event is private.
event_class = Event().__class__ ? Not pretty I know :-)