Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #28676: merge from 3.6 | Ned Deily | 2016-11-12 | 1 | -2/+3 |
|\ | |||||
| * | Issue #28676: merge from 3.5 | Ned Deily | 2016-11-12 | 1 | -2/+3 |
| |\ | |||||
| | * | Issue #28676: Prevent missing 'getentropy' declaration warning on macOS. | Ned Deily | 2016-11-12 | 1 | -2/+3 |
| | | | | | | | | | | | | Patch by Gareth Rees. | ||||
| * | | Issue #28665: Harmonize STORE_DEREF with STORE_FAST and LOAD_DEREF giving a ↵ | Raymond Hettinger | 2016-11-11 | 1 | -2/+3 |
| | | | | | | | | | | | | 40% speedup. | ||||
* | | | Issue #28665: Use macro form of PyCell_GET/SET | Raymond Hettinger | 2016-11-12 | 1 | -4/+8 |
| | | | |||||
* | | | merge | Raymond Hettinger | 2016-11-11 | 1 | -2/+3 |
| | | | |||||
* | | | Issue #28618: Make hot functions using __attribute__((hot)) | Victor Stinner | 2016-11-11 | 2 | -4/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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() | ||||
* | | | Use PyThreadState_GET() in performance critical code | Victor Stinner | 2016-11-11 | 2 | -2/+3 |
| | | | | | | | | | | | | | | | It seems like _PyThreadState_UncheckedGet() is not inlined as expected, even when using gcc -O3. | ||||
* | | | Merge 3.6 (issue #26182) | Yury Selivanov | 2016-11-08 | 1 | -3/+5 |
|\ \ \ | |/ / | |||||
| * | | Issue #26182: Fix ia refleak in code that raises DeprecationWarning. | Yury Selivanov | 2016-11-08 | 1 | -3/+5 |
| | | | |||||
* | | | Fixed possible abort in ceval loop if _PyUnicode_FromId() fails. | Serhiy Storchaka | 2016-11-08 | 1 | -2/+2 |
|\ \ \ | |/ / | | | | | | | Every opcode should end with DISPATCH() or goto error. | ||||
| * | | Fixed possible abort in ceval loop if _PyUnicode_FromId() fails. | Serhiy Storchaka | 2016-11-08 | 1 | -2/+2 |
| |\ \ | | |/ | | | | | | | Every opcode should end with DISPATCH() or goto error. | ||||
| | * | Fixed possible abort in ceval loop if _PyUnicode_FromId() fails. | Serhiy Storchaka | 2016-11-08 | 1 | -1/+1 |
| | | | | | | | | | | | | Every opcode should end with DISPATCH() or goto error. | ||||
* | | | Merge 3.6 (issue #27243) | Yury Selivanov | 2016-11-08 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | Issue #27243: Change PendingDeprecationWarning -> DeprecationWarning. | Yury Selivanov | 2016-11-08 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | As it was agreed in the issue, __aiter__ returning an awaitable should result in PendingDeprecationWarning in 3.5 and in DeprecationWarning in 3.6. | ||||
* | | | Merge from 3.6. | Eric V. Smith | 2016-11-07 | 1 | -4/+5 |
|\ \ \ | |/ / | |||||
| * | | Fixed issue #28633: segfault when concatenating bytes literal and f-string. | Eric V. Smith | 2016-11-07 | 1 | -4/+5 |
| | | | |||||
* | | | Issue #28616: merge from 3.6 | Ned Deily | 2016-11-04 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | Issue #28616: merge from 3.5 | Ned Deily | 2016-11-04 | 1 | -1/+1 |
| |\ \ | | |/ | |||||
| | * | Issue #28616: Correct help for sys.version_info releaselevel component. | Ned Deily | 2016-11-04 | 1 | -1/+1 |
| | | | | | | | | | | | | Patch by Anish Tambe. | ||||
| * | | Issue 28128: Print out better error/warning messages for invalid string ↵ | Eric V. Smith | 2016-10-31 | 1 | -5/+61 |
| | | | | | | | | | | | | escapes. Backport to 3.6. | ||||
* | | | Issue 28128: Print out better error/warning messages for invalid string escapes. | Eric V. Smith | 2016-10-31 | 1 | -5/+61 |
| | | | |||||
* | | | Issue #28517: Fixed of-by-one error in the peephole optimizer that caused | Serhiy Storchaka | 2016-10-25 | 3 | -3109/+3106 |
|\ \ \ | |/ / | | | | | | | keeping unreachable code. | ||||
| * | | Issue #28517: Fixed of-by-one error in the peephole optimizer that caused | Serhiy Storchaka | 2016-10-25 | 3 | -3109/+3106 |
| | | | | | | | | | | | | keeping unreachable code. | ||||
* | | | Issue #28510: Clean up decoding error handlers. | Serhiy Storchaka | 2016-10-23 | 1 | -15/+6 |
| | | | | | | | | | | | | | | | Since PyUnicodeDecodeError_GetObject() always returns bytes, following PyBytes_AsString() can be replaced with PyBytes_AS_STRING(). | ||||
* | | | Issue #28410: Added _PyErr_FormatFromCause() -- the helper for raising | Serhiy Storchaka | 2016-10-21 | 1 | -0/+41 |
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | new exception with setting current exception as __cause__. _PyErr_FormatFromCause(exception, format, args...) is equivalent to Python raise exception(format % args) from sys.exc_info()[1] | ||||
| * | | Issue #28410: Added _PyErr_FormatFromCause() -- the helper for raising | Serhiy Storchaka | 2016-10-21 | 1 | -0/+41 |
| | | | | | | | | | | | | | | | | | | | | | | | | new exception with setting current exception as __cause__. _PyErr_FormatFromCause(exception, format, args...) is equivalent to Python raise exception(format % args) from sys.exc_info()[1] | ||||
* | | | Issue #28410: Keep the traceback of original exception in ↵ | Serhiy Storchaka | 2016-10-21 | 1 | -1/+4 |
|\ \ \ | |/ / | | | | | | | _PyErr_ChainExceptions(). | ||||
| * | | Issue #28410: Keep the traceback of original exception in ↵ | Serhiy Storchaka | 2016-10-21 | 1 | -1/+4 |
| |\ \ | | |/ | | | | | | | _PyErr_ChainExceptions(). | ||||
| | * | Issue #28410: Keep the traceback of original exception in ↵ | Serhiy Storchaka | 2016-10-21 | 1 | -1/+4 |
| | | | | | | | | | | | | _PyErr_ChainExceptions(). | ||||
* | | | merge 3.6 | Benjamin Peterson | 2016-10-21 | 1 | -24/+0 |
|\ \ \ | |/ / | |||||
| * | | mark dtrace stubs as static inline; remove stubs | Benjamin Peterson | 2016-10-21 | 1 | -24/+0 |
| | | | | | | | | | | | | | | | C99 inline semantics don't work everywhere. (https://bugs.python.org/issue28092) We don't want these to have external visibility anyway. | ||||
* | | | Issue #21955: Please don't try to optimize int+int | Victor Stinner | 2016-10-20 | 1 | -0/+6 |
| | | | |||||
* | | | Issue #23782: Fixed possible memory leak in _PyTraceback_Add() and exception | Serhiy Storchaka | 2016-10-18 | 1 | -20/+26 |
|\ \ \ | |/ / | | | | | | | loss in PyTraceBack_Here(). | ||||
| * | | Issue #23782: Fixed possible memory leak in _PyTraceback_Add() and exception | Serhiy Storchaka | 2016-10-18 | 1 | -20/+26 |
| |\ \ | | |/ | | | | | | | loss in PyTraceBack_Here(). | ||||
| | * | Issue #23782: Fixed possible memory leak in _PyTraceback_Add() and exception | Serhiy Storchaka | 2016-10-18 | 1 | -20/+26 |
| | | | | | | | | | | | | loss in PyTraceBack_Here(). | ||||
| | * | Issue #28257: Improved error message when pass a non-mapping as a var-keyword | Serhiy Storchaka | 2016-10-07 | 1 | -4/+17 |
| | | | | | | | | | | | | argument. | ||||
* | | | Minor fix-up to apply the stack adjustment macros consistent with the other ↵ | Raymond Hettinger | 2016-10-16 | 1 | -2/+2 |
| | | | | | | | | | | | | opcodes | ||||
* | | | Issue #24098: Fixed possible crash when AST is changed in process of | Serhiy Storchaka | 2016-10-07 | 1 | -0/+220 |
|\ \ \ | |/ / | | | | | | | compiling it. | ||||
| * | | Issue #24098: Fixed possible crash when AST is changed in process of | Serhiy Storchaka | 2016-10-07 | 1 | -0/+220 |
| |\ \ | | |/ | | | | | | | compiling it. | ||||
| | * | Issue #24098: Fixed possible crash when AST is changed in process of | Serhiy Storchaka | 2016-10-07 | 1 | -0/+216 |
| | | | | | | | | | | | | compiling it. | ||||
* | | | Issue #27358: Merge from 3.6 | Berker Peksag | 2016-10-02 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | Issue #27358: Fix typo in error message | Berker Peksag | 2016-10-02 | 1 | -1/+1 |
| | | | |||||
* | | | Issue #27358: Optimized merging var-keyword arguments and improved error | Serhiy Storchaka | 2016-10-02 | 1 | -44/+54 |
|\ \ \ | |/ / | | | | | | | message when pass a non-mapping as a var-keyword argument. | ||||
| * | | Issue #27358: Optimized merging var-keyword arguments and improved error | Serhiy Storchaka | 2016-10-02 | 1 | -44/+54 |
| | | | | | | | | | | | | message when pass a non-mapping as a var-keyword argument. | ||||
* | | | Issue #28257: Improved error message when pass a non-iterable as | Serhiy Storchaka | 2016-10-02 | 4 | -110/+121 |
|\ \ \ | |/ / | | | | | | | a var-positional argument. Added opcode BUILD_TUPLE_UNPACK_WITH_CALL. | ||||
| * | | Issue #28257: Improved error message when pass a non-iterable as | Serhiy Storchaka | 2016-10-02 | 4 | -110/+121 |
| | | | | | | | | | | | | a var-positional argument. Added opcode BUILD_TUPLE_UNPACK_WITH_CALL. | ||||
* | | | Issue #27942: String constants now interned recursively in tuples and ↵ | Serhiy Storchaka | 2016-09-30 | 2 | -3625/+3620 |
|\ \ \ | |/ / | | | | | | | frozensets. | ||||
| * | | Issue #27942: String constants now interned recursively in tuples and ↵ | Serhiy Storchaka | 2016-09-30 | 2 | -3625/+3620 |
| |\ \ | | |/ | | | | | | | frozensets. | ||||
| | * | Issue #27942: String constants now interned recursively in tuples and ↵ | Serhiy Storchaka | 2016-09-30 | 2 | -867/+865 |
| | | | | | | | | | | | | frozensets. |