Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Replaced outdated macros _PyUnicode_AsString and _PyUnicode_AsStringAndSize | Serhiy Storchaka | 2016-11-20 | 7 | -16/+16 |
| | | | | with PyUnicode_AsUTF8 and PyUnicode_AsUTF8AndSize. | ||||
* | Issue #28715: Added error checks for PyUnicode_AsUTF8(). | Serhiy Storchaka | 2016-11-20 | 2 | -3/+9 |
|\ | |||||
| * | Issue #28715: Added error checks for PyUnicode_AsUTF8(). | Serhiy Storchaka | 2016-11-20 | 2 | -3/+9 |
| | | |||||
* | | Issue #28746: Fix the set_inheritable() file descriptor method on platforms | Xavier de Gaye | 2016-11-19 | 1 | -1/+1 |
| | | | | | | | | that do not have the ioctl FIOCLEX and FIONCLEX commands | ||||
* | | Issue #28701: Replace _PyUnicode_CompareWithId with _PyUnicode_EqualToASCIIId. | Serhiy Storchaka | 2016-11-16 | 2 | -2/+2 |
|\ \ | |/ | | | | | | | | | The latter function is more readable, faster and doesn't raise exceptions. Based on patch by Xiang Zhang. | ||||
| * | Issue #28701: Replace _PyUnicode_CompareWithId with _PyUnicode_EqualToASCIIId. | Serhiy Storchaka | 2016-11-16 | 2 | -2/+2 |
| | | | | | | | | | | | | The latter function is more readable, faster and doesn't raise exceptions. Based on patch by Xiang Zhang. | ||||
* | | Issue #28701: Replace PyUnicode_CompareWithASCIIString with ↵ | Serhiy Storchaka | 2016-11-16 | 7 | -33/+27 |
|\ \ | |/ | | | | | | | | | _PyUnicode_EqualToASCIIString. The latter function is more readable, faster and doesn't raise exceptions. | ||||
| * | Issue #28701: Replace PyUnicode_CompareWithASCIIString with ↵ | Serhiy Storchaka | 2016-11-16 | 7 | -31/+25 |
| | | | | | | | | | | | | _PyUnicode_EqualToASCIIString. The latter function is more readable, faster and doesn't raise exceptions. | ||||
* | | Issue #26920: Fix not getting the locale's charset upon initializing the ↵ | Xavier de Gaye | 2016-11-16 | 1 | -1/+1 |
| | | | | | | | | | | | | interpreter, on platforms that do not have langinfo | ||||
* | | Fix warn_invalid_escape_sequence() | Victor Stinner | 2016-11-15 | 1 | -1/+7 |
| | | | | | | | | | | | | | | | | Issue #28691: Fix warn_invalid_escape_sequence(): handle correctly DeprecationWarning raised as an exception. First clear the current exception to replace the DeprecationWarning exception with a SyntaxError exception. Unit test written by Serhiy Storchaka. | ||||
* | | 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 #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 | -1/+1 |
| | | | | | | | | Every opcode should end with DISPATCH() or goto error. | ||||
* | | 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. | ||||
* | | 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.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 #28517: Fixed of-by-one error in the peephole optimizer that caused | Serhiy Storchaka | 2016-10-25 | 3 | -3109/+3106 |
| | | | | | | | | keeping unreachable code. | ||||
* | | 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(). | ||||
* | | mark dtrace stubs as static inline; remove stubs | Benjamin Peterson | 2016-10-20 | 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 #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. | ||||
* | | 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: 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 #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 | -867/+865 |
| | | | | | | | | frozensets. | ||||
| * | Silence GCC warning. | Serhiy Storchaka | 2016-09-22 | 1 | -2/+2 |
| | | | | | | | | The code was correct, but GCC is not enough clever. | ||||
* | | Issue #28148: Stop using localtime() and gmtime() in the time module. | Alexander Belopolsky | 2016-09-28 | 1 | -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 #28100: Refactor error messages, patch by Ivan Levkivskyi | Christian Heimes | 2016-09-23 | 1 | -12/+8 |
| | | |||||
* | | Issue #28086: Single var-positional argument of tuple subtype was passed | Serhiy Storchaka | 2016-09-22 | 1 | -2/+2 |
| | | | | | | | | unscathed to the C-defined function. Now it is converted to exact tuple. | ||||
* | | va_end() all va_copy()ed va_lists. | Christian Heimes | 2016-09-21 | 2 | -7/+21 |
| | | |||||
* | | replace usage of Py_VA_COPY with the (C99) standard va_copy | Benjamin Peterson | 2016-09-20 | 2 | -7/+7 |
| | | |||||
* | | (Merge 3.5) Catch EPERM error in py_getrandom() | Victor Stinner | 2016-09-20 | 1 | -8/+11 |
|\ \ | |/ | | | | | | | Issue #27955: Fallback on reading /dev/urandom device when the getrandom() syscall fails with EPERM, for example when blocked by SECCOMP. | ||||
| * | Catch EPERM error in py_getrandom() | Victor Stinner | 2016-09-20 | 1 | -7/+8 |
| | | | | | | | | | | Issue #27955: Fallback on reading /dev/urandom device when the getrandom() syscall fails with EPERM, for example when blocked by SECCOMP. | ||||
| * | Cleanup random.c | Victor Stinner | 2016-09-20 | 1 | -28/+53 |
| | | | | | | | | | | | | | | Issue #27955: modify py_getrnadom() and dev_urandom() * Add comments from Python 3.7 * PEP 7 style: add {...} | ||||
| * | Issue #27932: Prevent memory leak in win32_ver(). | Steve Dower | 2016-09-17 | 1 | -0/+37 |
| | | |||||
* | | delete dead code | Benjamin Peterson | 2016-09-18 | 1 | -3/+0 |
| | | |||||
* | | Issue #27932: Prevent memory leak in win32_ver(). | Steve Dower | 2016-09-17 | 1 | -4/+42 |
| | | |||||
* | | Issue #26182: Raise DeprecationWarning for improper use of async/await keywords | Yury Selivanov | 2016-09-15 | 1 | -0/+20 |
| | | |||||
* | | merge 3.5 (#28119) | Benjamin Peterson | 2016-09-13 | 1 | -22/+14 |
|\ \ | |/ |