Commit Graph

18 Commits

Author SHA1 Message Date
behackett
3603d05ce1 Switch default Binary subtype from 2 to 0. 2011-08-01 15:33:24 -07: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
jbergstroem
ec22172030 s/failIf/assertFalse 2010-08-11 03:44:06 +08:00
Mike Dirolf
790f87be4a actually, keep using subtype 2 as default for a while 2010-06-17 11:37:19 -04:00
Mike Dirolf
ce965158d6 use subtype 0 as default for Binary, instead of 2 2010-06-16 12:13:25 -04:00
Mike Dirolf
3d7240e57f It's 2010! 2010-01-30 10:48:26 -05:00
Mike Dirolf
82f84b9f3f Binary instances should never compare equal to str instances 2009-11-10 17:10:50 -05:00
Mike Dirolf
d2a47c5342 minor: more PEP 8 2009-06-05 17:18:09 -04:00
Mike Dirolf
3262cfc215 make subtype a property instead of a regular method 2009-03-12 11:52:52 -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
beb8e7def4 test equality 2009-02-02 10:04:49 -05:00
Mike Dirolf
5c65676543 can initialize a new Binary instance with a subtype 2009-02-02 09:10:08 -05:00
Mike Dirolf
fca52eaf96 remove spurious is_binary method 2009-01-29 10:54:00 -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
f42889acf1 repr for binary 2009-01-23 16:50:42 -05:00
Mike Dirolf
e83f91f1f8 binary wrapper 2009-01-23 16:35:03 -05:00