Skip to content

Conversation

@ShaneHarvey
Copy link
Member

A small docs improvement for https://jira.mongodb.org/browse/PYTHON-3259.

now defaults to ``False`` instead of ``True``. ``json_util.loads`` now
decodes datetime as naive by default.
now defaults to ``False`` instead of ``True``. :meth:`bson.json_util.loads` now
decodes datetime as naive by default. See :ref:`tz_aware_default_change` for more info.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It might be worth saying something like "...to match the default behavior of bson.decode".

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done. I added it to the migration guide.

Copy link
Member

@blink1073 blink1073 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@ShaneHarvey ShaneHarvey merged commit a7579b0 into mongodb:master May 10, 2022
juliusgeo pushed a commit to juliusgeo/mongo-python-driver that referenced this pull request Jun 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants