We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
GitHub fields:
assignee = 'https://github.com/ezio-melotti' closed_at = <Date 2012-11-29.00:35:48.093> created_at = <Date 2012-11-15.11:15:36.471> labels = ['type-bug', 'library'] title = 'Trailing spaces in pretty-printed JSON' updated_at = <Date 2012-11-29.00:35:48.092> user = 'https://bugs.python.org/leoliu'
bugs.python.org fields:
activity = <Date 2012-11-29.00:35:48.092> actor = 'ezio.melotti' assignee = 'ezio.melotti' closed = True closed_date = <Date 2012-11-29.00:35:48.093> closer = 'ezio.melotti' components = ['Library (Lib)'] creation = <Date 2012-11-15.11:15:36.471> creator = 'leoliu' dependencies = [] files = [] hgrepos = [] issue_num = 16476 keywords = [] message_count = 4.0 messages = ['175607', '175608', '176593', '176595'] nosy_count = 3.0 nosy_names = ['ezio.melotti', 'python-dev', 'leoliu'] pr_nums = [] priority = 'normal' resolution = 'fixed' stage = 'resolved' status = 'closed' superseder = '16333' type = 'behavior' url = 'https://bugs.python.org/issue16476' versions = ['Python 2.7', 'Python 3.2', 'Python 3.3', 'Python 3.4']
The text was updated successfully, but these errors were encountered:
python -mjson.tool some_file.json > x.json
x.json will have trailing white spaces.
Also reported here: http://thread.gmane.org/gmane.comp.python.devel/135311
Sorry, something went wrong.
This is a duplicate of bpo-16333.
New changeset fa277ab588de by Ezio Melotti in branch '2.7': bpo-16476: Fix json.tool to avoid including trailing whitespace. http://hg.python.org/cpython/rev/fa277ab588de
New changeset 6996a53f13ce by Ezio Melotti in branch '3.2': bpo-16476: Fix json.tool to avoid including trailing whitespace. http://hg.python.org/cpython/rev/6996a53f13ce
New changeset 73a7e6ecd0e1 by Ezio Melotti in branch '3.3': bpo-16476: merge with 3.2. http://hg.python.org/cpython/rev/73a7e6ecd0e1
New changeset c062ef6e4c3e by Ezio Melotti in branch 'default': bpo-16476: null merge with 3.3. http://hg.python.org/cpython/rev/c062ef6e4c3e
I fixed this separately from bpo-16333. In the "default" branch this got fixed by bpo-16333 already. Thanks for the report!
ezio-melotti
No branches or pull requests
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: