Commit graph

101860 commits

Author SHA1 Message Date
Senthil Kumaran
166214c344 merge from 3.4
Issue #7776: Fix ``Host:'' header and reconnection when using  http.client.HTTPConnection.set_tunnel()
Patch by Nikolaus Rath.
2014-04-14 13:10:05 -04:00
Senthil Kumaran
9da047b3a5 Issue #7776: Fix ``Host:'' header and reconnection when using http.client.HTTPConnection.set_tunnel().
Patch by Nikolaus Rath.
2014-04-14 13:07:56 -04:00
Eric V. Smith
ebdaaf4087 Issue #20480: Add ipaddress.reverse_pointer. Patch by Leon Weber. 2014-04-14 12:58:07 -04:00
Benjamin Peterson
40470e00b5 do not generate pipe names in the temporary dir 2014-04-14 12:24:37 -04:00
Benjamin Peterson
6b23088035 merge 3.4 2014-04-14 12:16:18 -04:00
Benjamin Peterson
b814057cda merge 3.3 2014-04-14 12:16:07 -04:00
Benjamin Peterson
98816bd234 merge 3.2 2014-04-14 12:15:58 -04:00
Benjamin Peterson
49991deb6e fix poor spelling 2014-04-14 12:15:28 -04:00
Eric V. Smith
280c458f9e Closes issue #12546: Allow \x00 as a fill character for builtin type __format__ methods. 2014-04-14 12:08:21 -04:00
Eric V. Smith
2ea9712ee9 Issue #12546: Allow \x00 as a fill character for builtin type __format__ methods. 2014-04-14 11:55:10 -04:00
Benjamin Peterson
f33201b6db merge 3.4 2014-04-14 11:48:29 -04:00
Benjamin Peterson
70d92a96ab merge 3.3 2014-04-14 11:48:21 -04:00
Benjamin Peterson
9beee049b0 merge 3.2 2014-04-14 11:46:51 -04:00
Benjamin Peterson
6ef2b36afa disallow a negative idx parameter 2014-04-14 11:45:21 -04:00
Michael Foord
1b16436c00 Merge 2014-04-14 11:26:38 -04:00
Michael Foord
07dc55f4c6 Merge 2014-04-14 11:25:15 -04:00
Michael Foord
a185679152 Merge 2014-04-14 11:24:38 -04:00
Michael Foord
d2623d7786 Issue 20968. unittest.mock.MagicMock now supports division 2014-04-14 11:23:48 -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
a548a30fed merge 3.4 (#21209) 2014-04-13 23:52:43 -04:00
Benjamin Peterson
f6e50b4a81 fix sending tuples to custom generator objects with yield from (closes #21209)
Debugged by Victor.
2014-04-13 23:52:01 -04:00
Benjamin Peterson
79f3ef6336 merge 3.4 2014-04-13 22:32:12 -04:00
Benjamin Peterson
584f5cbf16 merge 3.3 2014-04-13 22:31:42 -04:00
Benjamin Peterson
156285c35f merge 3.2 2014-04-13 22:28:16 -04:00
Benjamin Peterson
99b5afab74 in scan_once, prevent the reading of arbitrary memory when passed a negative index
Bug reported by Guido Vranken.
2014-04-13 22:10:38 -04:00
R David Murray
e084e97f9f Mierge #21169: fix getpass to use replace error handler on UnicodeEncodeError. 2014-04-13 22:09:29 -04:00
R David Murray
d5aa487cce #21169: fix getpass to use replace error handler on UnicodeEncodeError.
If the input stream encoding couldn't encode one or more of the
non-ascii characters in the prompt, it would fail, throwing a
UnicodeEncodeError.  Now if that happens we re-encoding using the
'replace' error handler.

Patch by Kushal Das.
2014-04-13 22:07:39 -04:00
Benjamin Peterson
fc8e9883be correct sphinx mark up for cmdline options (closes #21210) 2014-04-13 19:52:14 -04:00
Serhiy Storchaka
3d794fb240 Issue #20635: Added tests for Tk geometry managers. 2014-04-13 19:55:08 +03:00
Serhiy Storchaka
e544f9a27e Issue #20635: Added tests for Tk geometry managers. 2014-04-13 19:52:23 +03:00
Serhiy Storchaka
9c5553e122 Issue #21171: Fixed undocumented filter API of the rot13 codec.
Patch by Berker Peksag.
2014-04-13 17:08:51 +03:00
Serhiy Storchaka
a39938ff44 Issue #21171: Fixed undocumented filter API of the rot13 codec.
Patch by Berker Peksag.
2014-04-13 17:07:04 +03: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
Benjamin Peterson
f84200ffc7 test the change of #21193 correctly 2014-04-11 15:37:18 -04:00
Mark Dickinson
0c346d827d Issue #21193: Make (e.g.,) pow(2, -3, 5) raise ValueError rather than TypeError. Patch by Josh Rosenberg. 2014-04-11 14:34:40 -04:00
Terry Jan Reedy
138185fa05 Merge with 3.4 2014-04-11 14:11:34 -04:00
Terry Jan Reedy
f98021cff2 Issue #21170: Removed invalid parameter names from unittest doc.
Patch by Kushal Das.
2014-04-11 14:11:11 -04:00
Mark Dickinson
5990d2864c Issue #20539: Improve math.factorial error messages and types for large inputs.
- Better message for the OverflowError in large positive inputs.
- Changed exception type from OverflowError to ValueError for large negative inputs.
2014-04-10 09:29:39 -04:00
Raymond Hettinger
6ed7c20ce5 Update comment for the comparison table to use measured results rather than predicted. 2014-04-10 01:18:01 -06:00
Vinay Sajip
bed54b569a Closes #21172: Merged fix from 3.4. 2014-04-10 07:14:01 +01:00
Vinay Sajip
1b7611405d Issue #21172: isinstance check relaxed from dict to collections.Mapping. 2014-04-10 07:12:19 +01:00
Benjamin Peterson
82f69fd93b merge 3.4 2014-04-10 00:24:47 -04:00