[issue16179] hashlib.md5 / json inconsistency

2012-10-10 Thread Robin Åsén
Robin Åsén added the comment: Yes, you are quite right. Somewhere in the back of my head I had a feeling I should understand what was happening, hence my comment "Am I doing something wrong here?". I just couldn't see it. Thank you. -- ___

[issue16179] hashlib.md5 / json inconsistency

2012-10-09 Thread Robin Åsén
New submission from Robin Åsén: I am getting inconsistent behavior when getting an md5 hexdigest on a json structure that's converted to a string. Am I doing something wrong here? import json import hashlib data = '''{"key1":"value1",&q