Message244864
Currently, json.loads expects a string as input and is expected to return a dictionary or raise an exception.
Proposal:
If the first argument of json.loads is a dictionary
return that dictionary, instead of raising a TypeError as it happens now.
There are some use cases where json.loads would be applied multiple times to the same object. Once the string has been parsed once, it shouldn't be reloaded. |
|
Date |
User |
Action |
Args |
2015-06-05 12:21:48 | CT Radu | set | recipients:
+ CT Radu |
2015-06-05 12:21:48 | CT Radu | set | messageid: <1433506908.4.0.832946693119.issue24387@psf.upfronthosting.co.za> |
2015-06-05 12:21:48 | CT Radu | link | issue24387 messages |
2015-06-05 12:21:47 | CT Radu | create | |
|