Menu

Commit [8e6b19]  Maximize  Restore  History

Replace the static filemap variable with a structure containing that filemap.

This new structure can have a destructor that deletes any open file objects
remaining, thus closing those files properly. This guarantees that all files
will be closed at the end of the python session, removing the need for the
user to explicitly close any files that were written/appended.

David Seidel David Seidel 2016-02-22

changed python/extensions/pff_ext.cc
python/extensions/pff_ext.cc Diff Switch to side-by-side view
Loading...
MongoDB Logo MongoDB