[issue9649] wrong default for sort_keys in json module documentation

2010-08-22 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Thanks, fixed in r84264. -- nosy: +georg.brandl resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9649

[issue9649] wrong default for sort_keys in json module documentation

2010-08-20 Thread Mike Dirolf
New submission from Mike Dirolf m...@dirolf.com: The json module docs state that sort_keys defaults to True. From the source it looks like it actually defaults to False. Patch attached. -- assignee: d...@python components: Documentation files: sort_keys_json.patch keywords: patch

[issue9649] wrong default for sort_keys in json module documentation

2010-08-20 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: In 3.1, and I presume (please check) 2.7, the signature is given as class json.JSONEncoder(skipkeys=False, ensure_ascii=True, check_circular=True, allow_nan=True, sort_keys=False, indent=None, separators=None, default=None) I verified by