This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2012年01月11日 16:42 by socketpair, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Messages (7) | |||
|---|---|---|---|
| msg151067 - (view) | Author: Марк Коренберг (socketpair) * | Date: 2012年01月11日 16:42 | |
Please fix documentation about ensure_ascii. Does it have any meaning in python3? |
|||
| msg151219 - (view) | Author: Éric Araujo (eric.araujo) * (Python committer) | Date: 2012年01月14日 03:56 | |
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? |
|||
| msg151258 - (view) | Author: Марк Коренберг (socketpair) * | Date: 2012年01月14日 16:41 | |
ensure_ascii is documented only in Jsonencoder class. Other functions like dumps() should refer to this class description for that parameter. |
|||
| msg151272 - (view) | Author: Éric Araujo (eric.araujo) * (Python committer) | Date: 2012年01月15日 00:41 | |
All right. I’ll do like other parameters (see check_circular for an example) and just duplicate the two-line doc. |
|||
| msg152515 - (view) | Author: Éric Araujo (eric.araujo) * (Python committer) | Date: 2012年02月03日 14:15 | |
FTR I’ve fixed this and now need to find a place with SSH access so I can push. |
|||
| msg152684 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2012年02月05日 12:50 | |
New changeset 33d6da1b1c71 by Éric Araujo in branch '3.2': Document json.dump ensure_ascii parameter (#13770) http://hg.python.org/cpython/rev/33d6da1b1c71 New changeset 1cb9b8126534 by Éric Araujo in branch 'default': Merge edits from 3.2 (#13716, #1040439, #2945, #13770, #6715) http://hg.python.org/cpython/rev/1cb9b8126534 |
|||
| msg154295 - (view) | Author: Éric Araujo (eric.araujo) * (Python committer) | Date: 2012年02月26日 02:47 | |
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. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:25 | admin | set | github: 57979 |
| 2012年02月26日 02:47:39 | eric.araujo | set | status: open -> closed versions: - Python 2.7 messages: + msg154295 resolution: fixed stage: resolved |
| 2012年02月05日 12:50:11 | python-dev | set | nosy:
+ python-dev messages: + msg152684 |
| 2012年02月03日 14:15:39 | eric.araujo | set | messages: + msg152515 |
| 2012年01月15日 00:41:47 | eric.araujo | set | assignee: docs@python -> eric.araujo messages: + msg151272 versions: + Python 2.7 |
| 2012年01月14日 16:41:05 | socketpair | set | messages: + msg151258 |
| 2012年01月14日 04:13:41 | ezio.melotti | set | nosy:
+ ezio.melotti versions: - Python 3.1 |
| 2012年01月14日 03:56:24 | eric.araujo | set | nosy:
+ eric.araujo messages: + msg151219 versions: - Python 3.4 |
| 2012年01月11日 16:42:40 | socketpair | set | type: enhancement |
| 2012年01月11日 16:42:10 | socketpair | create | |