PYTHON-1010 write_dict now checks the error indicator when exiting iteration loop
PYTHON-1010 write_dict now checks the error indicator when exiting iteration loop

mongodb/mongo-python-driver,mongodb/mongo-python-driver,mongodb/mongo-python-driver,ramnes/mongo-python-driver,aherlihy/mongo-python-driver,aherlihy/mongo-python-driver,ShaneHarvey/mongo-python-driver,ShaneHarvey/mongo-python-driver,aherlihy/mongo-python-driver,ramnes/mongo-python-driver,ShaneHarvey/mongo-python-driver,ramnes/mongo-python-driver