summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge 3.6Victor Stinner2016-12-154-5/+70
|\
| * Fix a memory leak in split-table dictionariesVictor Stinner2016-12-154-5/+70
| | | | | | | | | | | | | | Issue #28147: Fix a memory leak in split-table dictionaries: setattr() must not convert combined table into split table. Patch written by INADA Naoki.
* | Use _PyDict_NewPresized() in _PyStack_AsDict()Victor Stinner2016-12-151-1/+1
| | | | | | | | Issue #27810.
* | Merge 3.6Victor Stinner2016-12-151-1/+1
|\ \ | |/
| * Issue #28979: Fix What's New in Python 3.6, dictVictor Stinner2016-12-151-1/+1
| | | | | | | | | | | | The new dict implementation is not faster, but more compact. Patch written by Brendan Donegan.
* | Add _PY_FASTCALL_SMALL_STACK constantVictor Stinner2016-12-153-4/+15
| | | | | | | | | | | | | | | | | | 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.
* | Fix _PyObject_CallFunctionVa(), use the small stackVictor Stinner2016-12-151-2/+1
| | | | | | | | | | Issue #28915. Oops, I disabled the small stack to test both code paths. It's now fixed.
* | Issue #28930: Merge from 3.6.Xiang Zhang2016-12-151-1/+1
|\ \ | |/
| * Issue #28930: Add a Makefile rule for bytes_methods.c.Xiang Zhang2016-12-151-1/+1
| | | | | | | | | | Add a dependency to stringlib to make sure that bytes_methods.c is recompiled if stringlib is modified.
* | Issue #28838: Cleanup abstract.hVictor Stinner2016-12-151-621/+423
| | | | | | | | | | | | | | | | | | | | 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.
* | Null merge 3.6Victor Stinner2016-12-150-0/+0
|\ \ | |/
| * _asyncio uses _PyObject_CallMethodIdObjArgs()Victor Stinner2016-12-151-9/+10
| | | | | | | | | | | | | | | | 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).
* | Issue #28944: Merge from 3.6Berker Peksag2016-12-151-3/+2
|\ \ | |/
| * Issue #28944: Merge from 3.5Berker Peksag2016-12-151-3/+2
| |\
| | * Issue #28944: Fix footnote numberingBerker Peksag2016-12-151-3/+2
| | |
* | | Issue #28919: Simplify _copy_func_details() in unittest.mockBerker Peksag2016-12-151-18/+8
| | | | | | | | | | | | Patch by Jiajun Huang.
* | | Issue #28849: Merge 3.6.Xavier de Gaye2016-12-141-1/+2
|\ \ \ | |/ /
| * | Issue #28849: Skip test_sysconfig.test_triplet_in_ext_suffix on non linux ↵Xavier de Gaye2016-12-141-1/+2
| | | | | | | | | | | | platforms.
* | | Fixes maximum usable length of buffer for formatting time zone in localtime().Steve Dower2016-12-141-1/+1
|\ \ \ | |/ /
| * | Fixes maximum usable length of buffer for formatting time zone in localtime().Steve Dower2016-12-141-1/+1
| | |
* | | Merge from 3.6.Serhiy Storchaka2016-12-143-31/+3
|\ \ \ | |/ /
| * | Merge from 3.6.Serhiy Storchaka2016-12-143-31/+3
| |\ \ | | |/
| | * Revert changeset 1f31bf3f76f5 (issue5322) except tests.Serhiy Storchaka2016-12-143-31/+3
| | |
* | | Issue #28683: Merge 3.6.Xavier de Gaye2016-12-145-8/+33
|\ \ \ | |/ /
| * | Issue #28683: Fix the tests that bind() a unix socket and raise PermissionErrorXavier de Gaye2016-12-145-8/+33
| | | | | | | | | | | | on Android for a non-root user.
* | | Issue #20211: Merge 3.6.Xavier de Gaye2016-12-142-2/+7
|\ \ \ | |/ /
| * | Issue #20211: Do not add the directory for installing C header files andXavier de Gaye2016-12-142-2/+7
| | | | | | | | | | | | | | | the directory for installing object code libraries to the cross compilation search paths.
* | | Issue #26110: Add LOAD_METHOD/CALL_METHOD opcodes.Yury Selivanov2016-12-1413-483/+747
| | | | | | | | | | | | | | | | | | | | | 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).
* | | Issue #26071: Fixes preprocessor definition and rebuilds ↵Steve Dower2016-12-133-1/+1
|\ \ \ | |/ / | | | | | | wininst-14.0[-amd64].exe
| * | Issue #26071: Fixes preprocessor definition and rebuilds ↵Steve Dower2016-12-133-1/+1
| |\ \ | | |/ | | | | | | wininst-14.0[-amd64].exe
| | * Issue #26071: Fixes preprocessor definition and rebuilds ↵Steve Dower2016-12-133-1/+1
| | | | | | | | | | | | wininst-14.0[-amd64].exe
* | | Issue #16255: subrocess.Popen uses /system/bin/sh on Android as the shell,Xavier de Gaye2016-12-132-1/+7
| | | | | | | | | | | | instead of /bin/sh.
* | | Issue #28190: Merge 3.6.Xavier de Gaye2016-12-133-3/+8
|\ \ \ | |/ /
| * | Issue #28190: Cross compiling the _curses module does not use anymoreXavier de Gaye2016-12-133-3/+8
| | | | | | | | | | | | /usr/include/ncursesw as a headers search path.
* | | Issue #28759: Merge 3.6.Xavier de Gaye2016-12-137-3/+22
|\ \ \ | |/ /
| * | Issue #28759: Fix the tests that fail with PermissionError when run asXavier de Gaye2016-12-137-3/+22
| | | | | | | | | | | | a non-root user on Android where access rights are controled by SELinux MAC.
* | | Issue #26936: Fix the test_socket failures on Android - getservbyname(),Xavier de Gaye2016-12-132-4/+15
| | | | | | | | | | | | getservbyport() and getaddrinfo() are broken on some Android API levels.
* | | Issue #26856: Merge 3.6.Xavier de Gaye2016-12-132-6/+22
|\ \ \ | |/ /
| * | Issue #26856: Fix the tests assuming that the pwd module has getpwall() andXavier de Gaye2016-12-132-6/+22
| | | | | | | | | | | | assuming some invariants about uids that are not valid for Android.
* | | Merge 3.6 (issue #28089)Yury Selivanov2016-12-122-0/+6
|\ \ \ | |/ /
| * | Issue #28089: Document TCP_NODELAY in asyncioYury Selivanov2016-12-122-0/+6
| | | | | | | | | | | | Initial patch by Mariatta Wijaya.
* | | Issue #28896: Disable WindowsRegistryFinder by default.Steve Dower2016-12-125-77/+83
|\ \ \ | |/ /
| * | Issue #28896: Disable WindowsRegistryFinder by default.Steve Dower2016-12-125-77/+83
| | |
* | | Issue #28764: Merge 3.6.Xavier de Gaye2016-12-122-11/+14
|\ \ \ | |/ /
| * | Issue #28764: Fix a test_mailbox failure on Android API 24 when run as a ↵Xavier de Gaye2016-12-122-11/+14
| | | | | | | | | | | | non-root user.
* | | Issue #28783: Replaces bdist_wininst in nuget packages with stubSteve Dower2016-12-113-38/+22
|\ \ \ | |/ /
| * | Issue #28783: Replaces bdist_wininst in nuget packages with stubSteve Dower2016-12-113-38/+22
| |\ \ | | |/
| | * Issue #28783: Replaces bdist_wininst in nuget packages with stubSteve Dower2016-12-113-38/+22
| | |
* | | Issue #28739: f-string expressions no longer accepted as docstrings andSerhiy Storchaka2016-12-114-17/+20
|\ \ \ | |/ / | | | | | | by ast.literal_eval() even if they do not include subexpressions.
| * | Issue #28739: f-string expressions no longer accepted as docstrings andSerhiy Storchaka2016-12-114-17/+20
| | | | | | | | | | | | by ast.literal_eval() even if they do not include subexpressions.