Zachary Ware
edaf8653c6
Merge with 3.5
2016-04-19 11:49:56 -05:00
Zachary Ware
75b1bdcafa
Replace assert statements with self.assertXxx() calls
...
Sync with upstream, see github.com/python/typing/pull/205
2016-04-19 11:49:37 -05:00
Victor Stinner
0621e0ea86
Don't define _PyMem_PymallocEnabled() if pymalloc is disabled
...
Isse #26516 .
2016-04-19 17:02:55 +02:00
Victor Stinner
1fa5a38e92
Merge 3.5: Issue #21668
2016-04-19 15:58:33 +02:00
Victor Stinner
def8072c34
setup.py: add missing libm dependency
...
Issue #21668 : Link audioop, _datetime, _ctypes_test modules to libm, except on
Mac OS X. Patch written by Xavier de Gaye.
2016-04-19 15:58:11 +02:00
Lars Gustäbel
daac5f9f92
Issue #24838 : Merge test_tarfile.py fix from 3.5.
2016-04-19 11:59:39 +02:00
Lars Gustäbel
ddd9917ac3
Issue #24838 : Fix test_tarfile.py for non-utf8 filesystem encodings.
2016-04-19 11:58:41 +02:00
Lars Gustäbel
7c3e6848f2
Issue #24838 : Merge tarfile fix from 3.5.
2016-04-19 08:53:14 +02:00
Lars Gustäbel
0f450abec4
Issue #24838 : tarfile's ustar and gnu formats now correctly calculate name and
...
link field limits for multibyte character encodings like utf-8.
2016-04-19 08:43:17 +02:00
Berker Peksag
1d0489269e
Issue #26615 : Add missing __qualname__ entry to functools.update_wrapper() docs
...
Patch by Xiang Zhang.
2016-04-18 21:21:10 +03:00
Berker Peksag
472233ec83
Issue #26615 : Add missing __qualname__ entry to functools.update_wrapper() docs
...
Patch by Xiang Zhang.
2016-04-18 21:20:50 +03:00
Guido van Rossum
49ed08fd0b
typing.py: merge 3.5->3.6 (Tuple/ellipsis/equality).
2016-04-18 07:39:54 -07:00
Guido van Rossum
5abcbb3ee5
typing.py: Consider ellipsis in TupleMeta.__eq__. By Kalle Tuure. github.com/python/typing/pull/201.
2016-04-18 07:37:41 -07:00
Victor Stinner
27e1240af5
Merge 3.5 (test_asyncio)
2016-04-18 10:29:19 +02:00
Victor Stinner
c1b578608e
Fix test_asyncio.test_timeout_disable()
...
Issue #26777 : Fix random failing of the test on the "AMD64 FreeBSD 9.x 3.5"
buildbot:
File ".../Lib/test/test_asyncio/test_tasks.py", line 2398, in go
self.assertTrue(0.09 < dt < 0.11, dt)
AssertionError: False is not true : 0.11902812402695417
Replace "< 0.11" with "< 0.15".
2016-04-18 10:28:42 +02:00
Martin Panter
791ac54a44
Issue #26657 : Merge http.server fix from 3.5
2016-04-18 07:16:17 +00:00
Georg Brandl
d2be07e1fd
#25987 : add versionadded to Reversible.
2016-04-18 07:25:54 +02:00
Raymond Hettinger
a648339595
Fix spelling error
2016-04-17 21:21:01 -07:00
Martin Panter
d274b3f1f1
Issue #26657 : Fix Windows directory traversal vulnerability with http.server
...
Based on patch by Philipp Hagemeister. This fixes a regression caused by
revision f4377699fd47.
2016-04-18 03:45:18 +00:00
Guido van Rossum
f0f1d365c8
Sync test_typing.py with upstream git repo (typing.py was already synced). (3.5->3.6)
2016-04-17 17:53:50 -07:00
Guido van Rossum
6aafbd433d
Sync test_typing.py with upstream git repo (typing.py was already synced).
2016-04-17 17:52:05 -07:00
Serhiy Storchaka
55c861f637
Issue #26745 : Removed redundant code in _PyObject_GenericSetAttrWithDict.
...
Based on patch by Xiang Zhang.
2016-04-17 20:31:51 +03:00
Victor Stinner
a858bbde03
Avoid fcntl() if possible in set_inheritable()
...
Issue #26770 : set_inheritable() avoids calling fcntl() twice if the FD_CLOEXEC
is already set/cleared. This change only impacts platforms using the fcntl()
implementation of set_inheritable() (not Linux nor Windows).
2016-04-17 16:51:52 +02:00
Serhiy Storchaka
b6a9c9761c
Issue #26778 : Fixed "a/an/and" typos in code comment, documentation and error
...
messages.
2016-04-17 09:39:28 +03:00
Serhiy Storchaka
6a7b3a77b4
Issue #26778 : Fixed "a/an/and" typos in code comment and documentation.
2016-04-17 08:32:47 +03:00
Steven D'Aprano
5562563dd4
Automated merge with ssh://hg.python.org/cpython
2016-04-17 13:14:48 +10:00
Steven D'Aprano
4ad465424a
Shorten secrets module docstring, add function docstrings.
2016-04-17 13:13:36 +10:00
Steven D'Aprano
151f5d5971
Fix a few minor typos to secrets documentation.
2016-04-17 13:05:10 +10:00
Martin Panter
d77133b4ce
Issue #26717 : Merge wsgiref fix from 3.5
2016-04-17 02:36:50 +00:00
Martin Panter
50dd1f7dd6
Issue #26717 : Stop encoding Latin-1-ized WSGI paths with UTF-8
...
Patch by Anthony Sottile.
2016-04-17 02:17:03 +00:00
Martin Panter
528619b6c3
Issue #26782 : Add STARTUPINFO to subprocess.__all__ on Windows
2016-04-16 23:42:37 +00:00
Martin Panter
9015eb4f74
Issue #26782 : Merge test_subprocess from 3.5
2016-04-16 23:40:15 +00:00
Martin Panter
06172e7bd4
Issue #26782 : Acknowledge the incomplete status of __all__ in 3.5
...
Handle is probably meant to be excluded, and STARTUPINFO will be added to
__all__ in 3.6.
2016-04-16 23:38:25 +00:00
Benjamin Peterson
a4ed2daea3
merge 3.5
2016-04-16 15:12:37 -07:00
Benjamin Peterson
b0c04cb98c
fix slice cache finalization to use gc del
2016-04-16 15:12:29 -07:00
Benjamin Peterson
50074f192d
merge 3.5
2016-04-16 15:02:29 -07:00
Benjamin Peterson
8917226e4a
test_support -> support
2016-04-16 15:02:23 -07:00
Benjamin Peterson
259d247b31
merge 3.5 ( #26659 )
2016-04-16 14:54:27 -07:00
Benjamin Peterson
2b601d3905
add gc support to slice ( closes #26659 )
2016-04-16 14:47:12 -07:00
Steven D'Aprano
b2871faa87
Documentation for secrets.py
2016-04-17 01:42:33 +10:00
Serhiy Storchaka
9e9235511e
Issue #26783 : test_os.WalkTests.test_walk_topdown did't test fwalk and bytes.
...
Patch by Aviv Palivoda.
2016-04-16 17:51:17 +03:00
Serhiy Storchaka
a07ab29a79
Issue #26783 : test_os.WalkTests.test_walk_topdown did't test fwalk and bytes.
...
Patch by Aviv Palivoda.
2016-04-16 17:51:00 +03:00
Senthil Kumaran
4d4ac5bd02
merge 3.5
...
issue26775 - Improve test coverage for urllib.parse
Patch contributed by Luiz Poleto.
2016-04-16 07:34:24 -07:00
Senthil Kumaran
e38415e776
issue26775 - Improve test coverage for urllib.parse
...
Patch contributed by Luiz Poleto.
2016-04-16 07:33:15 -07:00
Martin Panter
5cad060e0d
Merge subprocess test from 3.5
2016-04-16 11:51:31 +00:00
Martin Panter
23172bd47b
Issue #10838 : Run test__all__() everywhere, even if poll() is not available
2016-04-16 11:28:10 +00:00
Martin Panter
8b04a945ef
Merge typo fixes from 3.5
2016-04-16 09:29:17 +00:00
Martin Panter
119e502277
Fix typos in code comments and documentation
2016-04-16 09:28:57 +00:00
Martin Panter
d3aeb9b797
Issue #26638 : Merge link fixes from 3.5
2016-04-16 07:36:08 +00:00
Martin Panter
00ccacc8db
Issue #26638 : Fix links to some CLI options and section headings
...
* Disable inappropriate links to Python interpreter options
* Correct link to CLI section in zipapp
* Make CLI section label in timeit less ambiguous
2016-04-16 04:59:38 +00:00