Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add _PyObject_VaCallFunctionObjArgs() private function | Victor Stinner | 2016-12-08 | 1 | -0/+6 |
| | | | | | Issue #28915: Similar to _PyObject_CallFunctionObjArgs() but use va_list to pass arguments. | ||||
* | Add _Py_VaBuildStack() function | Victor Stinner | 2016-12-08 | 1 | -0/+13 |
| | | | | | Issue #28915: Similar to Py_VaBuildValue(), but work on a C array of PyObject*, instead of creating a tuple. | ||||
* | merge 3.6 (#28898) | Benjamin Peterson | 2016-12-08 | 1 | -2/+3 |
|\ | |||||
| * | guard HAVE_LONG_LONG definition to prevent redefinition (#28898) | Benjamin Peterson | 2016-12-08 | 1 | -2/+3 |
| | | |||||
| * | Prepare for 3.6.1. Any further 3.6.0 release candidates and 3.6.0 final ↵ | Ned Deily | 2016-12-07 | 1 | -3/+3 |
| | | | | | | | | will be cherrypicked and merged here. | ||||
| * | Version bump for 3.6.0rc1v3.6.0rc1 | Ned Deily | 2016-12-07 | 1 | -3/+3 |
| | | |||||
* | | Issue #28838: Fix weird indentation of abstract.h | Victor Stinner | 2016-12-06 | 1 | -847/+859 |
| | | | | | | | | Remove most indentation to move code at the left. | ||||
* | | Uniformize argument names of "call" functions | Victor Stinner | 2016-12-06 | 2 | -70/+74 |
| | | | | | | | | | | | | | | | | | | | | | | | | Issue #28838: Rename parameters of the "calls" functions of the Python C API. * Rename 'callable_object' and 'func' to 'callable': any Python callable object is accepted, not only Python functions * Rename 'method' and 'nameid' to 'name' (method name) * Rename 'o' to 'obj' * Move, fix and update documentation of PyObject_CallXXX() functions in abstract.h * Update also the documentaton of the C API (update parameter names) | ||||
* | | Fixed misplaced comment. | Serhiy Storchaka | 2016-12-06 | 1 | -6/+6 |
|\ \ | |/ | |||||
| * | Fixed misplaced comment. | Serhiy Storchaka | 2016-12-06 | 1 | -6/+6 |
| |\ | |||||
| | * | Fixed misplaced comment. | Serhiy Storchaka | 2016-12-06 | 1 | -6/+6 |
| | | | |||||
* | | | Issue #28808: PyUnicode_CompareWithASCIIString() now never raises exceptions. | Serhiy Storchaka | 2016-12-05 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | Issue #28808: PyUnicode_CompareWithASCIIString() now never raises exceptions. | Serhiy Storchaka | 2016-12-05 | 1 | -1/+1 |
| |\ \ | | |/ | |||||
| | * | Issue #28808: PyUnicode_CompareWithASCIIString() now never raises exceptions. | Serhiy Storchaka | 2016-12-05 | 1 | -1/+1 |
| | | | |||||
| * | | Start 3.6.0rc1. (Note, patch level was incorrectly set to 3.6.0b4+ following ↵ | Ned Deily | 2016-11-22 | 1 | -1/+1 |
| | | | | | | | | | | | | b3. It is now b4+ again.) | ||||
| * | | Version bump for 3.6.0b4v3.6.0b4 | Ned Deily | 2016-11-22 | 1 | -1/+1 |
| | | | |||||
* | | | Issue #28858: Remove _PyObject_CallArg1() macro | Victor Stinner | 2016-12-05 | 1 | -4/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace _PyObject_CallArg1(func, arg) with PyObject_CallFunctionObjArgs(func, arg, NULL) Using the _PyObject_CallArg1() macro increases the usage of the C stack, which was unexpected and unwanted. PyObject_CallFunctionObjArgs() doesn't have this issue. | ||||
* | | | fix _PyObject_CallArg1 compiler warnings (closes #28855) | Benjamin Peterson | 2016-12-02 | 1 | -1/+1 |
| | | | |||||
* | | | Backed out changeset 7efddbf1aa70 | Victor Stinner | 2016-11-30 | 2 | -22/+22 |
| | | | |||||
* | | | Uniformize argument names of "call" functions | Victor Stinner | 2016-11-29 | 2 | -22/+22 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Callable object: callable, o, callable_object => func * Object for method calls: o => obj * Method name: name or nameid => method Cleanup also the C code: * Don't initialize variables to NULL if they are not used before their first assignement * Add braces for readability | ||||
* | | | Remove CALL_PROFILE special build | Victor Stinner | 2016-11-28 | 1 | -1/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue #28799: * Remove the PyEval_GetCallStats() function. * Deprecate the untested and undocumented sys.callstats() function. * Remove the CALL_PROFILE special build Use the sys.setprofile() function, cProfile or profile module to profile function calls. | ||||
* | | | Issue #28761: The fields name and doc of structures PyMemberDef, PyGetSetDef, | Serhiy Storchaka | 2016-11-22 | 3 | -10/+10 |
| | | | | | | | | | | | | | | | PyStructSequence_Field, PyStructSequence_Desc, and wrapperbase are now of type "const char *" rather of "char *". | ||||
* | | | 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(). |