commit | a3711f73c1bdc4022d4c77a37c884672817c88f8 | [log] [tgz] |
---|---|---|
author | Michael W. Hudson <mwh@python.net> | Mon Aug 02 14:50:43 2004 +0000 |
committer | Michael W. Hudson <mwh@python.net> | Mon Aug 02 14:50:43 2004 +0000 |
tree | ffc71c0b47aacb9b1bcb6fa01424c6e6ecf35a6a | |
parent | 77a602fbf292f3673e021e2b2567caaf70712645 [diff] |
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.