]>
granicus.if.org Git - python/log
Raymond Hettinger [Fri, 16 Dec 2016 22:59:37 +0000 (14:59 -0800)]
Issue #28991: Address comment that the __len__ call looked unattractive
Raymond Hettinger [Fri, 16 Dec 2016 21:59:57 +0000 (13:59 -0800)]
merge
Raymond Hettinger [Fri, 16 Dec 2016 21:59:32 +0000 (13:59 -0800)]
merge
Raymond Hettinger [Fri, 16 Dec 2016 21:57:40 +0000 (13:57 -0800)]
Issue #28991: Fix obscure reentrancy bug in functools.lru_cache().
Xavier de Gaye [Fri, 16 Dec 2016 19:51:09 +0000 (20:51 +0100)]
Issue #28971: Merge 3.6
Xavier de Gaye [Fri, 16 Dec 2016 19:50:10 +0000 (20:50 +0100)]
Issue #28971: Merge 3.5
Xavier de Gaye [Fri, 16 Dec 2016 19:49:10 +0000 (20:49 +0100)]
Issue #28971: Temporarily skip test_over until a permanent solution is found
for issue #28971.
Serhiy Storchaka [Fri, 16 Dec 2016 18:00:15 +0000 (20:00 +0200)]
Remove unused imports.
Serhiy Storchaka [Fri, 16 Dec 2016 17:19:02 +0000 (19:19 +0200)]
Issue #18896: Python function can now have more than 255 parameters.
collections.namedtuple() now supports tuples with more than 255 elements.
Serhiy Storchaka [Fri, 16 Dec 2016 17:06:51 +0000 (19:06 +0200)]
Null merge
Serhiy Storchaka [Fri, 16 Dec 2016 17:06:34 +0000 (19:06 +0200)]
Null merge
Serhiy Storchaka [Fri, 16 Dec 2016 17:06:17 +0000 (19:06 +0200)]
Merge heads
Serhiy Storchaka [Fri, 16 Dec 2016 17:05:57 +0000 (19:05 +0200)]
Merge heads
Serhiy Storchaka [Fri, 16 Dec 2016 17:05:33 +0000 (19:05 +0200)]
Merge heads
Serhiy Storchaka [Fri, 16 Dec 2016 17:01:34 +0000 (19:01 +0200)]
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.
Serhiy Storchaka [Fri, 16 Dec 2016 17:00:55 +0000 (19:00 +0200)]
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.
Serhiy Storchaka [Fri, 16 Dec 2016 16:58:33 +0000 (18:58 +0200)]
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.
Yury Selivanov [Fri, 16 Dec 2016 16:52:36 +0000 (11:52 -0500)]
Merge 3.6 (issue #28990)
Yury Selivanov [Fri, 16 Dec 2016 16:51:57 +0000 (11:51 -0500)]
Merge 3.5 (issue #28990)
Yury Selivanov [Fri, 16 Dec 2016 16:50:41 +0000 (11:50 -0500)]
Issue #28990: Fix SSL hanging if connection is closed before handshake completed.
Serhiy Storchaka [Fri, 16 Dec 2016 14:18:57 +0000 (16:18 +0200)]
Issue #28959: Added private macro PyDict_GET_SIZE for retrieving the size of dict.
Victor Stinner [Fri, 16 Dec 2016 09:03:10 +0000 (10:03 +0100)]
Merge 3.6
Victor Stinner [Fri, 16 Dec 2016 09:00:53 +0000 (10:00 +0100)]
Merge 3.5
Victor Stinner [Fri, 16 Dec 2016 09:00:39 +0000 (10:00 +0100)]
python-gdb.py: catch gdb.error on gdb.selected_frame()
Ned Deily [Fri, 16 Dec 2016 06:02:17 +0000 (01:02 -0500)]
null merge 3.6.0rc1+ head
Ned Deily [Fri, 16 Dec 2016 05:13:46 +0000 (00:13 -0500)]
bump version to 3.6.0rc1+
Ned Deily [Fri, 16 Dec 2016 04:20:48 +0000 (23:20 -0500)]
Issue #28898: add Misc/NEWS entry
Yury Selivanov [Thu, 15 Dec 2016 23:58:35 +0000 (18:58 -0500)]
Merge 3.6
Yury Selivanov [Thu, 15 Dec 2016 23:58:19 +0000 (18:58 -0500)]
docs: asyncio is no longer provisional
Yury Selivanov [Thu, 15 Dec 2016 23:58:19 +0000 (18:58 -0500)]
docs: asyncio is no longer provisional
(grafted from
4cb3ea76ce68efd52271e499647abbf0f8a2941f )
Yury Selivanov [Thu, 15 Dec 2016 22:57:55 +0000 (17:57 -0500)]
Merge 3.6 (issue #28635)
Yury Selivanov [Thu, 15 Dec 2016 22:56:43 +0000 (17:56 -0500)]
Issue #28635: asyncio-related fixes and additions.
Yury Selivanov [Thu, 15 Dec 2016 22:56:43 +0000 (17:56 -0500)]
Issue #28635: asyncio-related fixes and additions.
(grafted from
418ba3a0f090ac0e17a935b7cd5a63ea8263a914 )
Yury Selivanov [Thu, 15 Dec 2016 22:36:37 +0000 (17:36 -0500)]
Merge 3.6 (issue #28091)
Yury Selivanov [Thu, 15 Dec 2016 22:36:05 +0000 (17:36 -0500)]
Issue #28091: Document PEP 525 & PEP 530.
Patch by Eric Appelt.
Yury Selivanov [Thu, 15 Dec 2016 22:36:05 +0000 (17:36 -0500)]
Issue #28091: Document PEP 525 & PEP 530.
Patch by Eric Appelt.
(grafted from
78c8f450b84ca1864123ec487d363eb151f61a4a )
Xavier de Gaye [Thu, 15 Dec 2016 20:01:52 +0000 (21:01 +0100)]
Merge 3.6.
Xavier de Gaye [Thu, 15 Dec 2016 19:59:58 +0000 (20:59 +0100)]
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.
Victor Stinner [Thu, 15 Dec 2016 16:23:24 +0000 (17:23 +0100)]
Merge 3.6
Victor Stinner [Thu, 15 Dec 2016 16:21:23 +0000 (17:21 +0100)]
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 )
Victor Stinner [Thu, 15 Dec 2016 16:21:23 +0000 (17:21 +0100)]
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.
Victor Stinner [Thu, 15 Dec 2016 15:59:40 +0000 (16:59 +0100)]
Use _PyDict_NewPresized() in _PyStack_AsDict()
Issue #27810.
Victor Stinner [Thu, 15 Dec 2016 15:22:19 +0000 (16:22 +0100)]
Merge 3.6
Victor Stinner [Thu, 15 Dec 2016 15:20:53 +0000 (16:20 +0100)]
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 )
Victor Stinner [Thu, 15 Dec 2016 15:20:53 +0000 (16:20 +0100)]
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.
Victor Stinner [Thu, 15 Dec 2016 11:40:53 +0000 (12:40 +0100)]
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.
Victor Stinner [Thu, 15 Dec 2016 11:36:50 +0000 (12:36 +0100)]
Fix _PyObject_CallFunctionVa(), use the small stack
Issue #28915. Oops, I disabled the small stack to test both code paths. It's
now fixed.
Xiang Zhang [Thu, 15 Dec 2016 09:05:04 +0000 (17:05 +0800)]
Issue #28930: Merge from 3.6.
Xiang Zhang [Thu, 15 Dec 2016 08:41:12 +0000 (16:41 +0800)]
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.
Victor Stinner [Thu, 15 Dec 2016 08:14:25 +0000 (09:14 +0100)]
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.
Victor Stinner [Thu, 15 Dec 2016 08:06:45 +0000 (09:06 +0100)]
Null merge 3.6
Victor Stinner [Thu, 15 Dec 2016 08:05:11 +0000 (09:05 +0100)]
_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).
Berker Peksag [Thu, 15 Dec 2016 02:38:46 +0000 (05:38 +0300)]
Issue #28944: Merge from 3.6
Berker Peksag [Thu, 15 Dec 2016 02:38:25 +0000 (05:38 +0300)]
Issue #28944: Merge from 3.5
Berker Peksag [Thu, 15 Dec 2016 02:37:56 +0000 (05:37 +0300)]
Issue #28944: Fix footnote numbering
Berker Peksag [Thu, 15 Dec 2016 02:21:44 +0000 (05:21 +0300)]
Issue #28919: Simplify _copy_func_details() in unittest.mock
Patch by Jiajun Huang.
Xavier de Gaye [Wed, 14 Dec 2016 19:37:53 +0000 (20:37 +0100)]
Issue #28849: Merge 3.6.
Xavier de Gaye [Wed, 14 Dec 2016 19:37:10 +0000 (20:37 +0100)]
Issue #28849: Skip test_sysconfig.test_triplet_in_ext_suffix on non linux platforms.
Steve Dower [Wed, 14 Dec 2016 19:22:14 +0000 (11:22 -0800)]
Fixes maximum usable length of buffer for formatting time zone in localtime().
Steve Dower [Wed, 14 Dec 2016 19:22:05 +0000 (11:22 -0800)]
Fixes maximum usable length of buffer for formatting time zone in localtime().
Serhiy Storchaka [Wed, 14 Dec 2016 17:56:53 +0000 (19:56 +0200)]
Merge from 3.6.
Serhiy Storchaka [Wed, 14 Dec 2016 17:54:38 +0000 (19:54 +0200)]
Merge from 3.6.
Serhiy Storchaka [Wed, 14 Dec 2016 17:52:17 +0000 (19:52 +0200)]
Revert changeset
1f31bf3f76f5 (issue5322) except tests.
Xavier de Gaye [Wed, 14 Dec 2016 10:54:49 +0000 (11:54 +0100)]
Issue #28683: Merge 3.6.
Xavier de Gaye [Wed, 14 Dec 2016 10:52:28 +0000 (11:52 +0100)]
Issue #28683: Fix the tests that bind() a unix socket and raise PermissionError
on Android for a non-root user.
Xavier de Gaye [Wed, 14 Dec 2016 10:16:06 +0000 (11:16 +0100)]
Issue #20211: Merge 3.6.
Xavier de Gaye [Wed, 14 Dec 2016 10:14:33 +0000 (11:14 +0100)]
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.
Yury Selivanov [Wed, 14 Dec 2016 00:03:51 +0000 (19:03 -0500)]
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).
Steve Dower [Tue, 13 Dec 2016 17:06:55 +0000 (09:06 -0800)]
Issue #26071: Fixes preprocessor definition and rebuilds wininst-14.0[-amd64].exe
Steve Dower [Tue, 13 Dec 2016 17:06:42 +0000 (09:06 -0800)]
Issue #26071: Fixes preprocessor definition and rebuilds wininst-14.0[-amd64].exe
Steve Dower [Tue, 13 Dec 2016 17:06:24 +0000 (09:06 -0800)]
Issue #26071: Fixes preprocessor definition and rebuilds wininst-14.0[-amd64].exe
Xavier de Gaye [Tue, 13 Dec 2016 15:32:21 +0000 (16:32 +0100)]
Issue #16255: subrocess.Popen uses /system/bin/sh on Android as the shell,
instead of /bin/sh.
Xavier de Gaye [Tue, 13 Dec 2016 15:05:15 +0000 (16:05 +0100)]
Issue #28190: Merge 3.6.
Xavier de Gaye [Tue, 13 Dec 2016 15:04:14 +0000 (16:04 +0100)]
Issue #28190: Cross compiling the _curses module does not use anymore
/usr/include/ncursesw as a headers search path.
Xavier de Gaye [Tue, 13 Dec 2016 09:03:34 +0000 (10:03 +0100)]
Issue #28759: Merge 3.6.
Xavier de Gaye [Tue, 13 Dec 2016 09:00:01 +0000 (10:00 +0100)]
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.
Xavier de Gaye [Tue, 13 Dec 2016 08:22:01 +0000 (09:22 +0100)]
Issue #26936: Fix the test_socket failures on Android - getservbyname(),
getservbyport() and getaddrinfo() are broken on some Android API levels.
Xavier de Gaye [Tue, 13 Dec 2016 08:12:49 +0000 (09:12 +0100)]
Issue #26856: Merge 3.6.
Xavier de Gaye [Tue, 13 Dec 2016 08:11:38 +0000 (09:11 +0100)]
Issue #26856: Fix the tests assuming that the pwd module has getpwall() and
assuming some invariants about uids that are not valid for Android.
Yury Selivanov [Mon, 12 Dec 2016 21:45:21 +0000 (16:45 -0500)]
Merge 3.6 (issue #28089)
Yury Selivanov [Mon, 12 Dec 2016 21:44:58 +0000 (16:44 -0500)]
Issue #28089: Document TCP_NODELAY in asyncio
Initial patch by Mariatta Wijaya.
(grafted from
853e3f4d6cd98ac4590238bc1c60e40fd8ed3895 )
Yury Selivanov [Mon, 12 Dec 2016 21:44:58 +0000 (16:44 -0500)]
Issue #28089: Document TCP_NODELAY in asyncio
Initial patch by Mariatta Wijaya.
Steve Dower [Mon, 12 Dec 2016 19:19:03 +0000 (11:19 -0800)]
Issue #28896: Disable WindowsRegistryFinder by default.
Steve Dower [Mon, 12 Dec 2016 19:17:59 +0000 (11:17 -0800)]
Issue #28896: Disable WindowsRegistryFinder by default.
Xavier de Gaye [Mon, 12 Dec 2016 08:56:55 +0000 (09:56 +0100)]
Issue #28764: Merge 3.6.
Xavier de Gaye [Mon, 12 Dec 2016 08:55:57 +0000 (09:55 +0100)]
Issue #28764: Fix a test_mailbox failure on Android API 24 when run as a non-root user.
Steve Dower [Sun, 11 Dec 2016 22:48:44 +0000 (14:48 -0800)]
Issue #28783: Replaces bdist_wininst in nuget packages with stub
Steve Dower [Sun, 11 Dec 2016 22:48:32 +0000 (14:48 -0800)]
Issue #28783: Replaces bdist_wininst in nuget packages with stub
Steve Dower [Sun, 11 Dec 2016 22:48:32 +0000 (14:48 -0800)]
Issue #28783: Replaces bdist_wininst in nuget packages with stub
Steve Dower [Sun, 11 Dec 2016 22:35:07 +0000 (14:35 -0800)]
Issue #28783: Replaces bdist_wininst in nuget packages with stub
Serhiy Storchaka [Sun, 11 Dec 2016 17:39:36 +0000 (19:39 +0200)]
Issue #28739: f-string expressions no longer accepted as docstrings and
by ast.literal_eval() even if they do not include subexpressions.
Serhiy Storchaka [Sun, 11 Dec 2016 17:37:19 +0000 (19:37 +0200)]
Issue #28739: f-string expressions no longer accepted as docstrings and
by ast.literal_eval() even if they do not include subexpressions.
Serhiy Storchaka [Sun, 11 Dec 2016 12:44:21 +0000 (14:44 +0200)]
Issue #28512: Fixed setting the offset attribute of SyntaxError by
PyErr_SyntaxLocationEx() and PyErr_SyntaxLocationObject().
Serhiy Storchaka [Sun, 11 Dec 2016 12:43:18 +0000 (14:43 +0200)]
Issue #28512: Fixed setting the offset attribute of SyntaxError by
PyErr_SyntaxLocationEx() and PyErr_SyntaxLocationObject().
Serhiy Storchaka [Sun, 11 Dec 2016 12:39:01 +0000 (14:39 +0200)]
Issue #28512: Fixed setting the offset attribute of SyntaxError by
PyErr_SyntaxLocationEx() and PyErr_SyntaxLocationObject().
Martin Panter [Sun, 11 Dec 2016 03:17:06 +0000 (03:17 +0000)]
Issues #28916, #26483: Merge stdtypes.rst from 3.6
Martin Panter [Sun, 11 Dec 2016 02:31:32 +0000 (02:31 +0000)]
Issues #28916, #26483: Merge stdtypes.rst from 3.5
Martin Panter [Sun, 11 Dec 2016 01:08:25 +0000 (01:08 +0000)]
Issue #26483: Clarify str.isdecimal() and isdigit()
Patch by Julien Palard.
Martin Panter [Sun, 11 Dec 2016 01:07:29 +0000 (01:07 +0000)]
Issue #28916: Correct description of %o and %x alternative forms
* In Python 3, the specifier is 0o
* There is no special case for leading zeros
* Remove duplicate tests
* Clarify other existing tests and comments
Brett Cannon [Sat, 10 Dec 2016 22:15:22 +0000 (14:15 -0800)]
Merge for issue #28424