Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | Issue #28761: The fields name and doc of structures PyMemberDef, PyGetSetDef, | Serhiy Storchaka | 2016-11-22 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | PyStructSequence_Field, PyStructSequence_Desc, and wrapperbase are now of type "const char *" rather of "char *". | |||||
* | | | Issue #28731: Optimize _PyDict_NewPresized() to create correct size dict | INADA Naoki | 2016-11-21 | 1 | -5/+19 | |
| | | | | | | | | | | | | Improve speed of dict literal with constant keys up to 30%. | |||||
* | | | Issue #28760: Clean up and fix comments in PyUnicode_AsUnicodeEscapeString(). | Serhiy Storchaka | 2016-11-21 | 1 | -10/+4 | |
|\ \ \ | |/ / | | | | | | | Patch by Xiang Zhang. | |||||
| * | | Issue #28760: Clean up and fix comments in PyUnicode_AsUnicodeEscapeString(). | Serhiy Storchaka | 2016-11-21 | 1 | -10/+4 | |
| | | | | | | | | | | | | Patch by Xiang Zhang. | |||||
* | | | 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 | -72/+67 | |
| | | | | | | | | | | | | functions. | |||||
* | | | Added the const qualifier to char* variables that refer to readonly internal | Serhiy Storchaka | 2016-11-20 | 7 | -15/+14 | |
| | | | | | | | | | | | | UTF-8 represenatation of Unicode objects. | |||||
* | | | Replaced outdated macros _PyUnicode_AsString and _PyUnicode_AsStringAndSize | Serhiy Storchaka | 2016-11-20 | 6 | -13/+13 | |
|\ \ \ | |/ / | | | | | | | with PyUnicode_AsUTF8 and PyUnicode_AsUTF8AndSize. | |||||
| * | | Replaced outdated macros _PyUnicode_AsString and _PyUnicode_AsStringAndSize | Serhiy Storchaka | 2016-11-20 | 6 | -13/+13 | |
| | | | | | | | | | | | | with PyUnicode_AsUTF8 and PyUnicode_AsUTF8AndSize. | |||||
* | | | Merge 3.6 (issue #28721) | Yury Selivanov | 2016-11-16 | 1 | -3/+11 | |
|\ \ \ | |/ / | ||||||
| * | | Issue #28721: Fix asynchronous generators aclose() and athrow() | Yury Selivanov | 2016-11-16 | 1 | -3/+11 | |
| | | | ||||||
* | | | Issue #28701: _PyUnicode_EqualToASCIIId and _PyUnicode_EqualToASCIIString now | Serhiy Storchaka | 2016-11-16 | 1 | -0/+11 | |
|\ \ \ | |/ / | | | | | | | 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 | -0/+11 | |
| | | | | | | | | | | | | require ASCII right argument and assert this condition in debug build. | |||||
* | | | Fixed an off-by-one error in _PyUnicode_EqualToASCIIString (issue #28701). | Serhiy Storchaka | 2016-11-16 | 1 | -1/+1 | |
|\ \ \ | |/ / | ||||||
| * | | Fixed an off-by-one error in _PyUnicode_EqualToASCIIString (issue #28701). | Serhiy Storchaka | 2016-11-16 | 1 | -1/+1 | |
| |\ \ | | |/ | ||||||
| | * | Fixed an off-by-one error in _PyUnicode_EqualToASCIIString (issue #28701). | Serhiy Storchaka | 2016-11-16 | 1 | -1/+1 | |
| | | | ||||||
* | | | 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 | 2 | -6/+44 | |
|\ \ \ | |/ / | | | | | | | | | | | | | 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 | -6/+44 | |
| |\ \ | | |/ | | | | | | | | | | | | | 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 | -6/+44 | |
| | | | | | | | | | | | | | | | | | | 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 | 4 | -7/+42 | |
|\ \ \ | |/ / | | | | | | | | | | | | | _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 | 4 | -7/+42 | |
| |\ \ | | |/ | | | | | | | | | | | | | _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 | 4 | -7/+42 | |
| | | | | | | | | | | | | | | | | | | _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 | -4/+4 | |
| | | | | | | | | | | | | It's common to see these functions in the top 3 of "perf report". | |||||
* | | | Issue #28648: Fixed crash in Py_DecodeLocale() in debug build on Mac OS X | Serhiy Storchaka | 2016-11-12 | 1 | -1/+1 | |
|\ \ \ | |/ / | | | | | | | when decode astral characters. | |||||
| * | | Issue #28648: Fixed crash in Py_DecodeLocale() in debug build on Mac OS X | Serhiy Storchaka | 2016-11-12 | 1 | -1/+1 | |
| |\ \ | | |/ | | | | | | | when decode astral characters. | |||||
| | * | Issue #28648: Fixed crash in Py_DecodeLocale() in debug build on Mac OS X | Serhiy Storchaka | 2016-11-12 | 1 | -1/+1 | |
| | |\ | | | | | | | | | | | | | when decode astral characters. | |||||
| | | * | Issue #28648: Fixed crash in Py_DecodeLocale() in debug build on Mac OS X | Serhiy Storchaka | 2016-11-12 | 1 | -1/+1 | |
| | | |\ | | | | | | | | | | | | | | | | when decode astral characters. | |||||
| | | | * | Issue #28648: Fixed crash in Py_DecodeLocale() in debug build on Mac OS X | Serhiy Storchaka | 2016-11-12 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | when decode astral characters. | |||||
| | | | * | Issue #25709: Fixed problem with in-place string concatenation and utf-8 cache. | Serhiy Storchaka | 2015-12-02 | 1 | -0/+5 | |
| | | | | | ||||||
* | | | | | Issue #28618: Make hot functions using __attribute__((hot)) | Victor Stinner | 2016-11-11 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | It seems like _PyThreadState_UncheckedGet() is not inlined as expected, even when using gcc -O3. | |||||
* | | | | | Merge 3.6 (issue #27942) | Yury Selivanov | 2016-11-09 | 1 | -0/+2 | |
|\ \ \ \ \ | |/ / / / | ||||||
| * | | | | Merge 3.5 (issue #27942) | Yury Selivanov | 2016-11-09 | 1 | -0/+2 | |
| |\ \ \ \ | | |/ / / | ||||||
| | * | | | ssue #27942: Fix memory leak in codeobject.c | Yury Selivanov | 2016-11-09 | 1 | -0/+2 | |
| | | | | | ||||||
* | | | | | Merge 3.6 (issue #28003) | Yury Selivanov | 2016-11-09 | 1 | -14/+48 | |
|\ \ \ \ \ | |/ / / / | ||||||
| * | | | | Issue #28003: Make WrappedVal, ASend and AThrow GC types | Yury Selivanov | 2016-11-09 | 1 | -14/+48 | |
| | | | | | ||||||
* | | | | | Merge 3.6 | Yury Selivanov | 2016-11-09 | 1 | -2/+2 | |
|\ \ \ \ \ | |/ / / / | ||||||
| * | | | | Merge 3.5 | Yury Selivanov | 2016-11-09 | 1 | -2/+2 | |
| |\ \ \ \ | | |/ / / | ||||||
| | * | | | genobject: Remove unnecessary tp_free slots from aiter_wrapper and coro_wrapper | Yury Selivanov | 2016-11-09 | 1 | -2/+2 | |
| | | | | | ||||||
* | | | | | Issue #28621: Sped up converting int to float by reusing faster bits counting | Serhiy Storchaka | 2016-11-08 | 1 | -32/+28 | |
| | | | | | | | | | | | | | | | | | | | | implementation. Patch by Adrian Wielgosik. | |||||
* | | | | | Closes #27781: Removes special cases for the experimental aspect of PEP 529 | Steve Dower | 2016-11-07 | 1 | -10/+1 | |
|\ \ \ \ \ | |/ / / / | ||||||
| * | | | | Closes #27781: Removes special cases for the experimental aspect of PEP 529 | Steve Dower | 2016-11-07 | 1 | -10/+1 | |
| | | | | | ||||||
* | | | | | merge 3.6 | Benjamin Peterson | 2016-11-06 | 1 | -0/+9 | |
|\ \ \ \ \ | |/ / / / | ||||||
| * | | | | merge 3.5 | Benjamin Peterson | 2016-11-06 | 1 | -0/+9 | |
| |\ \ \ \ | | |/ / / | ||||||
| | * | | | make sure dict view types are initialized | Benjamin Peterson | 2016-11-06 | 1 | -0/+9 | |
| | | | | | ||||||
* | | | | | Issue #23996: Added _PyGen_SetStopIterationValue for safe raising | Serhiy Storchaka | 2016-11-06 | 1 | -21/+51 | |
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | 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 | -21/+51 | |
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | | 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 | -10/+50 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | StopIteration with value. More safely handle non-normalized exceptions in -_PyGen_FetchStopIterationValue. |