Commit Graph

25 Commits

Author SHA1 Message Date
Mike Dirolf
a3a8cf2d79 BUMP 1.8 - see changelog for details 2010-08-05 10:04:37 -04:00
Mike Dirolf
159ebcc62d support for w, wtimeout, fsync, and any future getlasterror options 2010-08-03 11:24:24 -04:00
Mike Dirolf
9307c3d011 More flexible host parameter for Connection.
Can take a MongoDB URI (replaces Connection.from_uri) or a list of
hosts/URIs. In preparation for supporting replsets.
2010-07-12 11:24:46 -04:00
Mike Dirolf
a125034837 add code attribute to OperationFailure exceptions 2010-06-21 12:23:57 -04:00
jbergstroem
69a87923bb PEP8 fixes (only .py for now)
Signed-off-by: Mike Dirolf <mike@10gen.com>
2010-06-04 14:07:02 -04:00
Mike Dirolf
4817ba8770 BUMP 1.5 -- see changelog for details 2010-03-10 14:12:20 -05:00
Mike Dirolf
343eb506d7 adding Connection.from_uri to support the mongodb URI scheme 2010-02-10 13:29:46 -05:00
Mike Dirolf
0d82e561f7 minor: DuplicateKeyError only works for server version >= 1.3 - fix test for earlier versions 2010-01-31 17:24:44 -05:00
Mike Dirolf
3d7240e57f It's 2010! 2010-01-30 10:48:26 -05:00
Mike Dirolf
80537456c3 BUMP 1.4 - see changelog for details 2010-01-27 12:07:42 -05:00
Mike Dirolf
33de6b8d0d minor: PEP-8 2010-01-12 17:10:10 -05:00
Mike Dirolf
2307a7852b minor: doc 2010-01-12 16:52:08 -05:00
Mike Dirolf
c8e64f4c02 Use PyMongoError instead of BaseMongoDBException
Note that this is changing the exception hierarchy somewhat as well,
as I would rather not muck things up with multiple inheritance. This
is a breaking change if you depend on ConnectionFailure being an
IOError or InvalidBSON being a ValueError, for example. If this
creates issues for anybody please let us know and we can figure out a
better workaround.

Also add Michael to contributors list.
2010-01-12 16:47:50 -05:00
Michael Schurter
8e50ffb272 Added base exception class to all MongoDB exceptions 2010-01-13 05:37:06 +08:00
Mike Dirolf
aadf642fc0 minor: version info 2010-01-12 15:33:43 -05:00
Mike Dirolf
dd5237c113 adding DuplicateKeyError for safe inserts/updates 2010-01-12 12:29:33 -05:00
Mike Dirolf
54be5db873 removing all support for mongo-qa tests
allows us to remove SON.from_xml
  - not deprecating this as it was used internally only AFAIK

therefore eliminates driver dependency on elementtree
2010-01-05 14:20:12 -05:00
Mike Dirolf
7a8d2d2930 minor: doc 2009-12-01 13:30:54 -05:00
Mike Dirolf
1b395b0d53 minor: (DOC) clarify desired performance of auto-reconnect 2009-11-23 10:15:33 -05:00
Mike Dirolf
93e61c388b add InvalidStringData exception and speed up check for c extension string encoding 2009-08-28 16:38:27 -04:00
Mike Dirolf
090cba97a4 raise AutoReconnect instead of plain ConnectionFailure if we're going to try to reconnect 2009-07-06 11:02:42 -04:00
Mike Dirolf
b8b4a04442 PEP 8 - no functional changes 2009-06-05 16:19:49 -04:00
Mike Dirolf
9e94f219b3 starting work on pairing - will connect to master when given a pair. but doesn't handle auto-reconnection yet 2009-01-28 13:12:20 -05:00
Mike Dirolf
88a62b0c3e license 2009-01-22 15:10:00 -05:00
Mike Dirolf
d6c0ec39a3 create package pymongo and move all pymongo related modules there 2009-01-22 10:44:26 -05:00