Victor Stinner
5cc70c9935
Merge 3.6
2016-12-15 17:23:24 +01:00
Victor Stinner
ccda5c41df
Fix a memory leak in split-table dictionaries
...
Issue #28147 : Fix a memory leak in split-table dictionaries: setattr() must not
convert combined table into split table.
Patch written by INADA Naoki.
(grafted from 85be9dcc16a81d3ccd1f67b056255a7f206edd47)
2016-12-15 17:21:23 +01:00
Victor Stinner
3d3f264849
Fix a memory leak in split-table dictionaries
...
Issue #28147 : Fix a memory leak in split-table dictionaries: setattr() must not
convert combined table into split table.
Patch written by INADA Naoki.
2016-12-15 17:21:23 +01:00
Victor Stinner
944dbc6431
Use _PyDict_NewPresized() in _PyStack_AsDict()
...
Issue #27810 .
2016-12-15 16:59:40 +01:00
Victor Stinner
41afe9dd85
Merge 3.6
2016-12-15 16:22:19 +01:00
Victor Stinner
5e65a5f4ef
Issue #28979 : Fix What's New in Python 3.6, dict
...
The new dict implementation is not faster, but more compact.
Patch written by Brendan Donegan.
(grafted from 181453f9a0c424212f0f6ddca2b9065c15689d7c)
2016-12-15 16:20:53 +01:00
Victor Stinner
8320193d10
Issue #28979 : Fix What's New in Python 3.6, dict
...
The new dict implementation is not faster, but more compact.
Patch written by Brendan Donegan.
2016-12-15 16:20:53 +01:00
Victor Stinner
bc08ab4598
Add _PY_FASTCALL_SMALL_STACK constant
...
Issue #28870 : Add a new _PY_FASTCALL_SMALL_STACK constant, size of "small
stacks" allocated on the C stack to pass positional arguments to
_PyObject_FastCall().
_PyObject_Call_Prepend() now uses a small stack of 5 arguments (40 bytes)
instead of 8 (64 bytes), since it is modified to use _PY_FASTCALL_SMALL_STACK.
2016-12-15 12:40:53 +01:00
Victor Stinner
d1e35dd9ee
Fix _PyObject_CallFunctionVa(), use the small stack
...
Issue #28915 . Oops, I disabled the small stack to test both code paths. It's
now fixed.
2016-12-15 12:36:50 +01:00
Xiang Zhang
44dcd1e1d5
Issue #28930 : Merge from 3.6.
2016-12-15 17:05:04 +08:00
Xiang Zhang
3d40e37883
Issue #28930 : Add a Makefile rule for bytes_methods.c.
...
Add a dependency to stringlib to make sure that bytes_methods.c is
recompiled if stringlib is modified.
2016-12-15 16:41:12 +08:00
Victor Stinner
5bef7cd7f4
Issue #28838 : Cleanup abstract.h
...
Rewrite all comments to use the same style than other Python header files:
comment functions *before* their declaration, no newline between the comment
and the declaration.
Reformat some comments, add newlines, to make them easier to read.
Quote argument like 'arg' to mention an argument in a comment.
2016-12-15 09:14:25 +01:00
Victor Stinner
321600bd65
Null merge 3.6
2016-12-15 09:06:45 +01:00
Victor Stinner
cb2128cada
_asyncio uses _PyObject_CallMethodIdObjArgs()
...
Issue #28920 : Replace _PyObject_CallMethodId(obj, meth, "O", arg) with
_PyObject_CallMethodIdObjArgs(obj, meth, arg, NULL) to avoid
_PyObject_CallMethodId() special case when arg is a tuple.
If arg is a tuple, _PyObject_CallMethodId() unpacks the tuple: obj.meth(*arg).
2016-12-15 09:05:11 +01:00
Berker Peksag
5234d54c66
Issue #28944 : Merge from 3.6
2016-12-15 05:38:46 +03:00
Berker Peksag
0bf590627b
Issue #28944 : Merge from 3.5
2016-12-15 05:38:25 +03:00
Berker Peksag
7b440dfec4
Issue #28944 : Fix footnote numbering
2016-12-15 05:37:56 +03:00
Berker Peksag
161a4dd495
Issue #28919 : Simplify _copy_func_details() in unittest.mock
...
Patch by Jiajun Huang.
2016-12-15 05:21:44 +03:00
Xavier de Gaye
e660327cf1
Issue #28849 : Merge 3.6.
2016-12-14 20:37:53 +01:00
Xavier de Gaye
471bc3c814
Issue #28849 : Skip test_sysconfig.test_triplet_in_ext_suffix on non linux platforms.
2016-12-14 20:37:10 +01:00
Steve Dower
0885519914
Fixes maximum usable length of buffer for formatting time zone in localtime().
2016-12-14 11:22:14 -08:00
Steve Dower
c3c6f71662
Fixes maximum usable length of buffer for formatting time zone in localtime().
2016-12-14 11:22:05 -08:00
Serhiy Storchaka
bdfc5ff17e
Merge from 3.6.
2016-12-14 19:56:53 +02:00
Serhiy Storchaka
386072ebe0
Merge from 3.6.
2016-12-14 19:54:38 +02:00
Serhiy Storchaka
49010ee323
Revert changeset 1f31bf3f76f5 (issue5322) except tests.
2016-12-14 19:52:17 +02:00
Xavier de Gaye
69598527c7
Issue #28683 : Merge 3.6.
2016-12-14 11:54:49 +01:00
Xavier de Gaye
e88ed05006
Issue #28683 : Fix the tests that bind() a unix socket and raise PermissionError
...
on Android for a non-root user.
2016-12-14 11:52:28 +01:00
Xavier de Gaye
e43edaad7e
Issue #20211 : Merge 3.6.
2016-12-14 11:16:06 +01:00
Xavier de Gaye
1351c31aa9
Issue #20211 : Do not add the directory for installing C header files and
...
the directory for installing object code libraries to the cross compilation
search paths.
2016-12-14 11:14:33 +01:00
Yury Selivanov
f2392133eb
Issue #26110 : Add LOAD_METHOD/CALL_METHOD opcodes.
...
Special thanks to INADA Naoki for pushing the patch through
the last mile, Serhiy Storchaka for reviewing the code, and to
Victor Stinner for suggesting the idea (originally implemented
in the PyPy project).
2016-12-13 19:03:51 -05:00
Steve Dower
e6bb53bf61
Issue #26071 : Fixes preprocessor definition and rebuilds wininst-14.0[-amd64].exe
2016-12-13 09:06:55 -08:00
Steve Dower
7262b42fd1
Issue #26071 : Fixes preprocessor definition and rebuilds wininst-14.0[-amd64].exe
2016-12-13 09:06:42 -08:00
Steve Dower
4347881414
Issue #26071 : Fixes preprocessor definition and rebuilds wininst-14.0[-amd64].exe
2016-12-13 09:06:24 -08:00
Xavier de Gaye
b35fc626c1
Issue #16255 : subrocess.Popen uses /system/bin/sh on Android as the shell,
...
instead of /bin/sh.
2016-12-13 16:32:21 +01:00
Xavier de Gaye
f191a9e8e4
Issue #28190 : Merge 3.6.
2016-12-13 16:05:15 +01:00
Xavier de Gaye
e13c3201fb
Issue #28190 : Cross compiling the _curses module does not use anymore
...
/usr/include/ncursesw as a headers search path.
2016-12-13 16:04:14 +01:00
Xavier de Gaye
f852fff878
Issue #28759 : Merge 3.6.
2016-12-13 10:03:34 +01:00
Xavier de Gaye
3a4e989324
Issue #28759 : Fix the tests that fail with PermissionError when run as
...
a non-root user on Android where access rights are controled by SELinux MAC.
2016-12-13 10:00:01 +01:00
Xavier de Gaye
d0c2b5b0ae
Issue #26936 : Fix the test_socket failures on Android - getservbyname(),
...
getservbyport() and getaddrinfo() are broken on some Android API levels.
2016-12-13 09:22:01 +01:00
Xavier de Gaye
5831d7d558
Issue #26856 : Merge 3.6.
2016-12-13 09:12:49 +01:00
Xavier de Gaye
fb24eead48
Issue #26856 : Fix the tests assuming that the pwd module has getpwall() and
...
assuming some invariants about uids that are not valid for Android.
2016-12-13 09:11:38 +01:00
Yury Selivanov
8bf85b692b
Merge 3.6 (issue #28089 )
2016-12-12 16:45:21 -05:00
Yury Selivanov
291b93bb1f
Issue #28089 : Document TCP_NODELAY in asyncio
...
Initial patch by Mariatta Wijaya.
(grafted from 853e3f4d6cd98ac4590238bc1c60e40fd8ed3895)
2016-12-12 16:44:58 -05:00
Yury Selivanov
3432f2f47c
Issue #28089 : Document TCP_NODELAY in asyncio
...
Initial patch by Mariatta Wijaya.
2016-12-12 16:44:58 -05:00
Steve Dower
21e033466b
Issue #28896 : Disable WindowsRegistryFinder by default.
2016-12-12 11:19:03 -08:00
Steve Dower
10beb3cfef
Issue #28896 : Disable WindowsRegistryFinder by default.
2016-12-12 11:17:59 -08:00
Xavier de Gaye
3603d18589
Issue #28764 : Merge 3.6.
2016-12-12 09:56:55 +01:00
Xavier de Gaye
452b3a6a3e
Issue #28764 : Fix a test_mailbox failure on Android API 24 when run as a non-root user.
2016-12-12 09:55:57 +01:00
Steve Dower
8bfba84ff2
Issue #28783 : Replaces bdist_wininst in nuget packages with stub
2016-12-11 14:48:44 -08:00
Steve Dower
2308740f64
Issue #28783 : Replaces bdist_wininst in nuget packages with stub
2016-12-11 14:48:32 -08:00