Commit Graph

18 Commits

Author SHA1 Message Date
Bernie Hackett
507f954ed4 Update copyright dates 2017-12-01 17:23:39 -08:00
Bernie Hackett
e1850d8abe PYTHON-988 - Deprecate cursor managers and kill_cursors 2016-06-17 10:08:14 -07:00
Bernie Hackett
aec685b374 Fix up copyright dates. 2015-03-25 11:55:02 -07:00
Bernie Hackett
3f3b6bedfc PYTHON-846 - Database.connection -> Database.client 2015-02-25 11:57:39 -08:00
A. Jesse Jiryu Davis
79dd0e4758 Update cursor management for PyMongo 3.0.
CursorManager was deprecated in PYTHON-323. Now we undeprecate it, but we remove
BatchCursorManager. MongoClient.set_cursor_manager now accepts None in addition
to accepting a CursorManager subclass. CursorManager.close now requires, and
MongoClient.kill_cursors accepts, an "address" parameter.
2014-12-03 17:16:11 -05:00
Luke Lovett
d494105aa4 PYTHON-674 python 2/3 single-source for the pymongo module 2014-04-23 18:26:18 +00:00
Bernie Hackett
e08aa1f90d PYTHON-525 Remove (ReplicaSet)Connection.
Use MongoClient or MongoReplicaSetClient instead.
2014-04-04 16:56:25 -07:00
A. Jesse Jiryu Davis
2fa1750b07 Update copyright notices and company name. 2014-01-31 09:36:46 -05:00
behackett
0ee7170cc2 It's 2012... 2012-04-19 12:40:38 -07:00
behackett
2b5289021f Deprecate cursor manager support PYTHON-323 2012-04-17 22:05:05 -04:00
behackett
70aa18477a Fix three circular reference problems.
This fixes three circular references that stop
Connection instances from being deallocated by
the standard ref counting GC.

Database and SystemJS instances
Connection and CursorManager instances
_Pool and Connection (through a bound method)

Previously if you did something like:

>>> c = pymongo.Connection()
>>> c = None

'c' wouldn't be deallocated. This is a problem for
at least two reasons...
1. memory is wasted in the interpreter
2. sockets aren't being closed until the main thread exits.

This also fixes the real problem with unit tests
failing on OSX.
2011-04-14 12:01:26 -07:00
Mike Dirolf
3d7240e57f It's 2010! 2010-01-30 10:48:26 -05:00
Mike Dirolf
d80de9cb13 minor: remove all uses of types module 2010-01-26 13:31:36 -05:00
Mike Dirolf
b8b4a04442 PEP 8 - no functional changes 2009-06-05 16:19:49 -04:00
Mike Dirolf
0462726907 documentation: use epydoc format for rST parameter lists 2009-01-27 11:01:26 -05:00
Mike Dirolf
88a62b0c3e license 2009-01-22 15:10:00 -05:00
Mike Dirolf
37f164629e doc updates 2009-01-22 11:32:45 -05:00
Mike Dirolf
d6c0ec39a3 create package pymongo and move all pymongo related modules there 2009-01-22 10:44:26 -05:00