]>
granicus.if.org Git - python/log
Xavier de Gaye [Sun, 13 Nov 2016 20:14:03 +0000 (21:14 +0100)]
Issue #26934: Fix test_faulthandler on Android where raise() exits with 0,
with a cosmetic change to add a commit message with the issue number,
missing from the previous two commits.
Xavier de Gaye [Sun, 13 Nov 2016 19:47:39 +0000 (20:47 +0100)]
Merge 3.6
Xavier de Gaye [Sun, 13 Nov 2016 19:46:46 +0000 (20:46 +0100)]
Fix test_faulthandler on Android where raise() exits with 0
Xavier de Gaye [Sun, 13 Nov 2016 18:42:09 +0000 (19:42 +0100)]
Merge 3.6
Xavier de Gaye [Sun, 13 Nov 2016 18:41:07 +0000 (19:41 +0100)]
Merge 3.5
Xavier de Gaye [Sun, 13 Nov 2016 18:39:48 +0000 (19:39 +0100)]
Fix temporary file not deleted in test_socket
Raymond Hettinger [Sun, 13 Nov 2016 05:44:24 +0000 (00:44 -0500)]
merge
Raymond Hettinger [Sun, 13 Nov 2016 05:42:56 +0000 (00:42 -0500)]
Fix typos
Ned Deily [Sat, 12 Nov 2016 21:39:52 +0000 (16:39 -0500)]
Issue #28676: merge from 3.6
Ned Deily [Sat, 12 Nov 2016 21:38:03 +0000 (16:38 -0500)]
Issue #28676: merge from 3.5
Ned Deily [Sat, 12 Nov 2016 21:35:48 +0000 (16:35 -0500)]
Issue #28676: Prevent missing 'getentropy' declaration warning on macOS.
Patch by Gareth Rees.
Serhiy Storchaka [Sat, 12 Nov 2016 20:48:50 +0000 (22:48 +0200)]
Fixed the documentation of parse_constant argument in json.load().
parse_constant doesn't get called on 'null', 'true', 'false' since 3.1/2.7.
Serhiy Storchaka [Sat, 12 Nov 2016 20:48:33 +0000 (22:48 +0200)]
Fixed the documentation of parse_constant argument in json.load().
parse_constant doesn't get called on 'null', 'true', 'false' since 3.1/2.7.
Serhiy Storchaka [Sat, 12 Nov 2016 20:47:16 +0000 (22:47 +0200)]
Fixed the documentation of parse_constant argument in json.load().
parse_constant doesn't get called on 'null', 'true', 'false' since 3.1/2.7.
Serhiy Storchaka [Sat, 12 Nov 2016 12:37:11 +0000 (14:37 +0200)]
Issue #28648: Fixed crash in Py_DecodeLocale() in debug build on Mac OS X
when decode astral characters.
Serhiy Storchaka [Sat, 12 Nov 2016 12:36:02 +0000 (14:36 +0200)]
Issue #28648: Fixed crash in Py_DecodeLocale() in debug build on Mac OS X
when decode astral characters.
Serhiy Storchaka [Sat, 12 Nov 2016 12:35:46 +0000 (14:35 +0200)]
Issue #28648: Fixed crash in Py_DecodeLocale() in debug build on Mac OS X
when decode astral characters.
Serhiy Storchaka [Sat, 12 Nov 2016 12:29:48 +0000 (14:29 +0200)]
Issue #28648: Fixed crash in Py_DecodeLocale() in debug build on Mac OS X
when decode astral characters.
Serhiy Storchaka [Sat, 12 Nov 2016 12:28:06 +0000 (14:28 +0200)]
Issue #28648: Fixed crash in Py_DecodeLocale() in debug build on Mac OS X
when decode astral characters.
Raymond Hettinger [Sat, 12 Nov 2016 09:10:35 +0000 (04:10 -0500)]
Issue #28665: Use macro form of PyCell_GET/SET
Guido van Rossum [Fri, 11 Nov 2016 23:58:03 +0000 (15:58 -0800)]
Issue 28644: Document recent changes in typing.py (Ivan L) (3.6->3.7)
Guido van Rossum [Fri, 11 Nov 2016 23:57:09 +0000 (15:57 -0800)]
Issue 28644: Document recent changes in typing.py (Ivan L) (3.5->3.6)
Guido van Rossum [Fri, 11 Nov 2016 23:54:04 +0000 (15:54 -0800)]
Issue 28644: Document recent changes in typing.py (Ivan L)
Serhiy Storchaka [Fri, 11 Nov 2016 15:11:48 +0000 (17:11 +0200)]
Issue #28664: test_bz2 now works on non-Windows platforms without bunzip2
(e.g. on Android).
Serhiy Storchaka [Fri, 11 Nov 2016 15:11:33 +0000 (17:11 +0200)]
Issue #28664: test_bz2 now works on non-Windows platforms without bunzip2
(e.g. on Android).
Serhiy Storchaka [Fri, 11 Nov 2016 15:10:24 +0000 (17:10 +0200)]
Issue #28664: test_bz2 now works on non-Windows platforms without bunzip2
(e.g. on Android).
Serhiy Storchaka [Fri, 11 Nov 2016 14:50:13 +0000 (16:50 +0200)]
Merge from 3.6 (issue #28665).
Raymond Hettinger [Fri, 11 Nov 2016 12:32:11 +0000 (04:32 -0800)]
merge
Raymond Hettinger [Fri, 11 Nov 2016 12:31:18 +0000 (04:31 -0800)]
Issue #28665: Harmonize STORE_DEREF with STORE_FAST and LOAD_DEREF giving a 40% speedup.
Serhiy Storchaka [Fri, 11 Nov 2016 10:07:48 +0000 (12:07 +0200)]
Issue #19398: Extra slash no longer added to sys.path components in case of
empty compile-time PYTHONPATH components. This fixes some tests in -S or -I
modes.
Serhiy Storchaka [Fri, 11 Nov 2016 10:06:38 +0000 (12:06 +0200)]
Issue #19398: Extra slash no longer added to sys.path components in case of
empty compile-time PYTHONPATH components. This fixes some tests in -S or -I
modes.
Serhiy Storchaka [Fri, 11 Nov 2016 10:05:01 +0000 (12:05 +0200)]
Issue #19398: Extra slash no longer added to sys.path components in case of
empty compile-time PYTHONPATH components. This fixes some tests in -S or -I
modes.
Serhiy Storchaka [Fri, 11 Nov 2016 09:48:22 +0000 (11:48 +0200)]
Issue #23839: Various caches now are cleared before running every test file.
Serhiy Storchaka [Fri, 11 Nov 2016 09:46:44 +0000 (11:46 +0200)]
Issue #23839: Various caches now are cleared before running every test file.
Serhiy Storchaka [Fri, 11 Nov 2016 09:42:47 +0000 (11:42 +0200)]
Issue #23839: Various caches now are cleared before running every test file.
Victor Stinner [Fri, 11 Nov 2016 01:13:35 +0000 (02:13 +0100)]
Issue #28618: Make hot functions using __attribute__((hot))
When Python is not compiled with PGO, the performance of Python on call_simple
and call_method microbenchmarks depend highly on the code placement. In the
worst case, the performance slowdown can be up to 70%.
The GCC __attribute__((hot)) attribute helps to keep hot code close to reduce
the risk of such major slowdown. This attribute is ignored when Python is
compiled with PGO.
The following functions are considered as hot according to statistics collected
by perf record/perf report:
* _PyEval_EvalFrameDefault()
* call_function()
* _PyFunction_FastCall()
* PyFrame_New()
* frame_dealloc()
* PyErr_Occurred()
Victor Stinner [Fri, 11 Nov 2016 00:43:56 +0000 (01:43 +0100)]
Use PyThreadState_GET() in performance critical code
It seems like _PyThreadState_UncheckedGet() is not inlined as expected, even
when using gcc -O3.
Yury Selivanov [Thu, 10 Nov 2016 20:39:46 +0000 (15:39 -0500)]
Merge 3.6 (issue #28635)
Yury Selivanov [Thu, 10 Nov 2016 20:39:27 +0000 (15:39 -0500)]
Issue #28635: what's new in 3.6: remove mentions of backported fixes.
Patch by Elvis Pranskevichus.
Yury Selivanov [Thu, 10 Nov 2016 18:28:03 +0000 (13:28 -0500)]
Merge 3.6 (issue #28635)
Yury Selivanov [Thu, 10 Nov 2016 18:27:22 +0000 (13:27 -0500)]
Issue #28635: What's New in Python 3.6 updates
Patch by Elvis Pranskevichus.
Yury Selivanov [Thu, 10 Nov 2016 18:26:06 +0000 (13:26 -0500)]
Merge 3.6 (issue #28635)
Yury Selivanov [Thu, 10 Nov 2016 18:25:26 +0000 (13:25 -0500)]
Issue #28635: Fix a couple of missing/incorrect versionchanged tags
Patch by Elvis Pranskevichus.
Guido van Rossum [Thu, 10 Nov 2016 16:29:20 +0000 (08:29 -0800)]
Issue #28649: fix second issue with _ForwardRef (#328) (3.6->3.7)
Guido van Rossum [Thu, 10 Nov 2016 16:29:19 +0000 (08:29 -0800)]
Issue #28649: fix second issue with _ForwardRef (#328) (3.5->3.6)
Guido van Rossum [Thu, 10 Nov 2016 16:29:18 +0000 (08:29 -0800)]
Issue #28649: fix second issue with _ForwardRef (#328)
Guido van Rossum [Thu, 10 Nov 2016 16:27:50 +0000 (08:27 -0800)]
Issue #28649: fix first issue with _ForwardRef (#327) (3.6->3.7)
Guido van Rossum [Thu, 10 Nov 2016 16:26:19 +0000 (08:26 -0800)]
Issue #28649: fix first issue with _ForwardRef (#327) (3.5->3.6)
Guido van Rossum [Thu, 10 Nov 2016 16:24:06 +0000 (08:24 -0800)]
Issue #28649: fix first issue with _ForwardRef (#327)
Yury Selivanov [Wed, 9 Nov 2016 23:57:00 +0000 (18:57 -0500)]
Merge 3.6 (issue #28653)
Yury Selivanov [Wed, 9 Nov 2016 23:56:26 +0000 (18:56 -0500)]
Merge 3.6 (issue #28653)
Yury Selivanov [Wed, 9 Nov 2016 23:55:45 +0000 (18:55 -0500)]
Issue #28653: Fix a refleak in functools.lru_cache.
Serhiy Storchaka [Wed, 9 Nov 2016 21:52:40 +0000 (23:52 +0200)]
Issue #28649: Clear the typing module caches when search for reference leaks.
Serhiy Storchaka [Wed, 9 Nov 2016 21:51:54 +0000 (23:51 +0200)]
Issue #28649: Clear the typing module caches when search for reference leaks.
Serhiy Storchaka [Wed, 9 Nov 2016 21:49:02 +0000 (23:49 +0200)]
Issue #28649: Clear the typing module caches when search for reference leaks.
Guido van Rossum [Wed, 9 Nov 2016 21:23:06 +0000 (13:23 -0800)]
Issue #28649: typing-clear-caches.patch (3.6->3.7)
Guido van Rossum [Wed, 9 Nov 2016 21:23:05 +0000 (13:23 -0800)]
Issue #28649: typing-clear-caches.patch (3.5->3.6)
Guido van Rossum [Wed, 9 Nov 2016 21:23:04 +0000 (13:23 -0800)]
Issue #28649: typing-clear-caches.patch
Guido van Rossum [Wed, 9 Nov 2016 21:19:01 +0000 (13:19 -0800)]
Issue #28649: fix-typing-test-v2.diff (3.6->3.7)
Guido van Rossum [Wed, 9 Nov 2016 21:19:00 +0000 (13:19 -0800)]
Issue #28649: fix-typing-test-v2.diff (3.5->3.6)
Guido van Rossum [Wed, 9 Nov 2016 21:18:59 +0000 (13:18 -0800)]
Issue #28649: fix-typing-test-v2.diff
Guido van Rossum [Wed, 9 Nov 2016 21:12:56 +0000 (13:12 -0800)]
Issue #28556: More typing.py updates from upstream. (3.6->3.7)
Guido van Rossum [Wed, 9 Nov 2016 21:12:53 +0000 (13:12 -0800)]
Issue #28556: More typing.py updates from upstream. (3.5->3.6)
Guido van Rossum [Wed, 9 Nov 2016 21:12:51 +0000 (13:12 -0800)]
Issue #28556: More typing.py updates from upstream.
Steve Dower [Wed, 9 Nov 2016 20:58:31 +0000 (12:58 -0800)]
Issue #19717: Makes Path.resolve() succeed on paths that do not exist (patch by Vajrasky Kok)
Steve Dower [Wed, 9 Nov 2016 20:58:17 +0000 (12:58 -0800)]
Issue #19717: Makes Path.resolve() succeed on paths that do not exist (patch by Vajrasky Kok)
Yury Selivanov [Wed, 9 Nov 2016 20:48:22 +0000 (15:48 -0500)]
Merge 3.6 (issue #28652)
Yury Selivanov [Wed, 9 Nov 2016 20:47:47 +0000 (15:47 -0500)]
Merge 3.5 (issue #28652)
Yury Selivanov [Wed, 9 Nov 2016 20:47:00 +0000 (15:47 -0500)]
Issue #28652: Make loop methods reject socket kinds they do not support.
Yury Selivanov [Wed, 9 Nov 2016 14:43:37 +0000 (09:43 -0500)]
Merge 3.6 (issue #27942)
Yury Selivanov [Wed, 9 Nov 2016 14:43:08 +0000 (09:43 -0500)]
Merge 3.5 (issue #27942)
Yury Selivanov [Wed, 9 Nov 2016 14:42:14 +0000 (09:42 -0500)]
ssue #27942: Fix memory leak in codeobject.c
Andrew Kuchling [Wed, 9 Nov 2016 03:53:59 +0000 (22:53 -0500)]
Merge 3.6
Andrew Kuchling [Wed, 9 Nov 2016 03:38:54 +0000 (22:38 -0500)]
Merge from 3.5
Andrew Kuchling [Wed, 9 Nov 2016 03:33:31 +0000 (22:33 -0500)]
Use http instead of https, due to certificate error
Andrew Kuchling [Wed, 9 Nov 2016 03:14:39 +0000 (22:14 -0500)]
Merge from 3.5
Andrew Kuchling [Wed, 9 Nov 2016 03:07:43 +0000 (22:07 -0500)]
Update URL for requests documentation after IRC request
Yury Selivanov [Wed, 9 Nov 2016 00:59:57 +0000 (19:59 -0500)]
Merge 3.6 (issue #28639)
Yury Selivanov [Wed, 9 Nov 2016 00:59:29 +0000 (19:59 -0500)]
Merge 3.5 (issue #28639)
Yury Selivanov [Wed, 9 Nov 2016 00:57:44 +0000 (19:57 -0500)]
Issue #28639: Fix inspect.isawaitable to always return bool
Patch by Justin Mayfield.
Yury Selivanov [Wed, 9 Nov 2016 00:46:41 +0000 (19:46 -0500)]
Merge 3.6 (issue #28003)
Yury Selivanov [Wed, 9 Nov 2016 00:46:22 +0000 (19:46 -0500)]
Issue #28003: Make WrappedVal, ASend and AThrow GC types
Yury Selivanov [Wed, 9 Nov 2016 00:20:08 +0000 (19:20 -0500)]
Merge 3.6
Yury Selivanov [Wed, 9 Nov 2016 00:19:52 +0000 (19:19 -0500)]
Merge 3.5
Yury Selivanov [Wed, 9 Nov 2016 00:19:28 +0000 (19:19 -0500)]
genobject: Remove unnecessary tp_free slots from aiter_wrapper and coro_wrapper
Yury Selivanov [Wed, 9 Nov 2016 00:16:37 +0000 (19:16 -0500)]
Merge 3.6 (asyncio)
Yury Selivanov [Wed, 9 Nov 2016 00:16:15 +0000 (19:16 -0500)]
Merge 3.5 (asyncio)
Yury Selivanov [Wed, 9 Nov 2016 00:16:01 +0000 (19:16 -0500)]
asyncio: Fix _format_coroutine for coroutine-like objects w/o __name__
Some built-in coroutine-like objects might not have __name__ or
__qualname__. A good example of such are 'asend', 'aclose' and
'athrow' coroutine methods of asynchronous generators.
Yury Selivanov [Wed, 9 Nov 2016 00:05:42 +0000 (19:05 -0500)]
Merge 3.6 (issue #26081)
Yury Selivanov [Wed, 9 Nov 2016 00:04:57 +0000 (19:04 -0500)]
Issue #26081: Fix refleak in _asyncio.Future.__iter__().throw.
Yury Selivanov [Tue, 8 Nov 2016 21:57:40 +0000 (16:57 -0500)]
Merge 3.6 (typo in NEWS)
Yury Selivanov [Tue, 8 Nov 2016 21:57:22 +0000 (16:57 -0500)]
news: Fix a typo
Yury Selivanov [Tue, 8 Nov 2016 21:54:39 +0000 (16:54 -0500)]
Merge 3.6 (issue #26182)
Yury Selivanov [Tue, 8 Nov 2016 21:54:18 +0000 (16:54 -0500)]
Issue #26182: Fix ia refleak in code that raises DeprecationWarning.
Serhiy Storchaka [Tue, 8 Nov 2016 21:14:00 +0000 (23:14 +0200)]
Fixed possible abort in ceval loop if _PyUnicode_FromId() fails.
Every opcode should end with DISPATCH() or goto error.
Serhiy Storchaka [Tue, 8 Nov 2016 21:13:36 +0000 (23:13 +0200)]
Fixed possible abort in ceval loop if _PyUnicode_FromId() fails.
Every opcode should end with DISPATCH() or goto error.
Serhiy Storchaka [Tue, 8 Nov 2016 21:12:46 +0000 (23:12 +0200)]
Fixed possible abort in ceval loop if _PyUnicode_FromId() fails.
Every opcode should end with DISPATCH() or goto error.
Yury Selivanov [Tue, 8 Nov 2016 20:15:42 +0000 (15:15 -0500)]
Merge 3.6 (issue #27243)
Yury Selivanov [Tue, 8 Nov 2016 20:13:07 +0000 (15:13 -0500)]
Issue #27243: Change PendingDeprecationWarning -> DeprecationWarning.
As it was agreed in the issue, __aiter__ returning an awaitable
should result in PendingDeprecationWarning in 3.5 and in
DeprecationWarning in 3.6.
Serhiy Storchaka [Tue, 8 Nov 2016 19:28:30 +0000 (21:28 +0200)]
Issue #28563: Fixed possible DoS and arbitrary code execution when handle
plural form selections in the gettext module. The expression parser now
supports exact syntax supported by GNU gettext.