summaryrefslogtreecommitdiffstats
path: root/Include
Commit message (Collapse)AuthorAgeFilesLines
* Start 3.6.0rc1. (Note, patch level was incorrectly set to 3.6.0b4+ following ↵Ned Deily2016-11-221-1/+1
| | | | b3. It is now b4+ again.)
* Version bump for 3.6.0b4v3.6.0b4Ned Deily2016-11-221-1/+1
|
* Issue 28751: Fix comments in code.h. (Contributed by Ned Batchelder).Raymond Hettinger2016-11-211-4/+3
|
* Issue #28701: _PyUnicode_EqualToASCIIId and _PyUnicode_EqualToASCIIString nowSerhiy Storchaka2016-11-161-2/+2
| | | | require ASCII right argument and assert this condition in debug build.
* Issue #21449: Removed private function _PyUnicode_CompareWithId.Serhiy Storchaka2016-11-161-9/+0
|
* Issue #28701: Replace _PyUnicode_CompareWithId with _PyUnicode_EqualToASCIIId.Serhiy Storchaka2016-11-161-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 Storchaka2016-11-161-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 Storchaka2016-11-161-0/+11
|\ \ | |/ | | | | | | | | _PyUnicode_EqualToASCIIString. The latter function is more readable, faster and doesn't raise exceptions.
| * Issue #28701: Replace PyUnicode_CompareWithASCIIString with ↵Serhiy Storchaka2016-11-161-0/+11
| | | | | | | | | | | | _PyUnicode_EqualToASCIIString. The latter function is more readable, faster and doesn't raise exceptions.
* | Issue #23996: Added _PyGen_SetStopIterationValue for safe raisingSerhiy Storchaka2016-11-061-0/+1
|\ \ | |/ | | | | | | StopIteration with value. More safely handle non-normalized exceptions in -_PyGen_FetchStopIterationValue.
| * Issue #23996: Added _PyGen_SetStopIterationValue for safe raisingSerhiy Storchaka2016-11-061-0/+1
| | | | | | | | | | StopIteration with value. More safely handle non-normalized exceptions in -_PyGen_FetchStopIterationValue.
* | Start 3.6.0b4Ned Deily2016-11-011-2/+2
| |
* | Version bump for 3.6.0b3v3.6.0b3Ned Deily2016-11-011-2/+2
| |
* | Issue 28128: Print out better error/warning messages for invalid string ↵Eric V. Smith2016-10-312-0/+16
| | | | | | | | escapes. Backport to 3.6.
* | Issue #28544: Pass `PyObject*` to _PyDict_Pop, not `PyDictObject*`Yury Selivanov2016-10-281-1/+1
| |
* | Issue #28544: Fix compilation of _asynciomodule.c on WindowsYury Selivanov2016-10-282-2/+2
| |
* | Issue #28426: Deprecated undocumented functions PyUnicode_AsEncodedObject(),Serhiy Storchaka2016-10-271-8/+25
| | | | | | | | | | PyUnicode_AsDecodedObject(), PyUnicode_AsDecodedUnicode() and PyUnicode_AsEncodedUnicode().
* | Issue #28410: Added _PyErr_FormatFromCause() -- the helper for raisingSerhiy Storchaka2016-10-211-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 stubsBenjamin Peterson2016-10-211-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 Peterson2016-10-111-0/+1
| |
* | Start 3.6.0b3Ned Deily2016-10-111-1/+1
| |
* | Version bump for 3.6.0b2v3.6.0b2Ned Deily2016-10-101-2/+2
| |
* | Issue #28295: Fixed the documentation and added tests for PyUnicode_AsUCS4().Serhiy Storchaka2016-10-021-1/+1
|\ \ | |/ | | | | Original patch by Xiang Zhang.
| * Issue #28295: Fixed the documentation and added tests for PyUnicode_AsUCS4().Serhiy Storchaka2016-10-021-1/+1
| | | | | | | | Original patch by Xiang Zhang.
* | Issue #27358: Optimized merging var-keyword arguments and improved errorSerhiy Storchaka2016-10-021-0/+6
| | | | | | | | message when pass a non-mapping as a var-keyword argument.
* | Issue #28257: Improved error message when pass a non-iterable asSerhiy Storchaka2016-10-021-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 Belopolsky2016-09-281-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 Storchaka2016-09-261-7/+7
|\ \ | |/ | | | | PyMapping_Keys and PyMapping_Values. Based on patch by Xiang Zhang.
| * Issues #25909, #28211: Restored correct documentation of PyMapping_Items,Serhiy Storchaka2016-09-261-7/+7
| | | | | | | | PyMapping_Keys and PyMapping_Values. Based on patch by Xiang Zhang.
* | replace usage of Py_VA_COPY with the (C99) standard va_copyBenjamin Peterson2016-09-211-9/+1
| |
* | merge 3.5 (#28184)Benjamin Peterson2016-09-202-19/+19
|\ \ | |/
| * remove trailing whitespaceBenjamin Peterson2016-09-202-19/+19
| |
* | stop using Py_LL and Py_ULLBenjamin Peterson2016-09-192-6/+2
| |
* | always define HAVE_LONG_LONG (#27961)Benjamin Peterson2016-09-191-0/+3
| |
* | properly free memory in pgenBenjamin Peterson2016-09-191-0/+1
| |
* | Issue #28139: Merge indentation fixes from 3.5 into 3.6Martin Panter2016-09-171-1/+1
|\ \ | |/
| * Issue #28139: Fix messed up indentationMartin Panter2016-09-171-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 Panter2016-09-072-2/+2
| |
* | Add _PyDict_CheckConsistency()Victor Stinner2016-09-141-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 Heimes2016-09-132-32/+15
| | | | | | | | optimize memcpy().
* | Start 3.6.0b2Ned Deily2016-09-121-1/+1
| |
* | Version bump for 3.6.0b1v3.6.0b1Ned Deily2016-09-121-3/+3
| |
* | Issue #27810: Exclude METH_FASTCALL from the stable APIVictor Stinner2016-09-121-1/+1
| |
* | Document kwnames in _PyObject_FastCallKeywords() and _PyStack_AsDict()Victor Stinner2016-09-121-30/+40
| | | | | | | | Issue #27213.
* | Revert change f860b7a775c5Victor Stinner2016-09-121-3/+1
| | | | | | | | | | Revert change "Issue #27213: Reintroduce checks in _PyStack_AsDict()", pushed by mistake.
* | ssue #27213: Reintroduce checks in _PyStack_AsDict()Victor Stinner2016-09-121-1/+3
| |
* | Issue #27213: Fixed different issues with reworked CALL_FUNCTION* opcodes.Serhiy Storchaka2016-09-111-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 Storchaka2016-09-111-0/+10
| |
* | Issue #26900: Excluded underscored names and other private API from limited API.Serhiy Storchaka2016-09-1119-13/+71
| |
* | add the usual extern C silliness to pydtrace.hBenjamin Peterson2016-09-111-0/+6
| |