Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on May 30, 2011
  1. @behackett
  2. @behackett
  3. @behackett

    Database SON manipulator properties PYTHON-150

    behackett authored
    This change adds properties to database.Database
    to list the class names of installed SON manipulators
    including duplicates.
  4. @behackett
Commits on May 29, 2011
  1. @behackett
  2. @behackett
  3. @behackett

    Add 'with' statement support to cursors PYTHON-39

    Mher Movsisyan authored behackett committed
  4. @delijati @behackett
  5. @behackett
  6. @jonashaag @behackett

    Tests for PYTHON-209

    jonashaag authored behackett committed
  7. @jonashaag @behackett
Commits on May 28, 2011
  1. @behackett
  2. @behackett
Commits on May 27, 2011
  1. @behackett
  2. @behackett
  3. @behackett
Commits on May 25, 2011
  1. @behackett
  2. @behackett
Commits on May 23, 2011
  1. @behackett
  2. @behackett

    Direct connection if one host provided PYTHON-176

    behackett authored
    If only one host is provided try to connect to just
    that node and fail otherwise. Previously if the single
    host was part of a replica set we would try to find the
    set's primary based on other hosts returned by an
    'ismaster' query.
    
    We make a direct connection to a single host even if
    it's a secondary in a replica set. slaveok is no longer
    considered when making a connection.
    
    If multiple hosts are provided we still try to find a
    master/primary and fail if we can't.
Commits on May 19, 2011
  1. @behackett

    slaveok and safe enhancement PYTHON-181 PYTHON-246

    behackett authored
    This change adds a new module common.py with some
    common functions and classes used in a number of
    pymongo modules.
    
    The most important of these is the BaseObject class.
    This provides a new base class that Connection, Database,
    and Collection inherit from. The class provides attributes
    common to each of these subclasses including slave_okay,
    safe and getlasterror options.
    
    With this change you can now set slaveok, safe, w, wtimeout,
    fsync and j at the Connection, Database, Collection or per-
    operation level. Each level inherits from and can override
    the previous.
    
    All of these options are now supported as keyword parameters
    to connection.Connection and in the mongodb URI.
Commits on May 9, 2011
  1. @behackett
  2. @behackett

    Add a new uri_parser module PYTHON-243

    behackett authored
    This change moves the URI parsing code out
    of pymongo.connection and into a new module,
    pymongo.uri_parser. It also adds validation
    for all MongoDB URI options currently supported
    by pymongo as well as some that will be supported
    in pymongo-2.0. an UnsupportedOption error
    (inheriting from ConfigurationError) is raised
    if the URI includes an option pymongo doesn't
    support or recognize.
    
    The primary entry point for uri_parser is
    uri_parser.parse_uri which returns a dict of the
    results from parsing the URI. See the documentation
    for more details
Commits on May 6, 2011
  1. @behackett

    Merge branch 'pymongodev'

    behackett authored
  2. @behackett

    Fix up SystemJS doc string.

    behackett authored
  3. @behackett
  4. @behackett
  5. @behackett

    Catch only UnicodeError for string decode failure.

    behackett authored
    The default exception (which we use) for decode
    failures is UnicodeError or a subclass of it.
    
    This fixes a unittest that forces RuntimeError. We
    shouldn't use blanket except blocks either way.
  6. @behackett

    version -> +

    behackett authored
Commits on May 5, 2011
  1. @behackett

    BUMP 1.11

    behackett authored
  2. @behackett
  3. @behackett

    A few minor doc cleanups.

    behackett authored
  4. @behackett
  5. @behackett

    More work on Database.validate_collection

    behackett authored
    Added scandata as a keyword parameter before
    the full parameter.
    
    validate_collection works with sharding in
    MongoDB versions before 1.9 now.
Commits on May 4, 2011
  1. @behackett
Something went wrong with that request. Please try again.