Commit graph

30438 commits

Author SHA1 Message Date
Zachary Ware
9fafc9f79a Add prompts to interactive example.
This makes it match the new example below, and allows Sphinx's
"hide the prompts and output" feature to work.
2014-05-06 09:18:17 -05:00
Zachary Ware
4e6688d2b2 Issue #21366: Document the fact that `return in a finally` clause
overrides a ``return`` in the ``try`` suite.
2014-05-06 09:07:51 -05:00
Zachary Ware
8edd532026 Issue #21366: Document the fact that `return in a finally` clause
overrides a ``return`` in the ``try`` suite.
2014-05-06 09:07:13 -05:00
Guido van Rossum
a4790965f4 Merge 3.4->default: asyncio docs: ProactorEventLoop does not support SSL. 2014-05-05 07:35:29 -07:00
Guido van Rossum
5280d2e399 asyncio docs: ProactorEventLoop does not support SSL. 2014-05-05 07:34:56 -07:00
Victor Stinner
db067af12a Issue #21233: Add new C functions: PyMem_RawCalloc(), PyMem_Calloc(),
PyObject_Calloc(), _PyObject_GC_Calloc(). bytes(int) and bytearray(int) are now
using ``calloc()`` instead of ``malloc()`` for large objects which is faster
and use less memory (until the bytearray buffer is filled with data).
2014-05-02 22:31:14 +02:00
Stefan Krah
b151f8f60b Issue #10650: Remove the non-standard 'watchexp' parameter from the
Decimal.quantize() method in the Python version.  It had never been
present in the C version.
2014-04-30 19:15:38 +02:00
Gregory P. Smith
30a6df5b64 Document the subprocess Popen.args attribute (issue21353) 2014-04-29 11:34:15 -07:00
Gregory P. Smith
d8ea56d26d Document the subprocess Popen.args attribute (issue21353) 2014-04-29 11:33:56 -07:00
Gregory P. Smith
024c5eecbc Document the subprocess Popen.args attribute (issue21353) 2014-04-29 11:33:23 -07:00
Zachary Ware
e83ce4b90f Closes #17386: Merge with 3.4 2014-04-29 09:47:39 -05:00
Zachary Ware
a67b97f438 Issue #17386: Expand Doc/make.bat to be much more similar to Doc/Makefile 2014-04-29 09:45:33 -05:00
Zachary Ware
1de519c60d Issue #17386: Update Doc/README.txt to list all targets
supported by Doc/Makefile, as well as a bit of modernization,
cleanup, and notes about the difference between Unix and Windows.
2014-04-29 09:26:56 -05:00
Zachary Ware
9393fffa5f Issue #17386: List the 'htmlview' target in the Doc/Makefile help output. 2014-04-29 09:24:40 -05:00
Antoine Pitrou
92c4d45326 Add porting note for issue #20951. 2014-04-29 10:05:59 +02:00
Antoine Pitrou
b4bebdafe3 Issue #20951: SSLSocket.send() now raises either SSLWantReadError or SSLWantWriteError on a non-blocking socket if the operation would block. Previously, it would return 0.
Patch by Nikolaus Rath.
2014-04-29 10:03:28 +02:00
Terry Jan Reedy
727a463aa6 Merge with 3.4 2014-04-29 01:19:41 -04:00
Terry Jan Reedy
9cc9026294 Issue #21055: Index (augmented) assignment symbols. 2014-04-29 01:19:17 -04:00
Terry Jan Reedy
e9dcfd1870 Merge with 3.4 2014-04-29 00:59:19 -04:00
Terry Jan Reedy
7c895edabc Closes 21048: Index 'as' in import and with statements. 2014-04-29 00:58:56 -04:00
Terry Jan Reedy
c763807d9b Merge with 3.4 2014-04-29 00:32:17 -04:00
Terry Jan Reedy
43e7cd38e5 Issue #21026: Augment site doc based on experiments. Patch by Carol Willing. 2014-04-29 00:31:53 -04:00
Antoine Pitrou
63aeb71909 Issue #9307: document the various Py_TPFLAGS_*_SUBCLASS flags. Patch by Yury V. Zaytsev. 2014-04-29 01:39:26 +02:00
Antoine Pitrou
f9f54a2f5f Issue #9307: document the various Py_TPFLAGS_*_SUBCLASS flags. Patch by Yury V. Zaytsev. 2014-04-29 01:39:03 +02:00
Antoine Pitrou
c695c95626 Issue #19940: ssl.cert_time_to_seconds() now interprets the given time string in the UTC timezone (as specified in RFC 5280), not the local timezone.
Patch by Akira.
2014-04-28 20:57:36 +02:00
R David Murray
dd41f24687 Merge: #18243: Remove obsolete cautionary note from email mktime_tz docs. 2014-04-26 19:01:47 -04:00
R David Murray
ae25f46706 #18243: Remove obsolete cautionary note from email mktime_tz docs. 2014-04-26 19:01:18 -04:00
Giampaolo Rodola'
409569b1cf update os.sendfile() doc signaling that cross-platform apps should not use headers, trailers and flags arguments 2014-04-24 18:09:21 +02:00
Benjamin Peterson
b0c597f5ff merge 3.4 (#21330) 2014-04-22 21:55:07 -04:00
Benjamin Peterson
9e599673b4 fix off-by-one error (closes #21330) 2014-04-22 21:54:10 -04:00
Terry Jan Reedy
386b2b18f5 Merge with 3.4. Closes #21232. 2014-04-18 17:00:50 -04:00
Terry Jan Reedy
bddecc3861 Issue #21232: Replace .splitlines arg '1' with 'keepends=True'. 2014-04-18 17:00:19 -04:00
Zachary Ware
dee46b370e Merge with 3.4 2014-04-18 15:45:02 -05:00
Zachary Ware
a37ff0fb80 Issue #21289: Fix documentation building on Windows using Doc/make.bat.
Also fixes a long-standing typo in Doc/README.txt.

Initial patch by Dave Sawyer.
2014-04-18 15:10:40 -05:00
Benjamin Peterson
d065c48991 fix ref count annotations on sphinx >= 1.2.1 (closes #21286) 2014-04-17 18:29:01 -04:00
Senthil Kumaran
aad7cc9dba Clarify BROWSER envar behavior in webbrowser.py. Noted by David Turner. Closes #21248 2014-04-16 23:43:34 -04:00
Senthil Kumaran
8b4a272c98 Correct the URL in the http.client example. Noted by Evens Fortuné. Closes #21229 2014-04-16 23:33:02 -04:00
R David Murray
f7f981829b #18628: clarify index entry for source file encoding declaration.
Patch by Sam Lucidi.
2014-04-16 21:48:04 -04:00
Senthil Kumaran
cad2bf20c3 Address issue 18229 - Explain http.server.BaseHTTPRequestHandler's .headers attribute further.
Initial patch by Caelyn McAulay.
2014-04-16 13:56:19 -04:00
Terry Jan Reedy
7f84d1eb63 #18566: Whitespace 2014-04-15 23:44:14 -04:00
Terry Jan Reedy
6ac4240b6c Issue #18566: Clarify unittest setUp, tearDown doc. Patch by Nitika Agarwal. 2014-04-15 23:38:18 -04:00
R David Murray
fc1020d396 #20874: reflow paragraph. 2014-04-15 20:26:54 -04:00
R David Murray
0e0e391fa3 #20874: update tutorial wording: sophisticated line editing is now standard.
Patch by Rafael Mejia.
2014-04-15 20:25:18 -04:00
Vinay Sajip
65425b4bc6 Issue #21245: updated documentation on exception() method and function. 2014-04-15 23:13:12 +01:00
Benjamin Peterson
af7c5b0bb5 merge 3.4 2014-04-17 18:29:27 -04:00
Senthil Kumaran
aedff520ea merge 3.4 2014-04-16 23:44:03 -04:00
Senthil Kumaran
249e74aa26 merge 3.4 2014-04-16 23:33:30 -04:00
R David Murray
16b8c619cd Merge: #18628: clarify index entry for source file encoding declaration. 2014-04-16 21:50:25 -04:00
Kushal Das
8af9db3e4f Closes Issue 21262: New method assert_not_called for Mock.
It raises AssertionError if the mock has been called.
2014-04-17 01:36:14 +05:30
Kushal Das
8c14534df6 Closes Issue 21238: New keyword argument unsafe to Mock.
It raises `AttributeError` incase of an attribute startswith assert
or assret.
2014-04-16 23:32:21 +05:30