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 2010年06月28日 15:37 by techtonik, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Messages (19) | |||
|---|---|---|---|
| msg108833 - (view) | Author: anatoly techtonik (techtonik) | Date: 2010年06月28日 15:37 | |
Quite often people use .json files for storing configuration. Having a reference to json module from chapter "14. File Formats" would be a good pointer for those looking to .ini alternatives. |
|||
| msg109201 - (view) | Author: Terry J. Reedy (terry.reedy) * (Python committer) | Date: 2010年07月04日 01:33 | |
Specific suggested text and location for doc changes are more likely to get action. "File Formats is chapter 13 in 3.x. The only text now is "The modules described in this chapter parse various miscellaneous file formats that aren’t markup languages or are related to e-mail." PATCH 1: I am quite sure that 'or are related to e-mail' should be replaced by 'and are not related to email'. In any case, this is not the place to add a specific comment about json. Perhaps you meant that in 13.2. configparser — Configuration file parser, the following could be added to the end of the first paragraph. PATCH 2: "The json module is also used for this purpose." |
|||
| msg109209 - (view) | Author: Éric Araujo (eric.araujo) * (Python committer) | Date: 2010年07月04日 05:11 | |
1: Agreed. Alternate short formulation: "nor related to email". 2: Agreed with Anatoly. json should be linked from the File Formats section, since it’s a file format unrelated to [SGML] markup languages or email, and it’s used for a variety of purposes, not only config files. |
|||
| msg111419 - (view) | Author: Łukasz Langa (lukasz.langa) * (Python committer) | Date: 2010年07月24日 02:28 | |
1: Agreed. 2: Would use wording like: "The json module can also be used for this purpose." Can be used does not imply that it is its main function but it hints in the right direction. |
|||
| msg123296 - (view) | Author: Łukasz Langa (lukasz.langa) * (Python committer) | Date: 2010年12月03日 21:56 | |
Fixed in rev 86976. |
|||
| msg123311 - (view) | Author: Éric Araujo (eric.araujo) * (Python committer) | Date: 2010年12月04日 01:39 | |
Can you make the same addition in the docs of 3.1 and 2.7? |
|||
| msg133646 - (view) | Author: Ezio Melotti (ezio.melotti) * (Python committer) | Date: 2011年04月13日 07:36 | |
The json module is listed in the Internet Data Handling section[0], and the description says: """ This chapter describes modules which support handling data formats commonly used on the Internet. """ This seems OK for json. The File Format section[1] says: """ The modules described in this chapter parse various miscellaneous file formats that aren’t markup languages and are not related to e-mail. """ And this description might work for json too. I'm not sure it's worth moving it though. [0]: http://docs.python.org/py3k/library/netdata.html [1]: http://docs.python.org/py3k/library/fileformats.html |
|||
| msg133649 - (view) | Author: anatoly techtonik (techtonik) | Date: 2011年04月13日 08:22 | |
JSON is not file format, it is data-interchange format. |
|||
| msg133651 - (view) | Author: Ezio Melotti (ezio.melotti) * (Python committer) | Date: 2011年04月13日 08:28 | |
We don't have a "Data-interchange Formats" section, so the "Internet Data Handling" section seems more appropriate than the "File Formats" one, right? |
|||
| msg133652 - (view) | Author: anatoly techtonik (techtonik) | Date: 2011年04月13日 08:43 | |
Right. |
|||
| msg133653 - (view) | Author: anatoly techtonik (techtonik) | Date: 2011年04月13日 08:44 | |
But having a reference from File Formats will help people find this information easier. |
|||
| msg133658 - (view) | Author: Fred Drake (fdrake) (Python committer) | Date: 2011年04月13日 10:22 | |
And what are these people looking for? "json"? If so, there's already an entry in the module index. That seems sufficient. |
|||
| msg133701 - (view) | Author: anatoly techtonik (techtonik) | Date: 2011年04月13日 22:26 | |
These people look for alternative configuration format to .ini, for example. |
|||
| msg133706 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2011年04月14日 03:54 | |
New changeset d0ada1e369cd by Ezio Melotti in branch '3.1': #9101: backport json reference in configparser doc. http://hg.python.org/cpython/rev/d0ada1e369cd New changeset 5a09a335e8e7 by Ezio Melotti in branch '2.7': #9101: backport json reference in configparser doc. http://hg.python.org/cpython/rev/5a09a335e8e7 |
|||
| msg133718 - (view) | Author: anatoly techtonik (techtonik) | Date: 2011年04月14日 10:01 | |
Wow. That's much better - python makes progress. Does this `robot` stuff flies back to Roundup? Is it possible to specify "closes bug #9101" directly in commit message? |
|||
| msg133720 - (view) | Author: Ezio Melotti (ezio.melotti) * (Python committer) | Date: 2011年04月14日 10:21 | |
It's just a mercurial hook that sends email, and yes, it's possible to close the issues automatically writing "closes #xxxx" in the commit message, but I prefer to close the issue manually. |
|||
| msg133722 - (view) | Author: anatoly techtonik (techtonik) | Date: 2011年04月14日 10:57 | |
Awesome. Especially links to actual changesets. BTW, there are only backport commits - where is the notification about the main one? |
|||
| msg133723 - (view) | Author: Ezio Melotti (ezio.melotti) * (Python committer) | Date: 2011年04月14日 10:59 | |
In msg123296, r86976. |
|||
| msg133728 - (view) | Author: anatoly techtonik (techtonik) | Date: 2011年04月14日 11:53 | |
Thanks. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:02 | admin | set | github: 53347 |
| 2011年04月14日 11:53:57 | techtonik | set | messages: + msg133728 |
| 2011年04月14日 10:59:30 | ezio.melotti | set | messages: + msg133723 |
| 2011年04月14日 10:57:55 | techtonik | set | messages: + msg133722 |
| 2011年04月14日 10:21:19 | ezio.melotti | set | messages: + msg133720 |
| 2011年04月14日 10:01:43 | techtonik | set | messages: + msg133718 |
| 2011年04月14日 03:55:53 | ezio.melotti | set | status: open -> closed |
| 2011年04月14日 03:54:16 | python-dev | set | nosy:
+ python-dev messages: + msg133706 |
| 2011年04月13日 22:26:45 | techtonik | set | messages: + msg133701 |
| 2011年04月13日 10:22:52 | fdrake | set | nosy:
+ fdrake messages: + msg133658 |
| 2011年04月13日 08:44:00 | techtonik | set | messages: + msg133653 |
| 2011年04月13日 08:43:27 | techtonik | set | messages: + msg133652 |
| 2011年04月13日 08:28:55 | ezio.melotti | set | messages: + msg133651 |
| 2011年04月13日 08:22:15 | techtonik | set | messages: + msg133649 |
| 2011年04月13日 07:36:01 | ezio.melotti | set | nosy:
+ georg.brandl, ezio.melotti messages: + msg133646 |
| 2010年12月05日 17:57:25 | eric.araujo | set | status: closed -> open versions: - Python 2.6 |
| 2010年12月04日 01:39:55 | eric.araujo | set | messages: + msg123311 |
| 2010年12月03日 21:56:20 | lukasz.langa | set | messages: + msg123296 |
| 2010年12月03日 21:36:15 | lukasz.langa | set | status: open -> closed resolution: accepted stage: patch review -> resolved |
| 2010年08月08日 21:13:07 | lukasz.langa | set | assignee: docs@python -> lukasz.langa |
| 2010年07月24日 02:28:21 | lukasz.langa | set | nosy:
+ lukasz.langa messages: + msg111419 |
| 2010年07月04日 05:11:09 | eric.araujo | set | nosy:
+ eric.araujo messages: + msg109209 |
| 2010年07月04日 01:33:32 | terry.reedy | set | versions:
+ Python 3.1 nosy: + terry.reedy messages: + msg109201 keywords: + patch stage: patch review |
| 2010年06月28日 15:37:21 | techtonik | create | |