re-create the cursor object whenever we apply read_preference

This commit is contained in:
Stefan Wojcik
2015-06-24 22:34:38 -07:00
parent 6868f66f24
commit a7aead5138
3 changed files with 49 additions and 1 deletions

View File

@@ -7,6 +7,7 @@ Changes in 0.10.2
- Allow shard key to point to a field in an embedded document. #551
- Allow arbirary metadata in fields. #1129
- ReferenceFields now support abstract document types. #837
- Fix `read_preference` (it had chaining issues with PyMongo 2.x and it didn't work at all with PyMongo 3.x) #1042
Changes in 0.10.1
=======================