Commit Graph

97468 Commits

Author SHA1 Message Date
Raymond Hettinger c28dbd0452 merge 2016-12-16 13:59:32 -08:00
Raymond Hettinger af56e0e70f Issue #28991: Fix obscure reentrancy bug in functools.lru_cache(). 2016-12-16 13:57:40 -08:00
Ned Deily 9af1221a00 Null merge v3.6.0rc2 tag into mainline 3.6 2016-12-16 16:52:37 -05:00
Ned Deily add9d43e49 Added tag v3.6.0rc2 for changeset 800a67f7806d 2016-12-16 16:42:30 -05:00
Ned Deily f7b280956d Version bump for 3.6.0rc2 2016-12-16 16:40:10 -05:00
Ned Deily 1e9aba51e2 Update pydoc topics for 3.6.0rc2 2016-12-16 16:33:41 -05:00
Ned Deily 5fcd87b197 null merge additional 3.6.0rc1+ cherrypicks 2016-12-16 16:04:25 -05:00
Ned Deily f6105a55cf Tidy Misc/NEWS for 3.6.0rc1+ cherrypicks. 2016-12-16 15:29:12 -05:00
Xavier de Gaye 10a22dc65a Issue #28971: Merge 3.5 2016-12-16 20:50:10 +01:00
Xavier de Gaye ac13beeef5 Issue #28971: Temporarily skip test_over until a permanent solution is found
for issue #28971.
2016-12-16 20:49:10 +01:00
Serhiy Storchaka 890c85d30d Null merge 2016-12-16 19:06:34 +02:00
Serhiy Storchaka edc87f661c Merge heads 2016-12-16 19:05:57 +02:00
Serhiy Storchaka 16b7b7d6ac Merge heads 2016-12-16 19:05:33 +02:00
Serhiy Storchaka 9bb6fe5274 Issue #14061: Misc fixes and cleanups in archiving code in shutil.
Imporoved the documentation and tests for make_archive() and unpack_archive().
Improved error handling when corresponding compress module is not available.
Brake circular dependency between shutil and tarfile modules.
2016-12-16 19:00:55 +02:00
Serhiy Storchaka 20cdffd830 Issue #14061: Misc fixes and cleanups in archiving code in shutil.
Imporoved the documentation and tests for make_archive() and unpack_archive().
Improved error handling when corresponding compress module is not available.
Brake circular dependency between shutil and tarfile modules.
2016-12-16 18:58:33 +02:00
Yury Selivanov 7ae5c9691b Merge 3.5 (issue #28990) 2016-12-16 11:51:57 -05:00
Yury Selivanov 11c135136d Merge 3.5 (issue #28990) 2016-12-16 11:51:57 -05:00
Yury Selivanov b1461aa781 Issue #28990: Fix SSL hanging if connection is closed before handshake completed. 2016-12-16 11:50:41 -05:00
Victor Stinner cb5fe9c22c Merge 3.5 2016-12-16 10:00:53 +01:00
Victor Stinner 610f5d739d python-gdb.py: catch gdb.error on gdb.selected_frame() 2016-12-16 10:00:39 +01:00
Ned Deily 42f66a61f1 null merge 3.6.0rc1+ head 2016-12-16 01:02:17 -05:00
Ned Deily 86368b8529 bump version to 3.6.0rc1+ 2016-12-16 00:13:46 -05:00
Ned Deily daaaff9277 Issue #28898: add Misc/NEWS entry 2016-12-15 23:20:48 -05:00
Yury Selivanov 6db7a4b81a docs: asyncio is no longer provisional 2016-12-15 18:58:19 -05:00
Yury Selivanov 8e1baa7583 docs: asyncio is no longer provisional
(grafted from 4cb3ea76ce68efd52271e499647abbf0f8a2941f)
2016-12-15 18:58:19 -05:00
Yury Selivanov 1217470984 Issue #28635: asyncio-related fixes and additions. 2016-12-15 17:56:43 -05:00
Yury Selivanov 6e31235902 Issue #28635: asyncio-related fixes and additions.
(grafted from 418ba3a0f090ac0e17a935b7cd5a63ea8263a914)
2016-12-15 17:56:43 -05:00
Yury Selivanov 03660041d2 Issue #28091: Document PEP 525 & PEP 530.
Patch by Eric Appelt.
2016-12-15 17:36:05 -05:00
Yury Selivanov 4f9e4285d2 Issue #28091: Document PEP 525 & PEP 530.
Patch by Eric Appelt.
(grafted from 78c8f450b84ca1864123ec487d363eb151f61a4a)
2016-12-15 17:36:05 -05:00
Xavier de Gaye 76febd0792 Issue #26919: On Android, operating system data is now always encoded/decoded
to/from UTF-8, instead of the locale encoding to avoid inconsistencies with
os.fsencode() and os.fsdecode() which are already using UTF-8.
2016-12-15 20:59:58 +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 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
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 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 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
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 c3c6f71662 Fixes maximum usable length of buffer for formatting time zone in localtime(). 2016-12-14 11:22:05 -08: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 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 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
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 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 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 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 291b93bb1f Issue #28089: Document TCP_NODELAY in asyncio
Initial patch by Mariatta Wijaya.
(grafted from 853e3f4d6cd98ac4590238bc1c60e40fd8ed3895)
2016-12-12 16:44:58 -05:00