-
Type: Improvement
-
Resolution: Done
-
Priority: Minor - P4
-
Affects Version/s: None
-
Component/s: None
-
None
In my code I catch the exception bson.errors.InvalidDocument to check if my document is too large. If it is I need to split the document to smaller documents. To check the size of the resulting documents I go ahead generate the BSON object. It would be nice to be able to pass the BSON object to the insert the method instead of having insert do the BSON conversion again.
- causes
-
PYTHON-3222 Memory leak with bson module decode_all() function
- Closed