Commit Graph

435 Commits

Author SHA1 Message Date
Mike Dirolf
691a1a1fb6 note in README about 2.3 support. bump version (adding support for 2.3) 2009-02-20 15:07:50 -05:00
Mike Dirolf
1961c3dfce add qcheck to manifest 2009-02-20 15:04:38 -05:00
Mike Dirolf
7bbb4a5133 python 2.3 support
mostly not using unittest.assertTrue and assertFalse.
also not using decorator syntax, and some missing built-ins (sorted, etc.)
2009-02-20 14:35:21 -05:00
Mike Dirolf
75fb46a732 bumping version w/ support for Python 2.4 2009-02-20 11:08:43 -05:00
Mike Dirolf
9415161e83 update README to add support for 2.4. only require elementtree if version is < 2.5 2009-02-20 11:07:27 -05:00
Mike Dirolf
f167101a3e changes to support python 2.4 2009-02-20 10:38:17 -05:00
Mike Dirolf
46558b8c83 update readme 2009-02-20 09:31:09 -05:00
Mike Dirolf
0f6a6591e2 bumping version - fix for importing etree 2009-02-20 09:27:35 -05:00
Mike Dirolf
815f77e953 try to import the version of elementtree that comes w/ python >= 2.5 first, before forcing a user to install the library 2009-02-20 09:23:56 -05:00
Mike Dirolf
781b956394 make test independent of time it took to do explain 2009-02-20 09:14:57 -05:00
Mike Dirolf
1e0b09a432 support for long -> bson int in C encoder 2009-02-19 13:04:56 -05:00
Mike Dirolf
e37432d917 spam 2009-02-18 17:35:13 -05:00
Mike Dirolf
016a7b1c84 update driver tests to run gridfs tests 2009-02-18 16:44:01 -05:00
Mike Dirolf
db25c8b0dd url_encode and url_decode for ObjectIds 2009-02-18 14:46:09 -05:00
Mike Dirolf
376d6e0485 enable test 2009-02-18 13:34:09 -05:00
Mike Dirolf
c1bcc668ca add md5 to gridfs files. one commented out test until the filemd5 command gets fixed 2009-02-18 12:03:58 -05:00
Mike Dirolf
2f529ebcfa fix doc 2009-02-17 11:50:53 -05:00
Mike Dirolf
1c33cfe219 doc 2009-02-17 11:48:13 -05:00
Mike Dirolf
4362fafd24 bumping version. added connection pooling and a fix to fail on insert instead of query when using non utf-8 strings 2009-02-17 11:39:33 -05:00
Mike Dirolf
724342623d quick test for creating an index on binary data - jeff wants to be sure this works 2009-02-17 11:05:29 -05:00
Mike Dirolf
fc08abcbfa make sure we fail fast on when we get a string that's not utf-8 2009-02-17 10:53:03 -05:00
Mike Dirolf
413851ddc0 reset on a 'not master' from lasterror 2009-02-12 17:38:29 -05:00
Mike Dirolf
146567764f reconnect on 'not master' errors 2009-02-12 17:31:39 -05:00
Mike Dirolf
bc1450d8af this error checking already gets performed in _refresh() 2009-02-12 17:25:23 -05:00
Mike Dirolf
813bedd352 doc for auto reconnection 2009-02-12 17:11:10 -05:00
Mike Dirolf
7059df8839 call reset for any kind of ConnectionFailure 2009-02-12 16:51:25 -05:00
Mike Dirolf
f751f6b0a4 basic auto reconnection 2009-02-12 16:36:33 -05:00
Mike Dirolf
17788927fd update test to keep up w/ change to error message 2009-02-12 15:30:04 -05:00
Mike Dirolf
8f56e2c227 use kwargs instead of options dict for pooling options 2009-02-12 15:20:41 -05:00
Mike Dirolf
35eaef2a1a comment out non-deterministic tests 2009-02-12 14:51:16 -05:00
Mike Dirolf
e9e8a22431 increase test margins 2009-02-12 14:20:33 -05:00
Mike Dirolf
c781322ad0 compatible with python 2.5 2009-02-12 13:06:26 -05:00
Mike Dirolf
23645597a6 outdated TODOs 2009-02-12 12:18:46 -05:00
Mike Dirolf
fdd451e243 multi-threaded pooling test 2009-02-12 12:17:40 -05:00
Mike Dirolf
5f81ed4d72 initialize SON in the method body, not as a default argument (this bug caught me somewhere else at some point 2009-02-12 12:17:39 -05:00
Mike Dirolf
48275e70da test for a paired connection w/ connection pooling, some fixes 2009-02-12 12:17:39 -05:00
Mike Dirolf
802963df1a TODO. note about pooling w/ auth 2009-02-12 12:17:21 -05:00
Mike Dirolf
7560be2ddb a couple of tests 2009-02-12 12:17:21 -05:00
Mike Dirolf
3e9395a48e documentation for start_request and end_request 2009-02-12 12:17:21 -05:00
Mike Dirolf
a18692b8b9 shuffle choices so that when auto_start_request is off we still distribute messages somewhat evenly 2009-02-12 12:17:21 -05:00
Mike Dirolf
35a34461b8 largely untested attempt at pooling as described on wiki. no auth support yet though 2009-02-12 12:17:21 -05:00
Mike Dirolf
ef429d86d4 add really basic test. revert to default pool_size of 1 2009-02-12 12:17:21 -05:00
Mike Dirolf
219b76f5e9 pooling. use same socket repeatedly for same thread. increment request_id atomically. 2009-02-12 12:16:54 -05:00
Mike Dirolf
ce93c21df4 push lock acquire and release down to connection. prepare for pooling by acquiring and releasing sockets individually 2009-02-12 11:37:50 -05:00
Mike Dirolf
9502726ae0 update hint test since db is getting smarter... 2009-02-12 11:37:03 -05:00
Mike Dirolf
599efff16d exclude _cbson from docs 2009-02-11 15:17:38 -05:00
Mike Dirolf
2323e04c25 bumping in preparation for tomorrow's release 2009-02-10 18:12:26 -05:00
Mike Dirolf
6bd9edbe01 sanity check 2009-02-10 16:06:13 -05:00
Mike Dirolf
67da096b2b test that killCursors is happening when expected 2009-02-10 15:48:51 -05:00
Mike Dirolf
dfb19383da test and fix for a find returning only specific fields 2009-02-10 14:39:36 -05:00