Larry Hastings
51ba5b7d0c
Version bump for Python 3.5.3.
2017-01-16 00:19:36 -08:00
Benjamin Peterson
741c45adab
merge 3.5
2017-01-16 00:05:47 -08:00
Benjamin Peterson
a105dd3dc0
generate spaces instead of tabs into config.c
2017-01-16 00:05:12 -08:00
Vinay Sajip
61eda7260a
Fixed #29132 : Updated shlex to work better with punctuation chars in POSIX mode.
...
Thanks to Evan_ for the report and patch.
2017-01-15 10:06:52 +00:00
INADA Naoki
2e1b6ea4b7
Issue #29062 : Doc: Fix make suspicious
2017-01-14 21:04:21 +09:00
Martin Panter
674b099eaa
More instances of “when pass”
2017-01-14 08:33:10 +00:00
Martin Panter
4659ddc433
Merge doc fixes from 3.5
2017-01-14 09:54:57 +00:00
Martin Panter
8f1378366e
Avoid line breaks after hyphens, otherwise they are turned into spaces
2017-01-14 08:24:20 +00:00
Martin Panter
536d70ed33
Fix grammar, typos and markup in documentation and code comments
...
* Indent versionchanged at method level, not class level
* Mark up ``--help`` to avoid generating an en dash
* Use forward slash in Unix command line with a dollar sign ($) prompt
2017-01-14 08:23:08 +00:00
Martin Panter
758c7d044b
Merge tests from 3.5
2017-01-14 06:26:51 +00:00
Vinay Sajip
6b642c9a71
Fixes #29261 : merged fix from 3.5.
2017-01-13 19:17:03 +00:00
Vinay Sajip
5fd832ba09
Fixes #29261 : added venv/scripts/common to LIBSUBDIRS.
2017-01-13 19:08:47 +00:00
INADA Naoki
e2f9e77df2
Issue #29062 : Merge hashlib-blake2.rst into hashlib.rst
2017-01-13 19:29:58 +09:00
Serhiy Storchaka
4c4ff5f4d4
Issue #29219 : Fixed infinite recursion in the repr of uninitialized
...
ctypes.CDLL instances.
2017-01-13 09:42:17 +02:00
Serhiy Storchaka
4b318f8be9
Issue #29219 : Fixed infinite recursion in the repr of uninitialized
...
ctypes.CDLL instances.
2017-01-13 09:37:56 +02:00
Serhiy Storchaka
a6758427fd
Py_SIZE() was misused for dict.
2017-01-13 08:37:05 +02:00
Serhiy Storchaka
3023ebb43f
Py_SIZE() was misused for dict.
2017-01-13 08:34:34 +02:00
Serhiy Storchaka
9d83b96ce1
Null merge
2017-01-12 19:44:06 +02:00
Serhiy Storchaka
cc03ab6c4f
Null merge
2017-01-12 19:43:06 +02:00
Serhiy Storchaka
cb19aeb550
Merge heads
2017-01-12 19:42:44 +02:00
Vinay Sajip
a44e2cd027
Issue #22343 : Merged change from 3.5.
2017-01-12 17:13:27 +00:00
Serhiy Storchaka
42e1ea9a10
Issue #28969 : Fixed race condition in C implementation of functools.lru_cache.
...
KeyError could be raised when cached function with full cache was
simultaneously called from differen threads with the same uncached arguments.
2017-01-12 19:12:21 +02:00
Vinay Sajip
98a74413b9
Issue #22343 : Made bash activate script available on Windows.
2017-01-12 17:12:10 +00:00
Serhiy Storchaka
67796521dd
Issue #28969 : Fixed race condition in C implementation of functools.lru_cache.
...
KeyError could be raised when cached function with full cache was
simultaneously called from differen threads with the same uncached arguments.
2017-01-12 18:34:33 +02:00
Martin Panter
b71c0956d0
Issues #1621 , #29145 : Test for str.join() overflow
2017-01-12 11:54:59 +00:00
Martin Panter
52e29072e1
Issue #22980 : Skip a sysconfig test if _ctypes is not available.
...
Extracted from revision a1daf2d289ad by Zachary Ware.
2017-01-13 10:38:09 +00:00
Victor Stinner
12c4aba1a0
Merge 3.5
2017-01-12 11:53:09 +01:00
Victor Stinner
9b8dcc6b1c
Fix script_helper.run_python_until_end(): copy SYSTEMROOT
...
Windows requires at least the SYSTEMROOT environment variable to start Python.
If run_python_until_end() doesn't copy SYSTEMROOT, the function always fail on
Windows.
2017-01-12 11:51:46 +01:00
Victor Stinner
de383289ea
Issue #25591 : Fix test_imaplib if ssl miss
2017-01-12 11:51:31 +01:00
Serhiy Storchaka
3159b33a95
Merge with 3.5.
2017-01-11 20:17:34 +02:00
Serhiy Storchaka
87006a3d4a
Issue #20804 : Document the limitation of the unittest.mock.sentinel attributes.
2017-01-11 20:16:44 +02:00
Vinay Sajip
a861d48817
Issue #292Merged fixes from 3.5.
2017-01-11 17:41:28 +00:00
Vinay Sajip
924aaae4c2
Issue #29220 : Improved fix and test.
2017-01-11 17:35:36 +00:00
Martin Panter
ced4b90756
Issue #29239 : Fix --enable-optimizations bug number
2017-01-11 11:56:22 +00:00
Martin Panter
a27b3b3192
Issue #15657 : Merge other doc fix from 3.5
2017-01-11 11:51:02 +00:00
Martin Panter
5b66723b0b
Issue #15657 : Delete incorrect statement from PyMethodDef documentation
...
Patch by Berker Peksag.
2017-01-11 11:50:06 +00:00
Martin Panter
9da31f7274
Issue #15657 : METH_KEYWORDS cannot be used alone in Python 3
2017-01-11 11:41:03 +00:00
Xiang Zhang
2427d00298
Issue #29217 : Merge 3.5.
2017-01-10 11:30:02 +08:00
Xiang Zhang
8a17995589
Issue #29217 : Fix the wrong type description of UUID.variant.
2017-01-10 11:29:27 +08:00
Xiang Zhang
95403d74d7
Issue #29145 : Merge 3.5.
2017-01-10 10:54:19 +08:00
Xiang Zhang
b0541f4cdf
Issue #29145 : Fix overflow checks in str.replace() and str.join().
...
Based on patch by Martin Panter.
2017-01-10 10:52:00 +08:00
Vinay Sajip
1e6499c19c
Fixes #29177 : Improved resilience of logging tests which use socket servers.
...
Thanks to Xavier de Gaye for the report and patch improvements.
2017-01-09 16:54:12 +00:00
Vinay Sajip
aa655b3a8e
Fixes #29133 : clarified shlex documentation.
2017-01-09 16:46:04 +00:00
Stefan Krah
e660335b7e
Merge 3.5.
2017-01-09 13:11:51 +01:00
Stefan Krah
18e0a97a1a
Issue #28701 : Revert part of 5bdc8e1a50c8 for the following reasons:
...
- There was no real problem to begin with.
- The hypothetical problem has been fixed by 5bdc8e1a50c8.
2017-01-09 13:11:27 +01:00
Victor Stinner
a0be562daf
Null merge 3.5
...
Python/random.c is more then in the 3.6 branch.
2017-01-09 11:21:26 +01:00
Victor Stinner
035ba5da3e
Issue #29157 : Prefer getrandom() over getentropy()
...
Copy and then adapt Python/random.c from default branch. Difference between 3.5
and default branches:
* Python 3.5 only uses getrandom() in non-blocking mode: flags=GRND_NONBLOCK
* If getrandom() fails with EAGAIN: py_getrandom() immediately fails and
remembers that getrandom() doesn't work.
* Python 3.5 has no _PyOS_URandomNonblock() function: _PyOS_URandom()
works in non-blocking mode on Python 3.5
2017-01-09 11:18:53 +01:00
Serhiy Storchaka
f0f35a6720
Issue #29190 : Fixed possible errors in comparing strings in the pickle module.
2017-01-09 10:09:43 +02:00
Serhiy Storchaka
9937d90ee8
Issue #29190 : Fixed possible errors in comparing strings in the pickle module.
2017-01-09 10:04:34 +02:00
Xiang Zhang
c44d58a77a
Issue #29142 : Merge 3.5.
2017-01-09 11:50:02 +08:00