summaryrefslogtreecommitdiffstats
path: root/Python
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | Merge 3.6 (issue #26182)Yury Selivanov2016-11-081-3/+5
|\ \ \ \ \ | |/ / / /
| * | | | Issue #26182: Fix ia refleak in code that raises DeprecationWarning.Yury Selivanov2016-11-081-3/+5
| | | | |
* | | | | Fixed possible abort in ceval loop if _PyUnicode_FromId() fails.Serhiy Storchaka2016-11-081-2/+2
|\ \ \ \ \ | |/ / / / | | | | | | | | | | Every opcode should end with DISPATCH() or goto error.
| * | | | Fixed possible abort in ceval loop if _PyUnicode_FromId() fails.Serhiy Storchaka2016-11-081-2/+2
| |\ \ \ \ | | |/ / / | | | | | | | | | | Every opcode should end with DISPATCH() or goto error.
| | * | | Fixed possible abort in ceval loop if _PyUnicode_FromId() fails.Serhiy Storchaka2016-11-081-1/+1
| | | | | | | | | | | | | | | | | | | | Every opcode should end with DISPATCH() or goto error.
* | | | | Merge 3.6 (issue #27243)Yury Selivanov2016-11-081-1/+1
|\ \ \ \ \ | |/ / / /
| * | | | Issue #27243: Change PendingDeprecationWarning -> DeprecationWarning.Yury Selivanov2016-11-081-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. Smith2016-11-071-4/+5
|\ \ \ \ \ | |/ / / /
| * | | | Fixed issue #28633: segfault when concatenating bytes literal and f-string.Eric V. Smith2016-11-071-4/+5
| | | | |
* | | | | Issue #28616: merge from 3.6Ned Deily2016-11-041-1/+1
|\ \ \ \ \ | |/ / / /
| * | | | Issue #28616: merge from 3.5Ned Deily2016-11-041-1/+1
| |\ \ \ \ | | |/ / /
| | * | | Issue #28616: Correct help for sys.version_info releaselevel component.Ned Deily2016-11-041-1/+1
| | | | | | | | | | | | | | | | | | | | Patch by Anish Tambe.
| * | | | Issue 28128: Print out better error/warning messages for invalid string ↵Eric V. Smith2016-10-311-5/+61
| | | | | | | | | | | | | | | | | | | | escapes. Backport to 3.6.
* | | | | Issue 28128: Print out better error/warning messages for invalid string escapes.Eric V. Smith2016-10-311-5/+61
| | | | |
* | | | | Issue #28517: Fixed of-by-one error in the peephole optimizer that causedSerhiy Storchaka2016-10-253-3109/+3106
|\ \ \ \ \ | |/ / / / | | | | | | | | | | keeping unreachable code.
| * | | | Issue #28517: Fixed of-by-one error in the peephole optimizer that causedSerhiy Storchaka2016-10-253-3109/+3106
| | | | | | | | | | | | | | | | | | | | keeping unreachable code.
* | | | | Issue #28510: Clean up decoding error handlers.Serhiy Storchaka2016-10-231-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 raisingSerhiy Storchaka2016-10-211-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 raisingSerhiy Storchaka2016-10-211-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 Storchaka2016-10-211-1/+4
|\ \ \ \ \ | |/ / / / | | | | | | | | | | _PyErr_ChainExceptions().
| * | | | Issue #28410: Keep the traceback of original exception in ↵Serhiy Storchaka2016-10-211-1/+4
| |\ \ \ \ | | |/ / / | | | | | | | | | | _PyErr_ChainExceptions().
| | * | | Issue #28410: Keep the traceback of original exception in ↵Serhiy Storchaka2016-10-211-1/+4
| | | | | | | | | | | | | | | | | | | | _PyErr_ChainExceptions().
* | | | | merge 3.6Benjamin Peterson2016-10-211-24/+0
|\ \ \ \ \ | |/ / / /
| * | | | mark dtrace stubs as static inline; remove stubsBenjamin Peterson2016-10-211-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+intVictor Stinner2016-10-201-0/+6
| | | | |
* | | | | Issue #23782: Fixed possible memory leak in _PyTraceback_Add() and exceptionSerhiy Storchaka2016-10-181-20/+26
|\ \ \ \ \ | |/ / / / | | | | | | | | | | loss in PyTraceBack_Here().
| * | | | Issue #23782: Fixed possible memory leak in _PyTraceback_Add() and exceptionSerhiy Storchaka2016-10-181-20/+26
| |\ \ \ \ | | |/ / / | | | | | | | | | | loss in PyTraceBack_Here().
| | * | | Issue #23782: Fixed possible memory leak in _PyTraceback_Add() and exceptionSerhiy Storchaka2016-10-181-20/+26
| | | | | | | | | | | | | | | | | | | | loss in PyTraceBack_Here().
| | * | | Issue #28257: Improved error message when pass a non-mapping as a var-keywordSerhiy Storchaka2016-10-071-4/+17
| | | | | | | | | | | | | | | | | | | | argument.
* | | | | Minor fix-up to apply the stack adjustment macros consistent with the other ↵Raymond Hettinger2016-10-161-2/+2
| | | | | | | | | | | | | | | | | | | | opcodes
* | | | | Issue #24098: Fixed possible crash when AST is changed in process ofSerhiy Storchaka2016-10-071-0/+220
|\ \ \ \ \ | |/ / / / | | | | | | | | | | compiling it.
| * | | | Issue #24098: Fixed possible crash when AST is changed in process ofSerhiy Storchaka2016-10-071-0/+220
| |\ \ \ \ | | |/ / / | | | | | | | | | | compiling it.
| | * | | Issue #24098: Fixed possible crash when AST is changed in process ofSerhiy Storchaka2016-10-071-0/+216
| | | | | | | | | | | | | | | | | | | | compiling it.
* | | | | Issue #27358: Merge from 3.6Berker Peksag2016-10-021-1/+1
|\ \ \ \ \ | |/ / / /
| * | | | Issue #27358: Fix typo in error messageBerker Peksag2016-10-021-1/+1
| | | | |
* | | | | Issue #27358: Optimized merging var-keyword arguments and improved errorSerhiy Storchaka2016-10-021-44/+54
|\ \ \ \ \ | |/ / / / | | | | | | | | | | message when pass a non-mapping as a var-keyword argument.
| * | | | Issue #27358: Optimized merging var-keyword arguments and improved errorSerhiy Storchaka2016-10-021-44/+54
| | | | | | | | | | | | | | | | | | | | message when pass a non-mapping as a var-keyword argument.
* | | | | Issue #28257: Improved error message when pass a non-iterable asSerhiy Storchaka2016-10-024-110/+121
|\ \ \ \ \ | |/ / / / | | | | | | | | | | a var-positional argument. Added opcode BUILD_TUPLE_UNPACK_WITH_CALL.
| * | | | Issue #28257: Improved error message when pass a non-iterable asSerhiy Storchaka2016-10-024-110/+121
| | | | | | | | | | | | | | | | | | | | a var-positional argument. Added opcode BUILD_TUPLE_UNPACK_WITH_CALL.
* | | | | Issue #27942: String constants now interned recursively in tuples and ↵Serhiy Storchaka2016-09-302-3625/+3620
|\ \ \ \ \ | |/ / / / | | | | | | | | | | frozensets.
| * | | | Issue #27942: String constants now interned recursively in tuples and ↵Serhiy Storchaka2016-09-302-3625/+3620
| |\ \ \ \ | | |/ / / | | | | | | | | | | frozensets.
| | * | | Issue #27942: String constants now interned recursively in tuples and ↵Serhiy Storchaka2016-09-302-867/+865
| | | | | | | | | | | | | | | | | | | | frozensets.
| | * | | Silence GCC warning.Serhiy Storchaka2016-09-221-2/+2
| | | | | | | | | | | | | | | | | | | | The code was correct, but GCC is not enough clever.
* | | | | Merged from 3.6Alexander Belopolsky2016-09-281-0/+52
|\ \ \ \ \ | |/ / / /
| * | | | Issue #28148: Stop using localtime() and gmtime() in the time module.Alexander Belopolsky2016-09-281-0/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Introduced platform independent _PyTime_localtime API that is similar to POSIX localtime_r, but available on all platforms. Patch by Ed Schouten.
* | | | | Issue #27703: Got rid of unnecessary NULL checks in do_raise() in release mode.Serhiy Storchaka2016-09-271-2/+5
|/ / / / | | | | | | | | | | | | Patch by Xiang Zhang.
* | | | Issue #28100: Refactor error messages, patch by Ivan LevkivskyiChristian Heimes2016-09-231-12/+8
| | | |
* | | | Issue #28086: Single var-positional argument of tuple subtype was passedSerhiy Storchaka2016-09-221-2/+2
| | | | | | | | | | | | | | | | unscathed to the C-defined function. Now it is converted to exact tuple.
* | | | va_end() all va_copy()ed va_lists.Christian Heimes2016-09-212-7/+21
| | | |
* | | | replace usage of Py_VA_COPY with the (C99) standard va_copyBenjamin Peterson2016-09-212-7/+7
| | | |