Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 #28544: Pass `PyObject*` to _PyDict_Pop, not `PyDictObject*` | Yury Selivanov | 2016-10-28 | 1 | -1/+1 |
| | | |||||
* | | 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 #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] | ||||
* | | 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. | ||||
* | | 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 #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 #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. | ||||
* | | replace usage of Py_VA_COPY with the (C99) standard va_copy | Benjamin Peterson | 2016-09-21 | 1 | -9/+1 |
| | | |||||
* | | merge 3.5 (#28184) | Benjamin Peterson | 2016-09-20 | 2 | -19/+19 |
|\ \ | |/ | |||||
| * | remove trailing whitespace | Benjamin Peterson | 2016-09-20 | 2 | -19/+19 |
| | | |||||
* | | stop using Py_LL and Py_ULL | Benjamin Peterson | 2016-09-19 | 2 | -6/+2 |
| | | |||||
* | | always define HAVE_LONG_LONG (#27961) | Benjamin Peterson | 2016-09-19 | 1 | -0/+3 |
| | | |||||
* | | properly free memory in pgen | Benjamin Peterson | 2016-09-19 | 1 | -0/+1 |
| | | |||||
* | | Issue #28139: Merge indentation fixes from 3.5 into 3.6 | Martin Panter | 2016-09-17 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Issue #28139: Fix messed up indentation | Martin Panter | 2016-09-17 | 1 | -1/+1 |
| | | | | | | | | | | Also update the classmethod and staticmethod doc strings and comments to match the RST documentation. | ||||
| * | Issue #27895: Spelling fixes (Contributed by Ville Skyttä). | Martin Panter | 2016-09-07 | 2 | -2/+2 |
| | | |||||
* | | Add _PyDict_CheckConsistency() | Victor Stinner | 2016-09-14 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | Issue #28127: Add a function to check that a dictionary remains consistent after any change. By default, tables are not checked, only basic attributes. Define DEBUG_PYDICT (ex: gcc -D DEBUG_PYDICT) to also check dictionary "content". | ||||
* | | Issue #28126: Replace Py_MEMCPY with memcpy(). Visual Studio can properly ↵ | Christian Heimes | 2016-09-13 | 2 | -32/+15 |
| | | | | | | | | optimize memcpy(). | ||||
* | | Start 3.6.0b2 | Ned Deily | 2016-09-12 | 1 | -1/+1 |
| | | |||||
* | | Version bump for 3.6.0b1v3.6.0b1 | Ned Deily | 2016-09-12 | 1 | -3/+3 |
| | | |||||
* | | Issue #27810: Exclude METH_FASTCALL from the stable API | Victor Stinner | 2016-09-12 | 1 | -1/+1 |
| | | |||||
* | | Document kwnames in _PyObject_FastCallKeywords() and _PyStack_AsDict() | Victor Stinner | 2016-09-12 | 1 | -30/+40 |
| | | | | | | | | Issue #27213. | ||||
* | | Revert change f860b7a775c5 | Victor Stinner | 2016-09-12 | 1 | -3/+1 |
| | | | | | | | | | | Revert change "Issue #27213: Reintroduce checks in _PyStack_AsDict()", pushed by mistake. | ||||
* | | ssue #27213: Reintroduce checks in _PyStack_AsDict() | Victor Stinner | 2016-09-12 | 1 | -1/+3 |
| | | |||||
* | | Issue #27213: Fixed different issues with reworked CALL_FUNCTION* opcodes. | Serhiy Storchaka | 2016-09-11 | 1 | -3/+1 |
| | | | | | | | | | | | | | | | | | | | | | | * BUILD_TUPLE_UNPACK and BUILD_MAP_UNPACK_WITH_CALL no longer generated with single tuple or dict. * Restored more informative error messages for incorrect var-positional and var-keyword arguments. * Removed code duplications in _PyEval_EvalCodeWithName(). * Removed redundant runtime checks and parameters in _PyStack_AsDict(). * Added a workaround and enabled previously disabled test in test_traceback. * Removed dead code from the dis module. | ||||
* | | Issue #27129: Replaced wordcode related magic constants with macros. | Serhiy Storchaka | 2016-09-11 | 1 | -0/+10 |
| | | |||||
* | | Issue #26900: Excluded underscored names and other private API from limited API. | Serhiy Storchaka | 2016-09-11 | 19 | -13/+71 |
| | | |||||
* | | add the usual extern C silliness to pydtrace.h | Benjamin Peterson | 2016-09-11 | 1 | -0/+6 |
| | | |||||
* | | Don't run garbage collection on interpreter exit if it was explicitly disabled | Łukasz Langa | 2016-09-10 | 1 | -1/+2 |
| | | | | | | | | by the user. | ||||
* | | Emit METH_FASTCALL code in Argument Clinic | Victor Stinner | 2016-09-10 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | | | | Issue #27810: * Modify vgetargskeywordsfast() to work on a C array of PyObject* rather than working on a tuple directly. * Add _PyArg_ParseStack() * Argument Clinic now emits code using the new METH_FASTCALL calling convention | ||||
* | | Add METH_FASTCALL calling convention | Victor Stinner | 2016-09-10 | 2 | -0/+20 |
| | | | | | | | | | | | | | | | | | | | | | | Issue #27810: Add a new calling convention for C functions: PyObject* func(PyObject *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames); Where args is a C array of positional arguments followed by values of keyword arguments. nargs is the number of positional arguments, kwnames are keys of keyword arguments. kwnames can be NULL. | ||||
* | | dummy dtrace probes are a good place to use inline functions | Benjamin Peterson | 2016-09-10 | 1 | -19/+19 |
| | | |||||
* | | fix dummy macro | Benjamin Peterson | 2016-09-10 | 1 | -1/+1 |
| | | |||||
* | | DTrace support: function calls, GC activity, line execution | Łukasz Langa | 2016-09-10 | 2 | -0/+66 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tested on macOS 10.11 dtrace, Ubuntu 16.04 SystemTap, and libbcc. Largely based by an initial patch by Jesús Cea Avión, with some influence from Dave Malcolm's SystemTap patch and Nikhil Benesch's unification patch. Things deliberately left out for simplicity: - ustack helpers, I have no way of testing them at this point since they are Solaris-specific - PyFrameObject * in function__entry/function__return, this is SystemTap-specific - SPARC support - dynamic tracing - sys module dtrace facility introspection All of those might be added later. | ||||
* | | remove ceval timestamp support | Benjamin Peterson | 2016-09-09 | 1 | -3/+0 |
| | | |||||
* | | Issue #26331: Implement the parsing part of PEP 515. | Brett Cannon | 2016-09-09 | 1 | -0/+4 |
| | | | | | | | | Thanks to Georg Brandl for the patch. | ||||
* | | Issue #27810: Add _PyCFunction_FastCallKeywords() | Victor Stinner | 2016-09-09 | 2 | -1/+13 |
| | | | | | | | | | | Use _PyCFunction_FastCallKeywords() in ceval.c: it allows to remove a lot of code from ceval.c which was only used to call C functions. |