Commit graph

16553 commits

Author SHA1 Message Date
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
Senthil Kumaran
c3ac9af6d0 merge 3.4 2014-04-16 13:56:41 -04:00
Antoine Pitrou
94a5b663bf Issue #20896: ssl.get_server_certificate() now uses PROTOCOL_SSLv23, not PROTOCOL_SSLv3, for maximum compatibility. 2014-04-16 18:56:28 +02:00
Andrew Kuchling
f5a429295d #6490: Expand documentation for os.popen().
Patch by Sam Kimbrel.
2014-04-16 09:10:53 -04:00
Terry Jan Reedy
f2dfa92704 Merge with 3.4 2014-04-15 23:44:37 -04:00
Terry Jan Reedy
62e582cdb4 Merge with 3.4 2014-04-15 23:38:44 -04:00
Andrew Kuchling
15b04eb429 #20103: Rewrite description of itertools.accumulate().
Patch by Christian Hudon.
2014-04-15 22:28:40 -04:00
R David Murray
1b28088fd3 Merge #20874 fix. 2014-04-15 20:30:00 -04:00
Vinay Sajip
aef3027aaf Closes #21245: merged update from 3.4. 2014-04-15 23:13:54 +01:00
R David Murray
1976d9bf6d #15916: if there are no docstrings, make empty suite, not an error.
This makes doctest work like unittest: if the test case is empty, that
just means there are zero tests run, it's not an error.  The existing
behavior was broken, since it only gave an error if there were *no*
docstrings, and zero tests run if there were docstrings but none of them
contained tests.  So this makes it self-consistent as well.

Patch by Glenn Jones.
2014-04-14 20:28:36 -04:00
R David Murray
865d23d1dd Merge: #15104: add backtick code markup. 2014-04-14 18:54:21 -04:00
R David Murray
fe0e1082aa #15104: add backtick code markup. 2014-04-14 18:53:51 -04:00
Michael Foord
fddcfa27fa Closes issue 17660. You no longer need to explicitly pass create=True when patching builtin names. 2014-04-14 16:25:20 -04:00
Andrew Kuchling
4f7b0c3c35 #10481: describe universal_newlines' effect on communicate()/check_output() output (alternately bytes or strings)
Patch by Sam Kimbrel.
2014-04-14 15:08:18 -04:00
R David Murray
94255f3a80 Merge: #15104: improve the discussion of __main__. 2014-04-14 15:05:12 -04:00
R David Murray
061cb3b04d #15104: improve the discussion of __main__.
Patch by Sam Lucidi.
2014-04-14 15:04:47 -04:00
Andrew Kuchling
7f54b2bf71 Merge from 3.4 2014-04-14 13:52:34 -04:00
Andrew Kuchling
44da19a63d #18518: mention that including a return statement changes/breaks the behaviour 2014-04-14 13:39:43 -04:00
Eric V. Smith
ebdaaf4087 Issue #20480: Add ipaddress.reverse_pointer. Patch by Leon Weber. 2014-04-14 12:58:07 -04:00
Mark Dickinson
393a2a0fe0 Issue #20624: Merge exception docs tweak from 3.4 branch. 2014-04-14 11:20:45 -04:00
Mark Dickinson
abf079de25 Issue #20624: Exception docs wording tweak - clarify that it's okay to inherit from a subclass of Exception. 2014-04-14 11:20:12 -04:00
R David Murray
ce4d9c2f51 Merge: #21169: add comment and doc update for getpass change. 2014-04-14 10:30:43 -04:00
R David Murray
604453c9ce #21169: add comment and doc update for getpass change. 2014-04-14 10:28:58 -04:00
Eric V. Smith
ae04491fd0 Merge 3.4: Fix faq example with division. 2014-04-14 07:53:33 -04:00
Eric V. Smith
04d8a245f1 Fix faq example with division. 2014-04-14 07:52:53 -04:00
Eric V. Smith
ad8d142c0f Merge 3.4: Fix text about int() with octal numbers. Closes #21212. 2014-04-14 07:46:21 -04:00
Eric V. Smith
fc9a4d828e Fix text about int() with octal numbers. Closes #21212. 2014-04-14 07:41:52 -04:00
Benjamin Peterson
fc8e9883be correct sphinx mark up for cmdline options (closes #21210) 2014-04-13 19:52:14 -04:00
Ned Deily
656a87e48c Remove references to the obsolete Mac Carbon modules in the GUI
section of the FAQ.
2014-04-12 09:33:05 -07:00
Ned Deily
ecd9e8ac67 Remove references to the obsolete Mac Carbon modules in the GUI
section of the FAQ.
2014-04-12 09:32:04 -07:00
Terry Jan Reedy
138185fa05 Merge with 3.4 2014-04-11 14:11:34 -04:00