Files
mongo/lang/python
Michael Cahill fdf68e5060 Update Python proxy objects after calling "close" methods to discard their pointers. This avoids common cases that can lead to segfaults.
Note that this isn't a complete solution: bad Python code can still reference a
freed pointer (e.g., by using a cursor after closing the session that was used
to allocate the cursor).  Solving that problem completely would involve
tracking ownership in Python.
2011-07-16 00:12:42 +10:00
..