Serhiy Storchaka
4f76fb16b7
Issue #29210 : Removed support of deprecated argument "exclude" in
...
tarfile.TarFile.add().
2017-01-13 13:25:24 +02:00
INADA Naoki
62db0db5cb
Issue #29062 : Merge hashlib-blake2.rst into hashlib.rst
2017-01-13 19:31:15 +09:00
INADA Naoki
e2f9e77df2
Issue #29062 : Merge hashlib-blake2.rst into hashlib.rst
2017-01-13 19:29:58 +09:00
Serhiy Storchaka
6196ac4186
Issue #29219 : Fixed infinite recursion in the repr of uninitialized
...
ctypes.CDLL instances.
2017-01-13 09:44:00 +02: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
cc283378d6
Issue #29192 : Removed deprecated features in the http.cookies module.
2017-01-13 09:23:15 +02:00
Serhiy Storchaka
009b0a1fac
Issue #29193 : A format string argument for string.Formatter.format()
...
is now positional-only.
2017-01-13 09:10:51 +02:00
Serhiy Storchaka
b37f3f6e6b
Issue #29195 : Removed support of deprecated undocumented keyword arguments
...
in methods of regular expression objects.
2017-01-13 08:53:58 +02:00
Serhiy Storchaka
8cbc51ab3d
Py_SIZE() was misused for dict.
2017-01-13 08:38:15 +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
Raymond Hettinger
a24dca6a90
Fix typo
2017-01-12 22:25:25 -08:00
Alexander Belopolsky
f810d041dc
Closes #28130 : Documented that time.tzset() updates time module globals.
...
Thanks Greg Bengeult for the patch.
2017-01-12 13:17:23 -05:00
Serhiy Storchaka
a16825a74a
Merge heads
2017-01-12 19:46:11 +02:00
Serhiy Storchaka
a024d42757
Null merge
2017-01-12 19:44:15 +02:00
Serhiy Storchaka
9d83b96ce1
Null merge
2017-01-12 19:44:06 +02:00
Serhiy Storchaka
97bf592925
Null merge
2017-01-12 19:43:15 +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
Serhiy Storchaka
617c7753ce
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:42:20 +02:00
Vinay Sajip
88f17ff356
Issue #22343 : Merged change from 3.6.
2017-01-12 17:14:42 +00: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
Victor Stinner
798ad2742b
Merge 3.6
2017-01-12 11:53:20 +01: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
89483ba135
Null merge
2017-01-11 20:18:03 +02: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
Serhiy Storchaka
d9c956fb23
Issue #20804 : The unittest.mock.sentinel attributes now preserve their
...
identity when they are copied or pickled.
2017-01-11 20:13:03 +02:00
Vinay Sajip
d4f5001bac
Issue #29220 : Merged fixes from 3.6.
2017-01-11 17:44:07 +00: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
23e5b82cf7
Issue #29239 : Merge bug number from 3.6
2017-01-11 12:00:39 +00:00
Martin Panter
849b6bd672
Issue #15657 : Merge METH_KEYWORDS doc from 3.6
2017-01-11 11:57:18 +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
Vinay Sajip
8b866d5429
Closes #29220 : Fixed regression in logging.getLevelName().
2017-01-11 06:57:55 +00:00
Victor Stinner
231d1f3439
_PyEval_EvalCodeWithName(): remove redundant check
...
Replace the runtime check with an assertion (just in case).
2017-01-11 02:12:06 +01:00
Victor Stinner
b915bc354e
Disable _PyStack_AsTuple() inlining
...
Issue #29234 : Inlining _PyStack_AsTuple() into callers increases their stack
consumption, Disable inlining to optimize the stack consumption.
Add _Py_NO_INLINE: use __attribute__((noinline)) of GCC and Clang.
It reduces the stack consumption, bytes per call, before => after:
test_python_call: 1040 => 976 (-64 B)
test_python_getitem: 976 => 912 (-64 B)
test_python_iterator: 1120 => 1056 (-64 B)
=> total: 3136 => 2944 (- 192 B)
2017-01-11 01:07:03 +01:00
Victor Stinner
415c5107be
Inline call_function()
...
Issue #29227 : Inline call_function() into _PyEval_EvalFrameDefault() using
Py_LOCAL_INLINE to reduce the stack consumption.
It reduces the stack consumption, bytes per call, before => after:
test_python_call: 1152 => 1040 (-112 B)
test_python_getitem: 1008 => 976 (-32 B)
test_python_iterator: 1232 => 1120 (-112 B)
=> total: 3392 => 3136 (- 256 B)
2017-01-11 00:54:57 +01:00
Victor Stinner
434723f94c
call_method() now uses _PyObject_FastCall()
...
Issue #29233 : Replace the inefficient _PyObject_VaCallFunctionObjArgs() with
_PyObject_FastCall() in call_method() and call_maybe().
Only a few functions call call_method() and call it with a fixed number of
arguments. Avoid the complex and expensive _PyObject_VaCallFunctionObjArgs()
function, replace it with an array allocated on the stack with the exact number
of argumlents.
It reduces the stack consumption, bytes per call, before => after:
test_python_call: 1168 => 1152 (-16 B)
test_python_getitem: 1344 => 1008 (-336 B)
test_python_iterator: 1568 => 1232 (-336 B)
Remove the _PyObject_VaCallFunctionObjArgs() function which became useless.
Rename it to object_vacall() and make it private.
2017-01-11 00:07:40 +01:00
Xiang Zhang
dbdfecebd2
Issue #29217 : Merge 3.6.
2017-01-10 11:30:44 +08:00
Xiang Zhang
2427d00298
Issue #29217 : Merge 3.5.
2017-01-10 11:30:02 +08:00