I\'m running a set of tests with py.test. They pass. Yippie! But I\'m getting this message:
Exception KeyError: KeyError(4427427920,) in
I had a similar problem with a gevent prototype script.
The Greenlet callback was executing fine and I was synchronizing back to the main thread via g.join(). For my problem, I had to call gevent.shutdown() to shutdown (what I assume is) the Hub. After I manually shutdown the event loop, the program terminates properly without that error.