Commit Graph

2335 Commits

Author SHA1 Message Date
behackett
5d8f19310f BUMP 2.6 2013-08-19 12:24:58 -07:00
behackett
f804c8e16e Release notes and other doc fixes for 2.6. 2013-08-18 09:24:06 -07:00
behackett
88e3121d28 Minor doc updates. 2013-08-18 08:12:08 -07:00
A. Jesse Jiryu Davis
d133396162 Revert "Capture all BSON decode errors and wrap with InvalidBSON. PYTHON-494"
This reverts commit ba66a2dde7.
2013-08-17 22:35:17 -04:00
Bernie Hackett
9d9ac1c1da Fix various tests for mongos and old mongo versions. 2013-08-16 18:58:04 -07:00
behackett
594856d586 Catch an exception that actually exists... 2013-08-16 17:23:31 -07:00
behackett
0241869778 Fix indent 2013-08-16 17:20:38 -07:00
behackett
334ea50af7 Fix add_option/remove_option issues PYTHON-546 2013-08-16 14:16:29 -07:00
A. Jesse Jiryu Davis
5eb13b26fa Avoid ResourceWarnings in Python 3. 2013-08-16 16:43:22 -04:00
A. Jesse Jiryu Davis
edc23501f4 GreenletIdent cleanup. 2013-08-16 16:18:50 -04:00
seewindcn
e1b792848f Update thread_util.py
Pool object call GreenletIdent.watch(on_thread_died) and not unlink. if the greenlet is resident, greenlet._links is growth
2013-08-16 16:18:50 -04:00
A. Jesse Jiryu Davis
280a7fc390 Test GreenletIdent with Gevent enhanced Greenlets. 2013-08-16 16:18:50 -04:00
A. Jesse Jiryu Davis
804b90a163 Style. 2013-08-16 16:18:50 -04:00
Rock Li
5b7266d25b INT2STRING to use Stack based solution 2013-08-16 09:52:28 -07:00
Park Hyunwoo
baf53bee2d Add optional parameter for pymongo.database.collection_names to ignore system collections 2013-08-16 09:47:21 -07:00
A. Jesse Jiryu Davis
9de93d9a29 Change default for Connection and RSC, fix bugs when max_pool_size=None. PYTHON-436 2013-08-16 10:04:57 -04:00
A. Jesse Jiryu Davis
5a88c6c2f4 Update docs for new pool options. PYTHON-436 2013-08-16 09:43:50 -04:00
A. Jesse Jiryu Davis
77f876b767 Bump MongoReplicaSetClient's default max_pool_size from 10 to 100. PYTHON-436 2013-08-15 13:53:29 -04:00
A. Jesse Jiryu Davis
30c0a5ee7b Bump MongoReplicaSetClient's default max_pool_size from 10 to 100. PYTHON-436 2013-08-15 13:12:32 -04:00
A. Jesse Jiryu Davis
77e769d75a Style. 2013-08-15 12:58:14 -04:00
A. Jesse Jiryu Davis
7e43c499ed Style. 2013-08-15 12:15:49 -04:00
A. Jesse Jiryu Davis
e18058c784 Fix comment. 2013-08-15 12:14:09 -04:00
A. Jesse Jiryu Davis
5cf33afdf9 Longer thread / greenlet join timeout in tests. 2013-08-15 10:22:24 -04:00
A. Jesse Jiryu Davis
a6f2848787 Fix ref undercount in BSON extension. PYTHON-494 2013-08-14 23:28:19 -04:00
behackett
a449ea8817 Use constant format string PYTHON-414 2013-08-14 15:11:32 -07:00
behackett
f29544bb4d Ensure connection before we insert PYTHON-414
Inserts require that we know the max_bson_size
and max_message_size of the current primary or
master. We have to be connected to get those
values.
2013-08-14 13:24:20 -07:00
A. Jesse Jiryu Davis
c57364621a Work around a 2to3 bug more simply. PYTHON-494 2013-08-14 15:20:46 -04:00
A. Jesse Jiryu Davis
3d63d5884f Work around a 2to3 bug more simply. PYTHON-494 2013-08-14 14:58:46 -04:00
A. Jesse Jiryu Davis
d863ccf458 Work around a 2to3 bug. PYTHON-494 2013-08-14 14:07:31 -04:00
A. Jesse Jiryu Davis
ba66a2dde7 Capture all BSON decode errors and wrap with InvalidBSON. PYTHON-494 2013-08-14 11:50:36 -04:00
behackett
fecbbee710 Fix building on Windows PYTHON-414 2013-08-13 19:50:02 -07:00
behackett
ad9228753e Fix test_disconnected_init PYTHON-414
Trying to do an insert as the first operation
with a disconnected client instance will fail
since we haven't yet talked to a server to get
max bson and message size.
2013-08-13 12:03:49 -07:00
behackett
9ec184586f Add size properties to MasterSlaveConnection PYTHON-414
Needed for batch inserts.
2013-08-13 11:21:30 -07: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
A. Jesse Jiryu Davis
55dd328df1 Redirect mongod's output to /dev/null, not a pipe. 2013-08-13 11:50:47 -04:00
Bernie Hackett
515e0536b6 Add Tyler Jones to contributors. 2013-08-13 08:38:59 -07:00
Bernie Hackett
a864761ab3 Backward compat and style fixes in ha_tools.py 2013-08-13 08:32:44 -07:00
Tyler Jones
d20b388b49 Made ha_tools work with Py3 2013-08-13 08:13:13 -07:00
Bernie Hackett
533db404e6 Fix django-mongodb-engine links in tools.rst 2013-08-07 20:14:22 -07:00
Bernie Hackett
455844c7e6 Merge pull request #193 from avelino/master
Add Django MongoEngine to Framework tools page of docs
2013-08-07 20:07:56 -07:00
Thiago Avelino
c435a32531 Add Django MongoEngine to Framework tools page of docs 2013-08-07 23:53:16 -03:00
Bernie Hackett
37c4a94791 Merge pull request #192 from avelino/master
Fix link MongoEngine to tools page of docs
2013-08-07 19:41:25 -07:00
Thiago Avelino
5092435834 fix link tutorial page MongoEngine tools page of docs 2013-08-07 23:34:28 -03:00
Thiago Avelino
e933b48261 Fix github link MongoEngine tools page of docs 2013-08-07 23:33:04 -03:00
A. Jesse Jiryu Davis
1b455f226a Support aggregation output as a cursor. PYTHON-542 2013-08-07 21:21:11 -04:00
A. Jesse Jiryu Davis
9a0a2c41a9 Avoid DeprecationWarning with Gevent 1.0rc2 and later. PYTHON-545 2013-08-06 15:04:47 -04:00
A. Jesse Jiryu Davis
6974657a95 Remove ancient unused test code. 2013-08-06 13:03:55 -04:00
behackett
fd7758e674 Remove obsolete comment. 2013-08-05 16:04:20 -07:00
behackett
4d42258697 Support exhaust cursor flag PYTHON-265 2013-08-05 11:29:11 -07:00
behackett
40a32cc4a2 Authentication examples PYTHON-544 2013-07-25 16:46:16 -07:00