Bernie Hackett
507f954ed4
Update copyright dates
2017-12-01 17:23:39 -08:00
Bernie Hackett
53a7bea492
PYTHON-1022 - Drop support for Python 3.2
...
This change removes the u() helper from bson.py3compat
and all of its uses in the driver and tests. PyPy3 continues
to be supported since, even though it is based on python 3.2.5,
it has always supported the u string prefix.
The README and install docs are now explicit about PyPy(3) support.
2016-06-15 10:05:43 -07:00
Bernie Hackett
aec685b374
Fix up copyright dates.
2015-03-25 11:55:02 -07:00
Luke Lovett
141200083e
PYTHON-680 Stop using nose in favor of pure unittest/unittest2
2014-04-25 22:57:33 +00:00
Luke Lovett
4d6d1e067b
PYTHON-676 python 2/3 single-source for the test module
2014-04-23 18:37:02 +00:00
A. Jesse Jiryu Davis
cb6ded32aa
Unused import.
2014-03-05 10:37:57 -05:00
Bernie Hackett
502b7d4c0c
Fix tox compatibility.
...
The tox testing tool has dropped support for python 2.5
(and therefore jython) and by default sets PYTHONHASHSEED
to a random value. pip is dropping python 3.1 in its next
release so we might as well drop that from tox.ini now as
well.
2014-02-25 12:35:37 -08:00
A. Jesse Jiryu Davis
2fa1750b07
Update copyright notices and company name.
2014-01-31 09:36:46 -05:00
A. Jesse Jiryu Davis
f1f7b14bf6
Allow MongoClients to be GC'ed after test runs.
...
Work around http://bugs.python.org/issue11798 to reduce max connection count during tests.
2013-08-27 09:00:50 -04:00
Ross Lawley
29b9de45db
Added __ne__ for DBRefs PYTHON-440
2012-11-22 11:12:36 +00:00
behackett
0ee7170cc2
It's 2012...
2012-04-19 12:40:38 -07:00
behackett
12592be1fe
Python 3 unittest changes PYTHON-84.
2012-03-28 11:53:47 -07:00
behackett
2d21ba9376
Replace deprecated unittest assert method aliases.
...
assert_ -> assertTrue
assertEquals -> assertEqual
This is needed to clean up deprecation warnings
in python >= 3.2
2012-03-16 17:20:21 -07:00
Ross Lawley
486c3ce24a
PYTHON-318 - Fix for SON pickling protocol 2
...
Updated tests to check protocol pickling as well
2012-02-08 14:59:33 -08:00
behackett
2ed05bec70
PEP8 cleanups.
2011-04-06 14:57:17 -07:00
behackett
f11a1cb00b
Move DBRef hash test to the right module.
2011-04-05 10:13:57 -07:00
behackett
1d1d8729fd
Fix pickling/unpickling of DBRef PYTHON-231
2011-04-05 09:46:21 -07:00
Mathias Stearn
a19fd9b8dc
Support deepcopy of DBRef PYTHON-169
2010-10-19 14:07:39 -04:00
Mike Dirolf
9c182809f3
Create a separate bson package PYTHON-60
...
Many of the pymongo modules have been moved into the bson
package. Aliases for those modules have been added to the pymongo
package, without deprecation warnings for now. Application developers
should begin to use the bson namespace, as deprecation of moved
modules will probably begin in the next release.
2010-09-14 13:52:50 -04:00
Mike Dirolf
6b0a9ccb62
Allow additional keys to be added to DBRef instances. PYTHON-133
2010-06-21 17:26:38 -04: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
b4cb9be0d3
Add database support to DBRefs (as )
2009-11-10 14:54:39 -05:00
Joakim Sernbrant
8e507816ad
* ObjectId: changed str and repr to hex
...
* ObjectId: can now take a hex string in the constructor
Signed-off-by: Mike Dirolf <mike@10gen.com>
2009-08-28 13:49:56 -04:00
Mike Dirolf
90beef7b20
minor: more PEP 8
2009-06-05 16:54:02 -04:00
Mike Dirolf
708f12a33a
_id can be anything in DBRef instance
2009-03-17 10:43:25 -04:00
Mike Dirolf
396d4ded9d
make collection, id properties of dbref
2009-03-12 13:45:07 -04: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
dab986f3da
change sys.path unconditionally to work around people who have the egg installed
2009-01-28 15:32:42 -05:00
Mike Dirolf
eb5af47c57
don't append - insert at beginning
2009-01-28 15:09:24 -05:00
Mike Dirolf
ef63bbe81e
add '' to sys.path so test files can be run as python test/test_whatever.py
2009-01-28 14:44:35 -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
Mike Dirolf
f0faace470
move dbref tests to test directory
2009-01-16 15:02:55 -05:00