Commit Graph

1794 Commits

Author SHA1 Message Date
Glenn Maynard
4ecbd22c19 Initialize ObjectId._inc to a random value.
This is required to prevent collisions on very large clusters.  See
https://groups.google.com/forum/?fromgroups#!topic/mongodb-user/ajgO9wUxbos
for details.  Other drivers also initialize this field to a random value.
2012-06-15 10:21:34 -07:00
A. Jesse Jiryu Davis
e1bde1bed9 More rational and reliable test_max_pool_size, especially with Gevent 2012-06-12 15:32:09 -04:00
A. Jesse Jiryu Davis
97385ca542 Fix potential race conditions in test_collection PYTHON-357 2012-06-12 15:31:59 -04:00
A. Jesse Jiryu Davis
eeef9179ec Fix connection leak in mod_wsgi 2.x and Python <= 2.6: Instead of storing SocketInfos in threadlocals, watch for thread death with a weakref callback to a generic threadlocal PYTHON-353 2012-06-12 10:05:37 -04:00
A. Jesse Jiryu Davis
58b3d646bd Debug occasionally-failing test_large_limit 2012-06-10 00:04:16 -04:00
behackett
e3f3bf23ea Skip IPv6 for 'localhost' PYTHON-356
This works around Winsock's misfeature of
re-trying connections 3 times before failing,
making localhost connections slow on Windows.
If you must use IPv6 on localhost pass ::1
as host.
2012-06-06 17:56:55 -07:00
Bernie Hackett
f4ec4be807 Avoid encoding errors with pickle.loads PYTHON-355.
This works around issues caused by applications that
use sys.setdefaultencoding to set an interpreter-wide
encoding other than ascii or utf8. This is only an
issue in python 2.x. In python 3.0 and 3.1
setdefaultencoding is a noop. It was completely
removed in python 3.2.
2012-05-30 09:56:03 -07:00
behackett
7df3540e50 Update distribute_setup.py 2012-05-01 15:38:38 -07:00
behackett
5f8765a0d7 Update trove classifiers for various python3 lists
PyPi specifically needs "Programming Language :: Python :: 3"
(not 3.1 or 3.2) to add pymongo to the "Python 3 Packages" list.
2012-05-01 15:35:51 -07:00
behackett
55d8e1163f Version -> + 2012-05-01 15:31:19 -07:00
behackett
ddf523d8ec BUMP 2.2 2012-04-30 13:36:35 -07:00
behackett
a220c237e2 Update batch_size docstring PYTHON-350 2012-04-30 12:21:24 -07:00
Bernie Hackett
3695ddb0d8 Minor install doc updates. 2012-04-30 07:50:35 -07:00
Bernie Hackett
0e026ede7e More doc cleanups. 2012-04-29 20:51:48 -07:00
Bernie Hackett
7317776574 Minor doc cleanup for Python 3. 2012-04-29 20:38:53 -07:00
A. Jesse Jiryu Davis
534073b08a Updating Gevent docs PYTHON-296 2012-04-29 21:34:05 -04:00
A. Jesse Jiryu Davis
f2cd5c6f2b Slightly refactor threading tests 2012-04-29 21:34:05 -04:00
Bernie Hackett
e83ad81522 Fix test for older mongod versions. 2012-04-29 13:10:57 -07:00
Bernie Hackett
1a0b180cd7 Avoid interpreter teardown exceptions. 2012-04-29 10:18:42 -07:00
A. Jesse Jiryu Davis
ac0ccc683a More reliable connection-pool test 2012-04-26 17:50:20 -04:00
A. Jesse Jiryu Davis
77b728ee68 Slight updates to greenlet / Gevent documentation 2012-04-26 11:02:32 -04:00
A. Jesse Jiryu Davis
a5761ff266 Skip test that fails due to SERVER-2329 2012-04-24 23:39:25 -04:00
behackett
2965128732 OSX C extension build issue clarifications. 2012-04-24 14:02:04 -07:00
behackett
cb0ffba632 Clarify python2/3 pickle issues. 2012-04-24 13:38:55 -07:00
A. Jesse Jiryu Davis
1ee89a1fe9 Fix test bug. 2012-04-24 14:55:01 -04:00
A. Jesse Jiryu Davis
a4996f3754 More reliable socket-reclamation tests, especially on Windows 2012-04-23 21:06:36 -04:00
behackett
f9a358c10a Version -> + 2012-04-23 16:11:09 -07:00
behackett
2afb2bf304 BUMP 2.2rc1 2012-04-23 14:08:30 -07:00
behackett
28ed110957 Support different pre/post release tags. 2012-04-23 12:49:55 -07:00
A. Jesse Jiryu Davis
326b710382 More reliable multithread tests on slow machines 2012-04-23 15:23:20 -04:00
behackett
6b056ee84d Document installing a release candidate. 2012-04-23 11:01:09 -07:00
Bernie Hackett
b927d645b6 Updated build/install/release docs. 2012-04-22 00:38:12 -07:00
A. Jesse Jiryu Davis
5108100457 Ensure all test threads are daemonic, attempt a more reliable Master Slave test_kill_cursor_explicit 2012-04-21 14:28:46 -04:00
A. Jesse Jiryu Davis
839d3af512 Daemonize threads used in tests so failed test won't hang process 2012-04-21 07:13:06 -06:00
A. Jesse Jiryu Davis
2a8568162c test_large_limit debugging 2012-04-21 07:05:07 -06:00
A. Jesse Jiryu Davis
770cde3e48 test_large_limit debugging 2012-04-21 06:54:08 -06:00
A. Jesse Jiryu Davis
f293acdf42 Pooling-test fix 2012-04-20 22:07:45 -04:00
Bernie Hackett
41050fc269 Minor doc updates for 2.2 2012-04-20 17:32:15 -07:00
behackett
e0fcc9825f Fix a minor docstring issue. 2012-04-20 15:57:24 -07:00
behackett
1b7cfb50ea Fix interpreter shutdown exception PYTHON-316 2012-04-20 15:35:36 -07:00
behackett
b31f411320 More changelog updates. 2012-04-20 14:51:18 -07:00
behackett
e02ee18672 Minor gevent doc fixes. 2012-04-20 13:41:51 -07:00
behackett
83745027f2 Fix compiler warnings on Windows.
These are no longer needed due to a previous change.
2012-04-20 12:51:09 -07:00
behackett
c249dc275d Add Mike O'Brien and Chris Tompkinson to contributors. 2012-04-20 11:24:42 -07:00
behackett
5e2bb752f8 Initial changelog update for 2.2. 2012-04-20 11:00:48 -07:00
behackett
c66b68beb0 Python 3 FAQ. 2012-04-20 10:41:29 -07:00
behackett
19792227f8 Minor test_replica_set fixes. 2012-04-19 20:20:16 -07:00
behackett
0ee7170cc2 It's 2012... 2012-04-19 12:40:38 -07:00
behackett
59ec2fdc08 Fix doc issues related to dochub.mongodb.org 2012-04-19 12:01:18 -07:00
A. Jesse Jiryu Davis
3abf8756e7 Master-slave test fix 2012-04-19 08:24:45 -04:00