-
Type:
Improvement
-
Resolution: Done
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
None
-
Fully Compatible
-
None
-
None
-
None
-
None
-
None
-
None
Since PyMongo requires Python 2.6+, we can use Python with-statements context managers to avoid socket leaks in the face of exceptions.