Compare commits

...

4 Commits
master ... v3.3

Author SHA1 Message Date
Luke Lovett
efd443f1bc BUMP 3.3.1 2016-10-26 13:36:06 -07:00
Luke Lovett
9dc990f077 PyMongo 3.3.1 changelog 2016-10-26 13:35:03 -07:00
Petr Messner
04667fd3af Fix ref count management when building _element_to_dict result tuple 2016-10-25 16:01:49 -07:00
Luke Lovett
8e8bb00c21 Version -> 3.3.1.dev0 2016-10-25 16:01:43 -07:00
4 changed files with 19 additions and 3 deletions

View File

@ -2577,7 +2577,7 @@ static PyObject* _cbson_element_to_dict(PyObject* self, PyObject* args) {
return NULL;
}
result_tuple = Py_BuildValue("OOi", name, value, new_position);
result_tuple = Py_BuildValue("NNi", name, value, new_position);
if (!result_tuple) {
Py_DECREF(name);
Py_DECREF(value);

View File

@ -1,6 +1,21 @@
Changelog
=========
Changes in Version 3.3.1
------------------------
Version 3.3.1 fixes a memory leak when decoding elements inside of a
:class:`~bson.raw_bson.RawBSONDocument`.
Issues Resolved
...............
See the `PyMongo 3.3.1 release notes in Jira`_ for the list of resolved issues
in this release.
.. _PyMongo 3.3.1 release notes in Jira: https://jira.mongodb.org/browse/PYTHON/fixforversion/17636
Changes in Version 3.3
----------------------

View File

@ -70,7 +70,8 @@ SLOW_ONLY = 1
ALL = 2
"""Profile all operations."""
version_tuple = (3, 3, 0)
version_tuple = (3, 3, 1)
def get_version_string():
if isinstance(version_tuple[-1], str):

View File

@ -26,7 +26,7 @@ from distutils.errors import CCompilerError, DistutilsOptionError
from distutils.errors import DistutilsPlatformError, DistutilsExecError
from distutils.core import Extension
version = "3.3.0"
version = "3.3.1"
f = open("README.rst")
try: