Ben Warner
be3008aa11
PYTHON-2110 Refactored some C to avoid symbol conflicts ( #968 )
...
* Refactored to avoid symbol conflicts
* Forgot a replacement
* Found a symbol
* Undid symbol replacement for PyInit__cmessage
* Changed cbson too
Co-authored-by: Ben Warner <ben.warner@mongodb.com>
2022-06-13 11:42:41 -07:00
Shane Harvey
c16b5b95a1
PYTHON-2331 Fix set_memory_error complier warning ( #469 )
...
bson/buffer.c:36:13: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
36 | static void set_memory_error() {
| ^~~~~~~~~~~~~~~~
2020-07-27 11:27:08 -07:00
Shane Harvey
29960237dc
PYTHON-2260 Include Python.h before any standard headers
2020-05-27 15:07:31 -07:00
Shane Harvey
643e64880e
PYTHON-2188 Raise ValueError instead of MemoryError when encoding exceeds 2GiB
2020-04-08 15:07:41 -07:00
Shane Harvey
021adc53e8
PYTHON-2191 Fix double free when realloc fails in buffer_grow
2020-04-08 12:57:31 -07:00
Shane Harvey
24e8aebf12
PYTHON-2188 Always raise an error when bson encoding exceeds 2GiB
...
Remove unused buffer_write_at_position.
2020-04-08 12:56:38 -07:00
Bernie Hackett
aec685b374
Fix up copyright dates.
2015-03-25 11:55:02 -07:00
A. Jesse Jiryu Davis
2fa1750b07
Update copyright notices and company name.
2014-01-31 09:36:46 -05:00
behackett
3afd684224
Automatically split batch inserts PYTHON-414
...
With this change PyMongo will automatically
split large batch inserts into multiple messages
based on client.max_message_size (the largest
message mongod/s will accept).
2013-08-13 10:53:02 -07:00
behackett
0ee7170cc2
It's 2012...
2012-04-19 12:40:38 -07:00
behackett
777adb1e39
A few style cleanups.
2011-07-06 16:21:59 -07:00
Abhay Vardhan
05b51bc720
Fix overflow bug while calculating new size of buffer
2011-07-06 16:09:53 -07:00
Mike Dirolf
56699b9ff2
switch to using buffer.c/h from Ruby
2010-09-14 13:56:13 -04:00