Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge | Raymond Hettinger | 2016-11-21 | 1 | -4/+3 |
|\ | |||||
| * | Issue 28751: Fix comments in code.h. (Contributed by Ned Batchelder). | Raymond Hettinger | 2016-11-21 | 1 | -4/+3 |
| | | |||||
* | | Issue #28748: Private variable _Py_PackageContext is now of type "const char *" | Serhiy Storchaka | 2016-11-21 | 1 | -1/+1 |
| | | | | | | | | rather of "char *". | ||||
* | | Issue #19569: Compiler warnings are now emitted if use most of deprecated | Serhiy Storchaka | 2016-11-20 | 6 | -45/+53 |
| | | | | | | | | functions. | ||||
* | | Issue #28701: _PyUnicode_EqualToASCIIId and _PyUnicode_EqualToASCIIString now | Serhiy Storchaka | 2016-11-16 | 1 | -2/+2 |
|\ \ | |/ | | | | | require ASCII right argument and assert this condition in debug build. | ||||
| * | Issue #28701: _PyUnicode_EqualToASCIIId and _PyUnicode_EqualToASCIIString now | Serhiy Storchaka | 2016-11-16 | 1 | -2/+2 |
| | | | | | | | | require ASCII right argument and assert this condition in debug build. | ||||
* | | Issue #21449: Removed private function _PyUnicode_CompareWithId. | Serhiy Storchaka | 2016-11-16 | 1 | -9/+0 |
|\ \ | |/ | |||||
| * | Issue #21449: Removed private function _PyUnicode_CompareWithId. | Serhiy Storchaka | 2016-11-16 | 1 | -9/+0 |
| | | |||||
* | | Issue #28701: Replace _PyUnicode_CompareWithId with _PyUnicode_EqualToASCIIId. | Serhiy Storchaka | 2016-11-16 | 1 | -0/+19 |
|\ \ | |/ | | | | | | | | | 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 | 1 | -0/+19 |
| |\ | | | | | | | | | | | | | | | | 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 | 1 | -0/+19 |
| | | | | | | | | | | | | | | | | | | 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 | 1 | -0/+11 |
|\ \ \ | |/ / | | | | | | | | | | | | | _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 | 1 | -0/+11 |
| |\ \ | | |/ | | | | | | | | | | | | | _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 | 1 | -0/+11 |
| | | | | | | | | | | | | | | | | | | _PyUnicode_EqualToASCIIString. The latter function is more readable, faster and doesn't raise exceptions. | ||||
* | | | Issue #28618: Mark dict lookup functions as hot | Victor Stinner | 2016-11-15 | 1 | -2/+2 |
| | | | | | | | | | | | | It's common to see these functions in the top 3 of "perf report". | ||||
* | | | Issue #28618: Make hot functions using __attribute__((hot)) | Victor Stinner | 2016-11-11 | 1 | -2/+25 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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() | ||||
* | | | Issue #23996: Added _PyGen_SetStopIterationValue for safe raising | Serhiy Storchaka | 2016-11-06 | 1 | -0/+1 |
|\ \ \ | |/ / | | | | | | | | | | StopIteration with value. More safely handle non-normalized exceptions in -_PyGen_FetchStopIterationValue. | ||||
| * | | Issue #23996: Added _PyGen_SetStopIterationValue for safe raising | Serhiy Storchaka | 2016-11-06 | 1 | -0/+1 |
| |\ \ | | |/ | | | | | | | | | | StopIteration with value. More safely handle non-normalized exceptions in -_PyGen_FetchStopIterationValue. | ||||
| | * | Issue #23996: Added _PyGen_SetStopIterationValue for safe raising | Serhiy Storchaka | 2016-11-06 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | StopIteration with value. More safely handle non-normalized exceptions in -_PyGen_FetchStopIterationValue. | ||||
| * | | Start 3.6.0b4 | Ned Deily | 2016-11-01 | 1 | -2/+2 |
| | | | |||||
| * | | Version bump for 3.6.0b3v3.6.0b3 | Ned Deily | 2016-11-01 | 1 | -2/+2 |
| | | | |||||
| * | | Issue 28128: Print out better error/warning messages for invalid string ↵ | Eric V. Smith | 2016-10-31 | 2 | -0/+16 |
| | | | | | | | | | | | | escapes. Backport to 3.6. | ||||
* | | | Issue 28128: Print out better error/warning messages for invalid string escapes. | Eric V. Smith | 2016-10-31 | 2 | -0/+16 |
| | | | |||||
* | | | Merge 3.6 (issue #28544) | Yury Selivanov | 2016-10-28 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | Issue #28544: Pass `PyObject*` to _PyDict_Pop, not `PyDictObject*` | Yury Selivanov | 2016-10-28 | 1 | -1/+1 |
| | | | |||||
* | | | Merge 3.6 (issue #28544) | Yury Selivanov | 2016-10-28 | 2 | -2/+2 |
|\ \ \ | |/ / | |||||
| * | | Issue #28544: Fix compilation of _asynciomodule.c on Windows | Yury Selivanov | 2016-10-28 | 2 | -2/+2 |
| | | | |||||
* | | | Issue #28426: Deprecated undocumented functions PyUnicode_AsEncodedObject(), | Serhiy Storchaka | 2016-10-27 | 1 | -8/+25 |
|\ \ \ | |/ / | | | | | | | | | | PyUnicode_AsDecodedObject(), PyUnicode_AsDecodedUnicode() and PyUnicode_AsEncodedUnicode(). | ||||
| * | | Issue #28426: Deprecated undocumented functions PyUnicode_AsEncodedObject(), | Serhiy Storchaka | 2016-10-27 | 1 | -8/+25 |
| | | | | | | | | | | | | | | | PyUnicode_AsDecodedObject(), PyUnicode_AsDecodedUnicode() and PyUnicode_AsEncodedUnicode(). | ||||
* | | | Issue #28410: Added _PyErr_FormatFromCause() -- the helper for raising | Serhiy Storchaka | 2016-10-21 | 1 | -0/+11 |
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | 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/+11 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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] | ||||
* | | | merge 3.6 | Benjamin Peterson | 2016-10-21 | 1 | -19/+19 |
|\ \ \ | |/ / | |||||
| * | | mark dtrace stubs as static inline; remove stubs | Benjamin Peterson | 2016-10-21 | 1 | -19/+19 |
| | | | | | | | | | | | | | | | C99 inline semantics don't work everywhere. (https://bugs.python.org/issue28092) We don't want these to have external visibility anyway. | ||||
* | | | merge 3.6 | Benjamin Peterson | 2016-10-11 | 1 | -0/+1 |
|\ \ \ | |/ / | |||||
| * | | prefix freegrammar (closes #28413) | Benjamin Peterson | 2016-10-11 | 1 | -0/+1 |
| | | | |||||
| * | | Start 3.6.0b3 | Ned Deily | 2016-10-11 | 1 | -1/+1 |
| | | | |||||
| * | | Version bump for 3.6.0b2v3.6.0b2 | Ned Deily | 2016-10-10 | 1 | -2/+2 |
| | | | |||||
* | | | Issue #28295: Fixed the documentation and added tests for PyUnicode_AsUCS4(). | Serhiy Storchaka | 2016-10-02 | 1 | -1/+1 |
|\ \ \ | |/ / | | | | | | | Original patch by Xiang Zhang. | ||||
| * | | Issue #28295: Fixed the documentation and added tests for PyUnicode_AsUCS4(). | Serhiy Storchaka | 2016-10-02 | 1 | -1/+1 |
| |\ \ | | |/ | | | | | | | Original patch by Xiang Zhang. | ||||
| | * | Issue #28295: Fixed the documentation and added tests for PyUnicode_AsUCS4(). | Serhiy Storchaka | 2016-10-02 | 1 | -1/+1 |
| | | | | | | | | | | | | Original patch by Xiang Zhang. | ||||
* | | | Issue #27358: Optimized merging var-keyword arguments and improved error | Serhiy Storchaka | 2016-10-02 | 1 | -0/+6 |
|\ \ \ | |/ / | | | | | | | 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 | -0/+6 |
| | | | | | | | | | | | | 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 | 1 | -0/+1 |
|\ \ \ | |/ / | | | | | | | 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 | 1 | -0/+1 |
| | | | | | | | | | | | | a var-positional argument. Added opcode BUILD_TUPLE_UNPACK_WITH_CALL. | ||||
* | | | Merged from 3.6 | Alexander Belopolsky | 2016-09-28 | 1 | -0/+8 |
|\ \ \ | |/ / | |||||
| * | | Issue #28148: Stop using localtime() and gmtime() in the time module. | Alexander Belopolsky | 2016-09-28 | 1 | -0/+8 |
| | | | | | | | | | | | | | | | | | | Introduced platform independent _PyTime_localtime API that is similar to POSIX localtime_r, but available on all platforms. Patch by Ed Schouten. | ||||
* | | | Issues #25909, #28211: Restored correct documentation of PyMapping_Items, | Serhiy Storchaka | 2016-09-26 | 1 | -7/+7 |
|\ \ \ | |/ / | | | | | | | PyMapping_Keys and PyMapping_Values. Based on patch by Xiang Zhang. | ||||
| * | | Issues #25909, #28211: Restored correct documentation of PyMapping_Items, | Serhiy Storchaka | 2016-09-26 | 1 | -7/+7 |
| |\ \ | | |/ | | | | | | | PyMapping_Keys and PyMapping_Values. Based on patch by Xiang Zhang. | ||||
| | * | Issues #25909, #28211: Restored correct documentation of PyMapping_Items, | Serhiy Storchaka | 2016-09-26 | 1 | -7/+7 |
| | | | | | | | | | | | | PyMapping_Keys and PyMapping_Values. Based on patch by Xiang Zhang. | ||||
* | | | merge 3.6 | Benjamin Peterson | 2016-09-21 | 1 | -9/+1 |
|\ \ \ | |/ / |