New issue
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
python3 & json: add ensure_ascii documentation #57979
Comments
Please fix documentation about ensure_ascii. Does it have any meaning in python3? |
Most probably. The text model of Python has no bearing on the JSON spec, and 2.x as well as 3.x Pythons may want to output UTF-8 JSON or JavaScript-escaped ASCII-only JSON. What specific wording is an issue? |
ensure_ascii is documented only in Jsonencoder class. Other functions like dumps() should refer to this class description for that parameter. |
All right. I’ll do like other parameters (see check_circular for an example) and just duplicate the two-line doc. |
FTR I’ve fixed this and now need to find a place with SSH access so I can push. |
New changeset 33d6da1b1c71 by Éric Araujo in branch '3.2': New changeset 1cb9b8126534 by Éric Araujo in branch 'default': |
json in 2.7 works a bit differently; ensure_ascii is already documented there. Closing, please reopen if the new doc is not to your satisfaction. |
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: