Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #28823: Simplified compiling with opcode BUILD_MAP_UNPACK. | Serhiy Storchaka | 2016-11-28 | 1 | -5/+2 |
| | |||||
* | call_function(): document PyMethod optimization | Victor Stinner | 2016-11-28 | 1 | -1/+5 |
| | |||||
* | Remove CALL_PROFILE special build | Victor Stinner | 2016-11-28 | 2 | -92/+14 |
| | | | | | | | | | | | 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 #12844: More than 255 arguments can now be passed to a function. | Serhiy Storchaka | 2016-11-28 | 1 | -5/+0 |
| | |||||
* | Merge 3.6 | Victor Stinner | 2016-11-24 | 1 | -0/+1 |
|\ | |||||
| * | Fix _PyGen_yf() | Victor Stinner | 2016-11-24 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | Issue #28782: Fix a bug in the implementation ``yield from`` when checking if the next instruction is YIELD_FROM. Regression introduced by WORDCODE (issue #26647). Reviewed by Serhiy Storchaka and Yury Selivanov. | ||||
* | | merge | Raymond Hettinger | 2016-11-22 | 1 | -1/+3 |
|\ \ | |/ | |||||
| * | Issue #27100: Fix ref leak | Raymond Hettinger | 2016-11-22 | 1 | -1/+3 |
| | | |||||
* | | merge | Raymond Hettinger | 2016-11-22 | 1 | -4/+4 |
|\ \ | |/ | |||||
| * | Issue #27100: With statement reports missing __enter__ before __exit__. ↵ | Raymond Hettinger | 2016-11-22 | 1 | -4/+4 |
| | | | | | | | | (Contributed by Jonathan Ellington.) | ||||
* | | Issue #28748: Private variable _Py_PackageContext is now of type "const char *" | Serhiy Storchaka | 2016-11-21 | 2 | -2/+2 |
| | | | | | | | | rather of "char *". | ||||
* | | Issue #19569: Compiler warnings are now emitted if use most of deprecated | Serhiy Storchaka | 2016-11-20 | 3 | -15/+14 |
| | | | | | | | | functions. | ||||
* | | Added the const qualifier to char* variables that refer to readonly internal | Serhiy Storchaka | 2016-11-20 | 10 | -26/+26 |
| | | | | | | | | UTF-8 represenatation of Unicode objects. | ||||
* | | Replaced outdated macros _PyUnicode_AsString and _PyUnicode_AsStringAndSize | Serhiy Storchaka | 2016-11-20 | 7 | -16/+16 |
|\ \ | |/ | | | | | with PyUnicode_AsUTF8 and PyUnicode_AsUTF8AndSize. | ||||
| * | 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 #28715: Added error checks for PyUnicode_AsUTF8(). | Serhiy Storchaka | 2016-11-20 | 2 | -3/+9 |
| | | | |||||
* | | | Issue #28746: Merge 3.6 | Xavier de Gaye | 2016-11-19 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | 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_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 | -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: Merge 3.6 | Xavier de Gaye | 2016-11-16 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | 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 | ||||
* | | | Merge 3.6 | Victor Stinner | 2016-11-15 | 1 | -1/+7 |
|\ \ \ | |/ / | |||||
| * | | 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.6 | Ned Deily | 2016-11-12 | 1 | -2/+3 |
|\ \ \ | |/ / | |||||
| * | | 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 #28665: Use macro form of PyCell_GET/SET | Raymond Hettinger | 2016-11-12 | 1 | -4/+8 |
| | | | |||||
* | | | merge | Raymond Hettinger | 2016-11-11 | 1 | -2/+3 |
| | | | |||||
* | | | Issue #28618: Make hot functions using __attribute__((hot)) | Victor Stinner | 2016-11-11 | 2 | -4/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | 2 | -2/+3 |
| | | | | | | | | | | | | | | | It seems like _PyThreadState_UncheckedGet() is not inlined as expected, even when using gcc -O3. | ||||
* | | | Merge 3.6 (issue #26182) | Yury Selivanov | 2016-11-08 | 1 | -3/+5 |
|\ \ \ | |/ / | |||||
| * | | 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 | -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. | ||||
* | | | Merge 3.6 (issue #27243) | Yury Selivanov | 2016-11-08 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | 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. | ||||
* | | | Merge from 3.6. | Eric V. Smith | 2016-11-07 | 1 | -4/+5 |
|\ \ \ | |/ / | |||||
| * | | 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.6 | Ned Deily | 2016-11-04 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | 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. |