Fix for the unfortunate fact that PyDict_GetItem and PyObject_GetItem
have differing refcount semantics. If anyone sees a prettier way to acheive the same ends, then please go for it. I think this is the first time I've ever used Py_XINCREF.
M
Michael W. Hudson committed
a3711f73c1bdc4022d4c77a37c884672817c88f8
Parent: 77a602f