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年03月05日 16:25 by eli.bendersky, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| xml.dom.pulldom.rst | flomm, 2012年03月07日 00:34 | |||
| pulldom-documentation.rst | eric.araujo, 2012年03月07日 11:39 | review | ||
| xml.dom.pulldom.rst | flomm, 2012年03月15日 22:16 | Updated patch-file after review | review | |
| xml.dom.pulldom.rst.patch | flomm, 2012年03月16日 10:02 | Updated patch-file after second review | review | |
| Messages (17) | |||
|---|---|---|---|
| msg154959 - (view) | Author: Eli Bendersky (eli.bendersky) * (Python committer) | Date: 2012年03月05日 16:25 | |
http://docs.python.org/dev/library/xml.dom.pulldom.html "embarrassing" is the word I wanted to use, but it's too strong for the title ;-) Seriously, this module is part of the stdlib, it should at least have *some* documentation. |
|||
| msg155042 - (view) | Author: Florian Mladitsch (flomm) | Date: 2012年03月07日 00:34 | |
I wrote some documentation with the information I found on http://wiki.python.org/moin/PullDom and some custom examples. |
|||
| msg155048 - (view) | Author: Eli Bendersky (eli.bendersky) * (Python committer) | Date: 2012年03月07日 04:53 | |
Thanks, Florian - I will review the patch. At first sight it looks much better than what exists. |
|||
| msg155075 - (view) | Author: Éric Araujo (eric.araujo) * (Python committer) | Date: 2012年03月07日 11:39 | |
Merged Florian’s version with the original file to create a patch. |
|||
| msg155598 - (view) | Author: Eli Bendersky (eli.bendersky) * (Python committer) | Date: 2012年03月13日 12:23 | |
I reviewed the patch in http://bugs.python.org/review/14202/show |
|||
| msg155974 - (view) | Author: Éric Araujo (eric.araujo) * (Python committer) | Date: 2012年03月15日 22:50 | |
Could you provide a diff? (instructions in the devguide) |
|||
| msg155975 - (view) | Author: Florian Mladitsch (flomm) | Date: 2012年03月15日 22:58 | |
It is a diff-file, or am I missing something? I generated the file with 'hg diff > xml.dom.pulldom.rst' Probably should have given it a '*.patch' file-ending =/ |
|||
| msg155988 - (view) | Author: Éric Araujo (eric.araujo) * (Python committer) | Date: 2012年03月16日 02:30 | |
Ah, right, I just assumed that your .rst file was the full file (like in your first upload), but it is indeed a diff. Our tools don’t care about the file extension, but they sometimes are useful conventions for humans :) |
|||
| msg155989 - (view) | Author: Eli Bendersky (eli.bendersky) * (Python committer) | Date: 2012年03月16日 03:41 | |
Looks good, pending fixing of Éric's comments. Florian, could you do that? We can then proceed to commit (to 3.3) and consider backports. |
|||
| msg156018 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2012年03月16日 12:42 | |
New changeset 172630a3e6d8 by Eli Bendersky in branch '3.2': Issue #14202: Greatly enhance the documentation of xml.dom.pulldom. http://hg.python.org/cpython/rev/172630a3e6d8 New changeset 5d118a154ba3 by Eli Bendersky in branch 'default': Issue #14202: Greatly enhance the documentation of xml.dom.pulldom. http://hg.python.org/cpython/rev/5d118a154ba3 |
|||
| msg156019 - (view) | Author: Eli Bendersky (eli.bendersky) * (Python committer) | Date: 2012年03月16日 12:44 | |
I committed the patch after some minor modifications, to 3.2 and 3.3 Florian, thanks for the contribution! |
|||
| msg156036 - (view) | Author: Éric Araujo (eric.araujo) * (Python committer) | Date: 2012年03月16日 14:31 | |
Thanks to you both, the new docs are greatly better! Eli, why not backporting to 2.7 too? It has the same rules and should get the same attention as 3.2. BTW, when you nest class/method directives, you needn’t repeat the class name in the method directives: .. class:: DOVEventStream(stream, etc) .. method:: getEvent(blah) A few nits you may want to avoid in future patches: - The constants in the methods doc don’t use data markup - s/ie./i.e./ - I’d say "Unicode string", not "unicode string" (referring to the concept/standard, not the old class) |
|||
| msg156047 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2012年03月16日 14:52 | |
New changeset 1a740ea4f2a1 by Eli Bendersky in branch '3.2': Issue #14202: some additional doc fixes http://hg.python.org/cpython/rev/1a740ea4f2a1 New changeset b2e27f21760e by Eli Bendersky in branch 'default': Issue #14202: some additional doc fixes http://hg.python.org/cpython/rev/b2e27f21760e |
|||
| msg156048 - (view) | Author: Eli Bendersky (eli.bendersky) * (Python committer) | Date: 2012年03月16日 14:57 | |
Éric, thanks for the comments - all fixed. As for 2.7, it's just laziness really. Committing to both 3.2 and 3.3 is trivial since it's a simple merge. For 2.7 it's more complicated since it's an unrelated branch, and the code samples have to be fixed as well (the current ones use Python 3.x syntax). So I wouldn't object for someone to backport it to 2.7, but I don't deem it very important. If it was a bug fix, I would bother, but for documentation... not really :-) |
|||
| msg156055 - (view) | Author: Éric Araujo (eric.araujo) * (Python committer) | Date: 2012年03月16日 15:35 | |
I understand :) I’ll do it. I value doc as much as code, it’s also delivered faster to the users, and there are a lot of Python 2 users out there, so porting doc fixes to 2.7 is really worth it. |
|||
| msg156854 - (view) | Author: Eli Bendersky (eli.bendersky) * (Python committer) | Date: 2012年03月26日 18:53 | |
There was a patch for the docs (+ other stuff) in issue #7635 as well. It can be integrated, if relevant. |
|||
| msg163901 - (view) | Author: Éric Araujo (eric.araujo) * (Python committer) | Date: 2012年06月25日 06:09 | |
Unassigning; I have to use my Python time for distutils bugs, or doc bugs for modules I actually like (I’m no fan of XML nor DOM :). I would politely insist that doc fixes have to get backported to 2.7 unless it would be really bothersome (like a big change to IO docs done by Antoine and not backported). |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:27 | admin | set | github: 58410 |
| 2012年07月06日 03:02:26 | eli.bendersky | set | status: open -> closed |
| 2012年06月25日 06:09:32 | eric.araujo | set | assignee: eric.araujo -> docs@python messages: + msg163901 |
| 2012年03月26日 18:53:12 | eli.bendersky | set | messages: + msg156854 |
| 2012年03月26日 17:43:18 | r.david.murray | link | issue7635 superseder |
| 2012年03月16日 15:35:28 | eric.araujo | set | status: closed -> open assignee: docs@python -> eric.araujo messages: + msg156055 versions: + Python 2.7 |
| 2012年03月16日 14:57:34 | eli.bendersky | set | messages: + msg156048 |
| 2012年03月16日 14:52:48 | python-dev | set | messages: + msg156047 |
| 2012年03月16日 14:31:45 | eric.araujo | set | messages: + msg156036 |
| 2012年03月16日 12:44:37 | eli.bendersky | set | status: open -> closed versions: + Python 3.2, - Python 2.7 messages: + msg156019 resolution: fixed stage: patch review -> resolved |
| 2012年03月16日 12:42:02 | python-dev | set | nosy:
+ python-dev messages: + msg156018 |
| 2012年03月16日 10:02:23 | flomm | set | files:
+ xml.dom.pulldom.rst.patch keywords: + patch |
| 2012年03月16日 03:41:38 | eli.bendersky | set | messages:
+ msg155989 stage: needs patch -> patch review |
| 2012年03月16日 02:30:23 | eric.araujo | set | messages: + msg155988 |
| 2012年03月15日 22:58:47 | flomm | set | messages: + msg155975 |
| 2012年03月15日 22:50:26 | eric.araujo | set | messages: + msg155974 |
| 2012年03月15日 22:16:42 | flomm | set | files: + xml.dom.pulldom.rst |
| 2012年03月13日 12:23:19 | eli.bendersky | set | messages: + msg155598 |
| 2012年03月07日 11:39:45 | eric.araujo | set | files:
+ pulldom-documentation.rst messages: + msg155075 |
| 2012年03月07日 04:53:09 | eli.bendersky | set | messages: + msg155048 |
| 2012年03月07日 00:34:49 | flomm | set | files:
+ xml.dom.pulldom.rst nosy: + flomm messages: + msg155042 |
| 2012年03月05日 16:25:18 | eli.bendersky | create | |