Commit Graph

389 Commits

Author SHA1 Message Date
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
Mike Dirolf
75232ceefa dont time remove(), decipherable output 2009-02-10 14:16:03 -05:00
Mike Dirolf
3f34c877cf jim's benchmark 2009-02-10 14:10:37 -05:00
Mike Dirolf
4481dac627 use hard limit 2009-02-10 13:37:43 -05:00
Mike Dirolf
fe5cc78d9a outdated TODO 2009-02-10 10:43:18 -05:00
Mike Dirolf
a2ca040551 consolidate index document generation 2009-02-10 10:35:13 -05:00
Mike Dirolf
a6b77c347b minor changes to appease pychecker 2009-02-10 09:55:19 -05:00
Mike Dirolf
453cc617f5 no way this was working, so don't even try to auto-reconnect (for now) 2009-02-09 17:48:43 -05:00
Mike Dirolf
749fd7fd1c bumping - fallover to python correctly if c extension doesn't build 2009-02-09 17:43:41 -05:00
Mike Dirolf
4f66ac7f08 don't fail if the C extension fails to build 2009-02-09 16:56:59 -05:00
Mike Dirolf
ff31222ebf doc 2009-02-09 16:14:34 -05:00
Mike Dirolf
2bbe311c2a simple tool that fails if the _cbson module doesn't exist 2009-02-09 16:14:21 -05:00
Mike Dirolf
4a731c4c0d don't worry about it if the file is already missing 2009-02-09 15:31:35 -05:00
Mike Dirolf
db586564a9 Python version of the quick tour 2009-02-09 11:09:51 -05:00
Mike Dirolf
13b9bca3a9 point to mongodb.org, not onconfluence 2009-02-09 10:58:01 -05:00
Mike Dirolf
e9e4d4d09c update README example output 2009-02-09 10:50:57 -05:00
Mike Dirolf
10f4e67d93 Python BSON decoder returns a plain dictionary instead of SON.
This matches the behavior of the C decoder (returning SON using the C
decoder is dramatically slower than returning a plain dict). This also hides
from the user the fact that BSON is ordered - internally we use SON when
needed (to make sure that _id is first, to make sure that command verbs are
first), but for user documents it shouldn't matter anyway.
2009-02-09 10:41:45 -05:00
Mike Dirolf
1008ec0583 add collection-level count() w/o having to do an empty find() first 2009-02-09 10:27:41 -05:00
Mike Dirolf
fc3ef96800 remove Mongo class.
this has been deprecated for some time, in favor of creating a Connection
instance and getting a Database instance from the connection. i'm removing
this before the release because i'd rather not have people get confused as
to why it is lying around.

the only real useful functionality left here that isn't recreated elsewhere
is auto-ref and auto-deref. this will probably get added back to the driver
as a SONManipulator at some point.
2009-02-09 10:10:03 -05:00
Mike Dirolf
77ae3fc2c3 make testing environment variables UPPERCASE_WITH_UNDERSCORES 2009-02-06 17:22:58 -05:00
Mike Dirolf
304a53ed7d update README - add nose as dependency and note that we have tested on 2.5 and 2.6 2009-02-06 17:03:20 -05:00
Mike Dirolf
eba390fd5e use hashlib instead of (deprecated) md5 module 2009-02-06 16:56:18 -05:00
Mike Dirolf
0c9c4e7252 bumping 2009-02-06 16:09:31 -05:00
Mike Dirolf
40afeaba27 subtype is unsigned, another test 2009-02-06 16:07:19 -05:00
Mike Dirolf
2d7d198b7c add test that is failing for c decoder 2009-02-06 16:01:12 -05:00
Mike Dirolf
abbd6c0520 last of the leaks: encoding oids and dbrefs 2009-02-06 16:00:45 -05:00
Mike Dirolf
8ac859d8f0 encode re extra refs 2009-02-06 15:44:51 -05:00
Mike Dirolf
b713054689 decoding binary undecremented ref 2009-02-06 15:37:54 -05:00
Mike Dirolf
a15877f357 more reference count cleanup 2009-02-06 15:03:55 -05:00
Mike Dirolf
dbc05c7d23 think this cleans up all the leaks on the encoding side 2009-02-06 14:56:35 -05:00
Mike Dirolf
4e555bf5e6 more work on getting reference counts right 2009-02-06 14:37:13 -05:00
Mike Dirolf
3ffc1b5109 start patching leaks 2009-02-06 12:06:26 -05:00
Mike Dirolf
04e2fc00c9 make a better note of what is going on here 2009-02-06 10:57:42 -05:00
Mike Dirolf
4132b38704 possible leak 2009-02-06 10:53:53 -05:00
Mike Dirolf
c9b7f2e40f add MANIFEST file to include additional files in source distribution (this only happens automatically for svn and cvs). only use ez_setup if necessary. bump version 2009-02-06 10:00:34 -05:00
Mike Dirolf
c220a6031b bumping version 2009-02-05 17:18:40 -05:00
Mike Dirolf
0b5b331fb7 finish and enable C decoder 2009-02-05 17:08:44 -05:00
Mike Dirolf
70e7e1a4fd make test more lenient 2009-02-05 17:08:32 -05:00
Mike Dirolf
fc8afb6f44 oid, datetime, and dbref C decoders 2009-02-05 16:43:10 -05:00
Mike Dirolf
1305da2624 c encoder for Binary 2009-02-05 16:09:14 -05:00
Mike Dirolf
e755e41df8 undefined -> None too 2009-02-05 15:48:08 -05:00
Mike Dirolf
8c5a5d256a array, object, and null C decoders 2009-02-05 15:44:25 -05:00
Mike Dirolf
4dfcf3e872 more accurate benchmarking by adding _to_dict helper 2009-02-05 15:43:43 -05:00
Mike Dirolf
1b535bbbb2 hide to_dicts as _to_dicts 2009-02-05 15:40:07 -05:00
Mike Dirolf
49b1ecd591 write chunks before writing new file length 2009-02-05 15:09:55 -05:00
Mike Dirolf
1ffd0773e5 Revert "hopefully faster way to create SON"
unnecessary.

This reverts commit d1e2980046.
2009-02-05 14:44:01 -05:00
Mike Dirolf
f5aa8f66f1 just alias cProfile to profile 2009-02-05 14:43:02 -05:00