zachrahan added the comment:
Well, "wontfix" would be appropriate in the context of deprecating the
sort_keys option (over the course of however many releases) and documenting
that the new procedure for getting JSON output in a specific order is to ensure
that the input dict was
zachrahan added the comment:
This one just bit me too. It seems that if JSON serialization accepts
non-string dict keys, it should make sure to accept them in all circumstances.
Currently, there is an error *only* with mixed-type dicts, *only* when
sort_keys=True.
In addition, the error
New submission from zachrahan:
In python 3.6 (and several versions back), using argparse with required
subparsers will cause an unhelpful TypeError if the 'dest' parameter is not
explicitly specified, and no arguments are provided.
Test case:
import argparse
parser = argparse.Argu