Skip to content

Conversation

estobbart
Copy link

Spawned from SO discussion

@behackett
Copy link
Member

Can you tell me what you are using these helpers for?

@behackett behackett self-assigned this Dec 9, 2015
@estobbart
Copy link
Author

It was a compound problem. When returning from json_utils a python datetime becomes aware even if by default in python it's naive. And a python datetime includes microseconds and the Date obj stores milliseconds. This made it so a dumps/loads can't be compared for this type, seems to be only this type.

I was hoping for utilities to help with this. We use a lot of dumps/loads roundtrips for testing.

@behackett
Copy link
Member

PYTHON-1111 tracks solving this problem, along with a number of other json_util issues.

@behackett behackett closed this Jul 12, 2016
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.

2 participants