Benjamin Peterson
10bc0f6edf
merge 3.3 ( #27774 )
2016-08-15 22:03:44 -07:00
Benjamin Peterson
3a27b0857e
do not decref value borrowed from list ( closes #27774 )
2016-08-15 22:01:41 -07:00
Benjamin Peterson
81b9ecd2a3
fix corner cases in the management of server_hostname ( closes #27773 )
2016-08-15 21:55:37 -07:00
Benjamin Peterson
b1c6bdc76a
merge 3.4
2016-08-15 21:43:57 -07:00
Benjamin Peterson
432ea4ff37
fail when negative values are passed to instr()
2016-08-15 21:40:14 -07:00
Guido van Rossum
aa9560c633
Add docs for typing.AnyStr and typing.Text. By Michael Lee.
2016-08-15 15:06:38 -07:00
Ned Deily
3d4559936a
Issue #10910 : Update FreedBSD version checks for the ctype UTF-8 workaround.
...
The original problem has been fixed in newer versions of FreeBSD.
Patch by Dimitry Andric of the FreeBSD project.
2016-08-15 03:08:18 -04:00
Ned Deily
7659aab5e9
Issue #10910 : Avoid C++ compilation errors on FreeBSD and OS X.
...
Patch by Ronald Oussoren.
2016-08-15 03:07:26 -04:00
Donald Stufft
80a3ba90fd
merge 3.4
2016-08-14 16:10:17 -04:00
Donald Stufft
5e4aafa258
Update setuptools/pip to 25.2.0/8.1.2
2016-08-14 16:09:56 -04:00
Benjamin Peterson
91060f26f9
merge 3.4 ( closes #27760 )
2016-08-13 18:37:12 -07:00
Benjamin Peterson
5295532adb
merge 3.3 ( closes #27760 )
2016-08-13 18:36:55 -07:00
Benjamin Peterson
4f976513ef
fix possible integer overflow in binascii.b2a_qp ( closes #27760 )
...
Reported by Thomas E. Hybel
2016-08-13 18:33:33 -07:00
Benjamin Peterson
f17a8e9acd
merge 3.4
2016-08-13 18:21:16 -07:00
Benjamin Peterson
40a77c3381
do not allow reading negative values with getstr()
2016-08-13 18:15:28 -07:00
Benjamin Peterson
9745ee0b44
merge 3.4 ( closes #27758 )
2016-08-13 17:21:54 -07:00
Benjamin Peterson
59b6abd38c
merge 3.3 ( #27758 )
2016-08-13 17:21:22 -07:00
Benjamin Peterson
6e01d90cc8
check for overflow in join_append_data ( closes #27758 )
...
Reported by Thomas E. Hybel
2016-08-13 17:17:06 -07:00
R David Murray
689016fc00
#27753 : fix typo (name->named).
2016-08-13 14:47:18 -04:00
Raymond Hettinger
f6ffa9826e
Issue #27720 : Fix error in eng_to_decimal docs and add examples from the specification.
...
(Based on a first draft patch from Evelyn Mitchell.)
2016-08-13 11:15:34 -07:00
Berker Peksag
bd664357f1
Issue #24637 : Document that locals can be any mapping object
...
This behavior is already tested in test_general_eval in
Lib/test/test_builtin.py
Patch by Matthew Keeter.
2016-08-13 05:37:49 +03:00
Brett Cannon
6336fb2734
Issue #27712 : Fix some typos in the import docs.
...
Thanks to Xiang Zhang for the patch.
2016-08-12 10:56:48 -07:00
Raymond Hettinger
7f65af3d2d
Issue 27719: Remove a doc example that is not applicable in Python 3
2016-08-12 09:43:59 -07:00
Martin Panter
5401e87b01
Issue #25825 : Fix references to Modules/python.exp
...
These were incorrectly changed in revision 88a532a31eb3.
2016-08-12 13:21:05 +00:00
Martin Panter
b4a2b36c99
Issue #27745 : Fix some typos in Argument Clinic howto, by Lele Gaifax
2016-08-12 12:02:03 +00:00
Martin Panter
3cf0b2515b
Issue #26741 : Clean up subprocess.Popen object in test_poll
2016-08-12 11:59:52 +00:00
Martin Panter
b63c56077f
Close HTTP connections and responses in tests to avoid ResourceWarnings
2016-08-12 11:59:52 +00:00
Terry Jan Reedy
2084350685
Issue #27714 : text_textview now passes when re-run in the same process
...
because test_idle failed while running with test -w (and no -jn).
2016-08-10 16:52:24 -04:00
Martin Panter
540f0451d2
Correct misspellings of ISO-8859
2016-08-10 05:25:16 +00:00
Zachary Ware
4199bbaf63
Issue #27200 : Fix doctests in Doc/library/hashlib.rst
2016-08-10 01:05:19 -05:00
Zachary Ware
9f8b3a0b92
Issue #27210 : Fix doctests for a few modules.
...
Initial patch by Jelle Zijlstra.
2016-08-10 00:59:59 -05:00
Zachary Ware
640b1ca507
Issue #27209 : Fix doctests in Doc/library/email*.rst
...
Patch by Jelle Zijlstra.
2016-08-10 00:39:41 -05:00
Zachary Ware
c90fccdff6
Issue #27208 : Fix doctest in Doc/library/traceback.rst
...
Patch by Jelle Zijlstra.
2016-08-10 00:35:27 -05:00
Zachary Ware
4032620f93
Issue #27207 : Fix doctests in Doc/whatsnew/3.2.rst
...
Initial patch by Jelle Zijlstra.
2016-08-10 00:30:41 -05:00
Zachary Ware
c483a01a8f
Issue #27206 : Fix doctests in Doc/tutorial.
...
Patch by Jelle Zijlstra.
2016-08-09 17:44:52 -05:00
Zachary Ware
2b52c0a25f
Issue #27205 : Fix doctests in Doc/library/collections.rst.
...
Initial patch by Jelle Zijlstra.
2016-08-09 17:38:22 -05:00
Zachary Ware
7a26da5845
Issue #27722 : Fix default for touch method's 'mode' argument
2016-08-09 17:10:39 -05:00
Zachary Ware
378a1d77d9
Issue #27204 : Fix doctests in Doc/howto
...
Patch by Jelle Zijlstra.
2016-08-09 16:47:04 -05:00
Zachary Ware
2f47fb0021
Correct signatures for a couple of logging handlers
...
Reported by Oleg Gromyak on docs@
2016-08-09 16:20:41 -05:00
Vinay Sajip
085e806798
Closes #21999 : Handled empty strings correctly when in POSIX mode.
2016-08-09 15:04:49 +01:00
Guido van Rossum
f68afd8544
Issue #27700 : Document AbstractEventLoop, not BaseEventLoop.
2016-08-08 09:41:21 -07:00
Berker Peksag
08d85ee78d
Fix use of default reST role
2016-08-08 13:34:49 +03:00
Berker Peksag
7d1c5efed1
Issue #23322 : Remove outdated reference to an example in parser docs
...
Initial patch by Sahil Chelaramani.
2016-08-08 13:07:08 +03:00
Andrew Svetlov
4365b8302d
Use asyncio.gather instead of asyncio.wait in example.
...
gather will raise exception in case of problem but wait just returns done and pending lists of futures.
For getting error every future result should be retrieved, which is boring and error prone.
2016-08-08 03:10:39 +03:00
Gregory P. Smith
9854789efe
Issue #26750 : unittest.mock.create_autospec() now works properly
...
for subclasses of property() and other data descriptors.
2016-08-07 08:52:26 -07:00
Guido van Rossum
abfe28b012
Better docs for typing.Any by Michael Lee. Fixes issue #27688 .
2016-08-06 13:46:48 -07:00
Berker Peksag
ab75e02f5c
Issue #18548 : Fix unittest.TestSuite() example
...
Initial patch by py.user.
2016-08-06 03:00:03 +03:00
Vinay Sajip
0b588869ee
Issue #20160 : Merged fix from 3.4.
2016-08-05 21:44:15 +01:00
Vinay Sajip
a0b2568627
Issue #20160 : Merged fix from 3.3.
2016-08-05 21:43:25 +01:00
Vinay Sajip
6f25003291
Issue #20160 : Handled passing of large structs to callbacks correctly.
2016-08-05 21:24:27 +01:00