[issue15572] Python2 documentation of the file() built-in function

2012-08-07 Thread Daniel Ellis
Daniel Ellis added the comment: I've updated the documentation. This is my first patch, so please let me know if I've done something wrong. -- keywords: +patch nosy: +Daniel.Ellis Added file: http://bugs.python.org/file26721/file_up

[issue15586] Provide some examples for usage of ElementTree methods/attributes

2012-08-08 Thread Daniel Ellis
Daniel Ellis added the comment: I have been working with ElementTree for the last few months and would love to help out with this. -- nosy: +Daniel.Ellis ___ Python tracker <http://bugs.python.org/issue15

[issue15586] Provide some examples for usage of ElementTree methods/attributes

2012-08-08 Thread Daniel Ellis
Daniel Ellis added the comment: Thank you Ezio, I will use that as a reference. What is the general workflow for updating documentation across python versions? Should I check to see if the documentation for the module changes across python versions and create patches for each version? Or is

[issue15586] Provide some examples for usage of ElementTree methods/attributes

2012-08-08 Thread Daniel Ellis
Daniel Ellis added the comment: I've made a couple more additions/changes to the documentation in the default branch, per Eli's recommendation, since there were already a lot of good examples added. I'd like to also backport this to 2.7 but wanted to make sure these changes w

[issue15586] Provide some examples for usage of ElementTree methods/attributes

2012-08-09 Thread Daniel Ellis
Daniel Ellis added the comment: Changes to documentation per Ezio and Eli's suggestions. -- Added file: http://bugs.python.org/file26741/default_branch_etree_doc_2.patch ___ Python tracker <http://bugs.python.org/is

[issue15586] Provide some examples for usage of ElementTree methods/attributes

2012-08-09 Thread Daniel Ellis
Daniel Ellis added the comment: At the moment, the documentation for 2.7 is behind the documentation for 3.3. I will be working on backporting this next, but it will be a little more difficult than simply copying the existing documentation, since some key things in etree changed in the

[issue15605] Explain sphinx documentation building in devguide

2012-08-09 Thread Daniel Ellis
New submission from Daniel Ellis: At the bottom of this page: http://docs.python.org/devguide/documenting.html There is a command explaining how to build the documentation without using make: python tools/sphinx-build.py -b . build/ It is unclear as to which directory the "tool

[issue15605] Explain sphinx documentation building in devguide

2012-08-09 Thread Daniel Ellis
Daniel Ellis added the comment: That makes sense. I've added a brief explanation noting that the user should be in the "Docs" directory to run the command. When trying to update the dev guide, I noticed that this same "tools" directory does not exist in t

[issue15607] New print's argument "flush" is not mentioned in docstring

2012-08-09 Thread Daniel Ellis
Daniel Ellis added the comment: I've updated the docstring. This is my first time editing a C module, so please let me know if I've done something egregiously wrong. -- keywords: +patch nosy: +Daniel.Ellis Added file: http://bugs.python.org/file26746/print_doc_add_f

[issue15630] Missing "continue" example for "for" loop tutorial

2012-08-12 Thread Daniel Ellis
New submission from Daniel Ellis: Found by Jesse Bikman: On this page, http://docs.python.org/tutorial/controlflow.html there is no example in the code of a "continue" statement (section 4.4). It is explained, but not actually used in code. -- assignee: docs@python

[issue15630] Missing "continue" example for "for" loop tutorial

2012-08-12 Thread Daniel Ellis
Daniel Ellis added the comment: Added basic example for "continue". -- keywords: +patch Added file: http://bugs.python.org/file26775/for_continue_doc.patch ___ Python tracker <http://bugs.python.o

[issue15630] Missing "continue" example for "for" loop tutorial

2012-08-12 Thread Daniel Ellis
Daniel Ellis added the comment: Oh, I was keeping with the format of the other examples in the tutorial. Should I remove the prompts from all of them? -- ___ Python tracker <http://bugs.python.org/issue15

[issue15586] Provide some examples for usage of ElementTree methods/attributes

2012-08-13 Thread Daniel Ellis
Daniel Ellis added the comment: I've updated 2.7 with the examples and made changes where backward compatibility was an issue. -- Added file: http://bugs.python.org/file26785/2.7_branch_etree_doc.patch ___ Python tracker <http://bugs.py

[issue15586] Provide some examples for usage of ElementTree methods/attributes

2012-08-13 Thread Daniel Ellis
Daniel Ellis added the comment: Fixed typo I made in examples in default branch. -- Added file: http://bugs.python.org/file26786/default_branch_etree_doc_3.patch ___ Python tracker <http://bugs.python.org/issue15

[issue15586] Provide some examples for usage of ElementTree methods/attributes

2012-08-14 Thread Daniel Ellis
Daniel Ellis added the comment: Thank you for the review Eli. I've made your changes and attached the updated patch. I did run all of the code snippets that are being added on 2.7, and the only thing I found different was the changed print statement. I don't believe I overlooke

[issue15586] Provide some examples for usage of ElementTree methods/attributes

2012-08-16 Thread Daniel Ellis
Daniel Ellis added the comment: Made changes in structure in 2.7 branch to match 3.3 based on Eli's comments. Updated input prompt in examples per Ezio's review (though the default branch will still need this update). -- Added file: http://bugs.python.org

[issue20610] Documentation with two slashes in URL links to v2.6.5c2

2014-02-12 Thread Daniel Ellis
New submission from Daniel Ellis: I was searching for the documentation for itertools via Google and was sent here: http://www.python.org/doc//current/library/itertools.html After glancing at the upper-left hand corner, I wondered why Google was sending people to the 2.6 documentation

[issue17587] Have all core library modules imported by default

2013-03-31 Thread Daniel Ellis
New submission from Daniel Ellis: The other day I was trying to make a script to import a CSV file but for the life of me couldn't remember what the name of the csv library was (turns out it was csv). So I started thinking "hey, what if all the standard library were just *there*

[issue17587] Have all core library modules imported by default

2013-04-01 Thread Daniel Ellis
Daniel Ellis added the comment: It was a hell of a ride. On Mon, Apr 1, 2013 at 10:59 PM, Benjamin Peterson wrote: > > Benjamin Peterson added the comment: > > Well, the fun has been had. > > -- > nosy: +benjamin.peterson > resolution: -> reject