Commit Graph

13979 Commits

Author SHA1 Message Date
Chris Jerdonek 02860526eb Issue #16115: Merge subprocess.Popen() documentation improvements from 3.2. 2012-10-10 17:47:55 -07:00
Chris Jerdonek 4a4a02bbc8 Issue #16115: Make further improvements to subprocess.Popen() documentation. 2012-10-10 17:46:18 -07:00
Chris Jerdonek 3fa8c59024 Issue #12947: Remove doctest directives from the doctest examples in the "Option Flag" section.
The doctest examples that illustrate the use of doctest option flags
independent of doctest directives should not display doctest directives.
2012-10-10 08:34:38 -07:00
Georg Brandl 23a87de96f Missed one instance of code-block:: text highlighting to revert. 2012-10-10 16:56:15 +02:00
Georg Brandl a1ff83e556 merge 3.2 heads 2012-10-10 16:49:02 +02:00
Georg Brandl 83e51f48a8 Issue #12947: revert earlier workaround and use a monkey-patch to enable showing doctest directives only in the doctest docs. 2012-10-10 16:45:11 +02:00
Georg Brandl 3a2e101be5 Issue #12947: revert earlier workaround and use a monkey-patch to enable showing doctest directives only in the doctest docs. 2012-10-10 16:45:11 +02:00
Chris Jerdonek 3650ea2a9f Issue #12947: Divide doctest "Option Flags and Directives" section into two.
This changeset also applies the rendering workaround to the last remaining
example in the file that has a doctest directive that should be displayed.
2012-10-10 06:52:08 -07:00
Eli Bendersky 831893a68e Issue #16082: clarify the documentation of tostring[list] saying that it may generate a bytestring, depending on the given encoding. 2012-10-09 07:18:16 -07:00
Eli Bendersky 323a43af06 Issue #12322: clarify xpath reference for cases where the path reaches ancestors of the start element. Also add missing markup for a None. Thanks to patrick vrijlandt and Mike Hoy for the report and initial patches. 2012-10-09 06:46:33 -07:00
Andrew Svetlov 38714d64d0 Merge issue #16174: Fix suggested usage of dummy_threading module.
Patch by Berker Peksag.
2012-10-09 13:44:48 +03:00
Andrew Svetlov a256841b4b Issue #16174: Fix suggested usage of dummy_threading module.
Patch by Berker Peksag.
2012-10-09 13:44:16 +03:00
Senthil Kumaran 570bc4c465 Fix Issue 15922: make howto/urllib2.rst doctests pass.
Patch by Chris Jerdonek. Address Ezio's review comment.
2012-10-09 00:38:17 -07:00
Senthil Kumaran 1ed9847a5a Fix Issue 15922: make howto/urllib2.rst doctests pass.
Patch by Chris Jerdonek. Address Ezio's review comment.
2012-10-09 00:37:09 -07:00
Chris Jerdonek ad01498fa9 Issue #16115: Merge subprocess.Popen() documentation improvements from 3.2. 2012-10-08 23:12:21 -07:00
Chris Jerdonek 470ee39883 Issue #16115: Improve subprocess.Popen() documentation around args, shell, and executable arguments. 2012-10-08 23:06:57 -07:00
Hynek Schlawack 101591e9d5 Merge 3.2 2012-10-08 07:44:54 +02:00
Chris Jerdonek 042fa653ab Issue #14783: Merge changes from 3.2. 2012-10-07 14:56:27 -07:00
Chris Jerdonek 83fe2e1c22 Issue #14783: Improve int() docstring and also str(), range(), and slice().
This commit rewrites the docstring for int() to incorporate the documentation
changes made in issue #16036.  It also switches the docstrings for int(),
str(), range(), and slice() to use multi-line signatures.
2012-10-07 14:48:36 -07:00
Hynek Schlawack 0230b6af78 #13498: Clarify docs of os.makedirs()'s exist_ok argument.
Done with great native-speaker help from R. David Murray.
2012-10-07 18:04:38 +02:00
Eli Bendersky 948af23a77 Issue #15888: fixing problems in ipaddress doctests. Patch by Chris Jerdonek 2012-10-07 07:23:50 -07:00
R David Murray f4c2757d78 More whatsnew updates, move some doc NEWS items into the doc section. 2012-10-06 23:19:17 -04:00
R David Murray ace5162294 starmap/starmap_async for whatsnew, and fix multiprocessing Pool markup. 2012-10-06 22:26:52 -04:00
R David Murray fd740967ba More whatsnew updates. Also move a C-API NEWS item out of library section. 2012-10-06 22:08:08 -04:00
R David Murray ca76ea16ad #9957: document that SpooledTemporaryFile.truncate now accepts a size arg 2012-10-06 18:32:39 -04:00
R David Murray 138a314d1a #9957: document that SpooledTemporaryFile.truncate does not take size arg 2012-10-06 18:26:56 -04:00
R David Murray 1e218c98df More whatsnew updates. 2012-10-06 18:18:55 -04:00
Georg Brandl 2fdc0f8a86 Fix markup in Counter note. 2012-10-06 22:38:20 +02:00
R David Murray a21e51570d whatsnew updates for smtplib and collections.Counter. 2012-10-06 16:29:14 -04:00
R David Murray 344174dc77 Fix typos. 2012-10-06 16:06:16 -04:00
R David Murray ef4d286770 #10968: commit threading doc changes and corresponding whatsnew entry.
It is unfortunate that the '_' names were not kept as aliases, and that RLock
was not also converted to a class, but it is now too late to change either of
those things for 3.3.
2012-10-06 14:35:35 -04:00
Andrew Svetlov 5061a34283 Issue #16025: Minor corrections to the zipfile documentation.
Patch by Serhiy Storchaka.
2012-10-06 18:10:01 +03:00
Andrew Svetlov afbf90c993 Issue #16025: Minor corrections to the zipfile documentation.
Patch by Serhiy Storchaka.
2012-10-06 18:02:05 +03:00
Georg Brandl fe7b00fb0a Closes #11710: create "landing pages" (/library/package.html) for those packages that have no documented content themselves, e.g. "urllib" or "http". 2012-10-06 13:49:34 +02:00
Georg Brandl 4614cc4f7f Closes #16149: remove now-false statement about the inability to compare Decimal and float objects. 2012-10-06 13:48:39 +02:00
Georg Brandl 7ea9a423cb Closes #16149: remove now-false statement about the inability to compare Decimal and float objects. 2012-10-06 13:48:39 +02:00
Ezio Melotti b28e75d9d6 Merge ftplib doc fix with 3.2. 2012-10-05 14:10:39 +03:00
Ezio Melotti cbd449b416 The file obj passed to ftp.storbinary/storlines must be opened in binary mode. 2012-10-05 14:09:59 +03:00
Andrew Svetlov fd03a099d8 Merge issue #16138: fix typo. 2012-10-05 13:26:42 +03:00
Andrew Svetlov 8cf1cc498f Issue #16138: fix typo. 2012-10-05 13:26:10 +03:00
Ezio Melotti e7f90375b1 #16127: remove outdated references to narrow builds. Patch by Serhiy Storchaka. 2012-10-05 03:33:31 +03:00
Andrew Svetlov 3934b61a16 Fix typo in documentation for time module, thanks to docs@ 2012-10-04 19:52:32 +03:00
Andrew Svetlov 1a8db9cd1d Fix typo in documentation for collections.ChainMap, thanks to Olivier Bernard from docs@ 2012-10-04 19:29:25 +03:00
Jesus Cea b6bb3ad567 Whatsnew typo 2012-10-04 02:58:48 +02:00
Jesus Cea aa26488711 whatsnew 2012-10-04 02:51:22 +02:00
Nick Coghlan 0b26ccfaa6 Issue #12947: Better workaround for the problem with doctest directives being stripped from code examples that are intended to illustrate those directives 2012-10-03 13:52:48 +05:30
Nick Coghlan 8f80e0a651 Issue #12947: Add a note to doctest until the example rendering is fixed 2012-10-03 12:21:44 +05:30
R David Murray 3430fb803e More whatsnew updates. 2012-10-02 18:24:56 -04:00
Andrew Svetlov ddd74b10e5 Merge: Close open bracket, thanks to Josh Helzer from docs@ 2012-10-02 18:42:22 +03:00
Andrew Svetlov f532035551 Close open bracket, thanks to Josh Helzer from docs@ 2012-10-02 18:39:25 +03:00
R David Murray 994ce1a3c1 Add multiprocessing.Process.sentinel to whatsnew, mention SSLFakeFile removal. 2012-10-02 10:19:08 -04:00
Georg Brandl dc704c6751 In this case it is not useful to hide "threading". 2012-10-02 10:16:19 +02:00
Ezio Melotti 4443762bf5 #15979: merge with 3.2. 2012-10-02 06:01:16 +03:00
Ezio Melotti d0fe3e5abb #15979: improve timeit documentation. 2012-10-02 05:35:39 +03:00
R David Murray 0bbfd6b817 Add threading.get_ident to whatsnew. 2012-10-01 22:10:15 -04:00
R David Murray 258fabefde #11109: clean up docs, add whatsnew entry, and fix Justin's last name. 2012-10-01 21:43:46 -04:00
Ezio Melotti 7eb03ddf11 Fix/improve the changelog filtering. 2012-10-02 01:43:42 +03:00
Georg Brandl 4524b46733 Fix template syntax. 2012-10-01 19:38:34 +02:00
Georg Brandl 6c4758152f The default reST role `foo` can now be used in NEWS to refer to Python objects. Use it for a fraction of the current NEWS file. 2012-10-01 19:27:05 +02:00
Georg Brandl 243729151e Fix page name. 2012-10-01 19:26:09 +02:00
Georg Brandl 44d0c2156a Several improvements to the HTML NEWS version:
* rename to "Changelog"
* recognize more issue links
* add NEWS as a dependency for Sphinx
2012-10-01 19:08:50 +02:00
Brian Curtin f41d202555 Correcting my name since people keep bringing it up 2012-10-01 09:29:36 -05:00
Ezio Melotti 00160661a5 Update suspicious ignore file. 2012-10-01 07:10:08 +03:00
R David Murray 445d69c2bd More additions to whatsnew. 2012-09-30 21:59:56 -04:00
R David Murray 842ca5f15d Merge: Fix sqlite3 class markup. 2012-09-30 20:49:19 -04:00
R David Murray 6db2335f77 Fix sqlite3 class markup. 2012-09-30 20:44:43 -04:00
R David Murray c652ce6d02 More whatsnew adds, especially the os module.
I went through all the versionchanged/versionadded tags in the os doc page for
this changeset.
2012-09-30 20:07:42 -04:00
R David Murray d2489cf4d0 Add some missing stuff to whatsnew. 2012-09-30 17:28:54 -04:00
Gregory P. Smith 89bbe68195 doc typo fixes 2012-09-30 10:36:07 -07:00
Georg Brandl 0472bc8709 Use newer version of Pygments that handles "yield from". 2012-09-30 18:00:50 +02:00
Georg Brandl 2cac28b37e Add a filterable HTML version of Misc/NEWS to the docs "whatsnew" section. 2012-09-30 15:10:06 +02:00
Chris Jerdonek 28714c8c26 Issue #15533: Merge fix from 3.2. 2012-09-30 02:15:37 -07:00
Nick Coghlan 638df2539e Merge commit, because Mercurial's handling of push races is bloody awful 2012-09-30 13:25:23 +05:30
Nick Coghlan 349c802fd8 What's new entry for PEP 397 and Windows PATH modification 2012-09-30 13:00:43 +05:30
Chris Jerdonek ec3ea94251 Issue #15533: Clarify docs and add tests for subprocess.Popen()'s cwd argument. 2012-09-30 00:10:28 -07:00
Georg Brandl 7d0d57f22c Doc sidebar: point to 3.4 as dev. 2012-09-30 08:58:21 +02:00
Nick Coghlan cfb181859a Fix release PEP description 2012-09-30 12:08:13 +05:30
R David Murray ea22685a04 Add notes to whatsnew porting for visible changes in email compatibility mode. 2012-09-30 01:27:24 -04:00
R David Murray f23e2b67ad Make whatsnew PEP markup conform to previous whatsnew docs.
Also some other consistency tweaks.
2012-09-29 19:41:26 -04:00
R David Murray 77ac351bbf Move discussion of email changes into Improved Modules section. 2012-09-29 15:43:33 -04:00
R David Murray 9a2eb3aa66 Raymond didn't write any of the text this time, remove as author. 2012-09-29 15:33:49 -04:00
R David Murray f75e65f0f4 Fix over-indentation of bullet lists. 2012-09-29 15:27:53 -04:00
R David Murray 26d15bffaa Be consistent and don't use a bullet list when a section has only one item. 2012-09-29 15:13:35 -04:00
R David Murray ad4d9c9bf0 Merge #16085: Don't promote shadowing builtins in the configparser example. 2012-09-29 14:40:56 -04:00
R David Murray 1a1883d566 #16085: Don't promote shadowing builtins in the configparser example. 2012-09-29 14:40:23 -04:00
R David Murray cff1c6f665 Clarify description of who needs to worry about importlib changes. 2012-09-29 14:34:43 -04:00
Benjamin Peterson 14fb44e1ba merge mostly from default 2012-09-29 14:14:19 -04:00
R David Murray 1764c80925 Add smtpd changes to whatsnew, and integrate 'other' section.
Also made the smtplib markup consistent with the rest of the markup.
2012-09-29 11:42:36 -04:00
R David Murray defdb16a3c Remove visible XXX in What's New. 2012-09-29 10:53:31 -04:00
R David Murray aae25833dc Document the addition of 'quote' to shlex in What's New. 2012-09-29 09:49:05 -04:00
Georg Brandl 99a247fd01 Merge with main repo default branch. 2012-09-29 09:27:15 +02:00
Georg Brandl 1d021738e2 Update release date in whatsnew document. 2012-09-29 09:06:10 +02:00
Georg Brandl d6e857b0da Point "source" links in the docs to the 3.3 versions in the repo. 2012-09-29 09:03:54 +02:00
Georg Brandl a79b8dc917 Add a versionchanged note for #9374 changes. 2012-09-29 08:59:23 +02:00
R David Murray 7dcbd2c873 Merge #16071: fix more email.message links in mailbox docs. 2012-09-28 15:19:42 -04:00
R David Murray 5320250485 #16071: fix more email.message links in mailbox docs. 2012-09-28 15:19:16 -04:00
R David Murray fb8a49e080 Merge #16071: fix links to email.message.Message in mailbox docs. 2012-09-28 15:10:12 -04:00
R David Murray c5fe4073af #16071: fix links to email.message.Message in mailbox docs. 2012-09-28 15:09:31 -04:00
Michael Foord 28d591ceef Closes issue 15323. Improve failure message of Mock.assert_called_once_with 2012-09-28 16:15:22 +01:00
Jesus Cea 494502756e MERGE: Closes #15953: Incorrect some fields declaration in the PyTypeObject documentation 2012-09-28 16:35:21 +02:00
Jesus Cea 33b5769db5 Closes #15953: Incorrect some fields declaration in the PyTypeObject documentation 2012-09-28 16:34:45 +02:00
Chris Jerdonek 18581efe36 Close issue #16073: merge fix from 3.2. 2012-09-28 07:24:24 -07:00
Chris Jerdonek fd448daf77 Close issue #16073: fix map() example in list comprehension documentation.
Thanks for the e-mail report to docs@.
2012-09-28 07:07:12 -07:00
Michael Foord 207d229933 urllib.parse.urlencode doc updarte.
Closes issue 15593
2012-09-28 14:40:44 +01:00
Nick Coghlan 74cca70ce2 Now that it's possible, avoid timing attacks in the crypt module examples) 2012-09-28 18:50:38 +05:30
Chris Jerdonek 2246aa8ac8 Issue #16036: Merge update from 3.2. 2012-09-28 01:15:39 -07:00
Chris Jerdonek 57491e0703 Issue #16036: Improve documentation of built-in int()'s signature and arguments. 2012-09-28 00:10:44 -07:00
Nick Coghlan 3658cb3012 Tell people the *new* behaviour, not just the old behaviour 2012-09-27 20:07:45 +10:00
Nick Coghlan c4bacd3646 Mention the Unicode version bump in What's New 2012-09-27 19:58:31 +10:00
Ezio Melotti 461f41df5b Add a few entries to whatsnew/3.3.rst. 2012-09-26 17:43:23 +03:00
Georg Brandl fc349216d7 Closes #16052: fix typo. Patch by Lars Buitinck. 2012-09-26 13:11:48 +02:00
Giampaolo Rodola' 8286951f57 merge 3.3 2012-09-25 12:34:54 -07:00
Giampaolo Rodola' 49379c05cd mention new MLSD support for ftplib in 3.3 whatsnew 2012-09-25 12:32:46 -07:00
Brett Cannon 847bb76f18 merge 2012-09-25 15:23:49 -04:00
Brett Cannon 288717a2ac Shift a deprecation from the porting section to the deprecation section. 2012-09-25 15:23:07 -04:00
Giampaolo Rodola' 15c8849001 fix contextlib.ExitStack typo in 3.3's whatsnew.rst 2012-09-25 12:00:04 -07:00
Barry Warsaw d09a05ebc5 Merge 3.2 except the massive Misc/NEWS conflict, so hand apply the NEWS entry. 2012-09-25 10:47:55 -04:00
Barry Warsaw 1dedd0a4a4 - Issue #15935: Clarification of argparse docs, re: add_argument() type and
default arguments.  Patch contributed by Chris Jerdonek.
2012-09-25 10:37:58 -04:00
Chris Jerdonek dbe508870f Issue #16015: Merge and update from 3.2. 2012-09-25 04:33:24 -07:00
Chris Jerdonek df12f2bbb6 Issue #16015: Make welcome message more realistic in tutorial example. 2012-09-25 04:20:29 -07:00
Chris Jerdonek 9118a79c7c Issue #16015: Merge fix from 3.2. 2012-09-24 19:31:09 -07:00
Chris Jerdonek 9bb56a66c5 Issue #16015: Fix NameError doctest example in tutorial introduction. 2012-09-24 19:28:59 -07:00
Victor Stinner d0af3103ef Close #16022: What's New in Python 3.3 document is no more at beta stage 2012-09-24 23:19:17 +02:00
Victor Stinner 6447b9214a Close #16022: What's New in Python 3.3 document is no more at beta stage 2012-09-24 23:19:17 +02:00
Mark Dickinson 33d8ce1f0f Issue #14167: merge fix from 3.2 branch. 2012-09-24 20:17:17 +01:00
Mark Dickinson 05ee5817a1 Issue #14167: restore statement about breaks in finally clauses. 2012-09-24 20:16:38 +01:00
Ezio Melotti f8a2865482 #16019, #16020: merge with 3.2. 2012-09-24 17:31:37 +03:00
Ezio Melotti 8618fb6a65 #16019, #16020: fix syntax highlight. 2012-09-24 17:30:39 +03:00
Ezio Melotti 5799a2d8c3 #16017: merge with 3.2. 2012-09-24 17:08:05 +03:00
Ezio Melotti c926c59d80 #16017: capitalize URLs. 2012-09-24 17:07:39 +03:00
Ezio Melotti 0ce22259df #16014: merge with 3.2. 2012-09-24 16:58:14 +03:00
Ezio Melotti 4f24af065d #16014: fix broken link. 2012-09-24 16:56:59 +03:00
Nadeem Vawda 5011244be0 Prefer lzma.open() over lzma.LZMAFile() in lzma module documentation. 2012-09-23 18:20:23 +02:00
Nadeem Vawda 667a13bf2a Fix indentation of examples in lzma module documentation. 2012-09-23 18:08:57 +02:00
Ezio Melotti 2b7a71d6e5 #15949, #15899: merge with 3.2. 2012-09-23 16:03:21 +03:00
Ezio Melotti 20b8d992b0 #15949, #15899: use \ufffd instead of ?. 2012-09-23 15:55:14 +03:00
Victor Stinner a3ff101e6a Issue #5969: faulthandler module: rename dump_tracebacks_later() to
dump_traceback_later() and cancel_dump_tracebacks_later() to
cancel_dump_traceback_later().
2012-09-23 11:06:21 +02:00
Ezio Melotti fb436c4eba #15949, 15899: merge with 3.2. 2012-09-22 11:25:22 +03:00
Ezio Melotti b1d0e5b11e #15949, 15899: avoid using non-latin1 chars in the doc (they break `make all-pdf`). 2012-09-22 11:23:06 +03:00
Larry Hastings a867ed553e Cleanup/rewrite shutil docs regarding follow_symlinks and copying attributes. 2012-09-21 10:12:14 -07:00
Larry Hastings bf84bbabbb Mention that "defaults" can be None for inspect.getfullargspec.
Also minor formatting cleanups.
2012-09-21 09:40:41 -07:00
Larry Hastings 88950fb4d0 Add What's New entries for some minor work I did in 3.3. 2012-09-21 09:30:19 -07:00
Mark Dickinson 7c6c80d89f Issue 15985: merge from 3.2. 2012-09-20 20:51:53 +01:00
Mark Dickinson 4e12ad19c9 Issue 15985: fix round argument names in documentation. Thanks Chris Jerdonek. 2012-09-20 20:51:14 +01:00
Ezio Melotti fe6e7e6b30 Merge the quotes/backslashes fixes with 3.2. 2012-09-20 09:47:41 +03:00
Ezio Melotti 694f2331c6 Fix a few quotes/backslashes. 2012-09-20 09:47:03 +03:00
Ezio Melotti a58d8b05df Merge markup fixes in smtpd.rst with 3.2. 2012-09-20 09:09:24 +03:00
Ezio Melotti 8bbcb584dd Fix markup in smtpd.rst. 2012-09-20 09:06:51 +03:00
Ezio Melotti be54d6d2f3 Update suspicious ignore file. 2012-09-20 08:46:06 +03:00
Ezio Melotti 7598e18bf2 Fix rst markup. 2012-09-20 08:33:53 +03:00