summaryrefslogtreecommitdiffstats
path: root/Include
Commit message (Collapse)AuthorAgeFilesLines
* Start 3.6.0a3Ned Deily2016-06-141-1/+1
|
* Version bump for 3.6.0a2v3.6.0a2Ned Deily2016-06-131-2/+2
|
* Issue #27095: Simplified MAKE_FUNCTION and removed MAKE_CLOSURE opcodes.Serhiy Storchaka2016-06-121-1/+0
| | | | Patch by Demur Rumed.
* Issue #27140: Added BUILD_CONST_KEY_MAP opcode.Serhiy Storchaka2016-06-111-0/+1
|
* Merge 3.5 (issue #27243)Yury Selivanov2016-06-091-0/+3
|\
| * Issue #27243: Fix __aiter__ protocolYury Selivanov2016-06-091-0/+3
| |
* | issue27186: add C version of os.fspath(); patch by Jelle ZijlstraEthan Furman2016-06-042-0/+16
| |
* | merge 3.5Benjamin Peterson2016-06-041-7/+7
|\ \ | |/
| * fix indentation of commentBenjamin Peterson2016-06-041-7/+7
| |
* | Issue #27171: Merge typo fixes from 3.5Martin Panter2016-06-021-1/+1
|\ \ | |/
| * Issue #27171: Fix typos in documentation, comments, and test function namesMartin Panter2016-06-021-1/+1
| |
* | Issue #26857: The gethostbyaddr_r() workaround is no longer needed withStefan Krah2016-05-221-0/+4
| | | | | | | | api-level >= 23. Patch by Xavier de Gaye.
* | Post-release cleanup: 3.6.0a1 -> 3.6.0a2Ned Deily2016-05-171-1/+1
| |
* | Version bump for 3.6.0a1v3.6.0a1Ned Deily2016-05-161-2/+2
| |
* | Merge typo fixes from 3.5Martin Panter2016-05-081-1/+1
|\ \ | |/
| * Corrections for a/an in code comments and documentationMartin Panter2016-05-081-1/+1
| |
* | Issue #26765: Moved common code and docstrings for bytes and bytearray methodsSerhiy Storchaka2016-05-041-0/+21
| | | | | | | | to bytes_methods.c.
* | Fixed declarations of _Py_DumpTraceback() and _Py_DumpTracebackThreads().Serhiy Storchaka2016-05-011-2/+2
|\ \ | |/
| * Fixed declarations of _Py_DumpTraceback() and _Py_DumpTracebackThreads().Serhiy Storchaka2016-05-011-2/+2
| |
* | Issue #26778: Fixed "a/an/and" typos in code comment, documentation and errorSerhiy Storchaka2016-04-172-2/+2
|\ \ | |/ | | | | messages.
| * Issue #26778: Fixed "a/an/and" typos in code comment and documentation.Serhiy Storchaka2016-04-172-2/+2
| |
* | Issue #15984: Merge PyUnicode doc from 3.5Martin Panter2016-04-152-19/+11
|\ \ | |/
| * Issue #15984: Correct PyUnicode_FromObject() and _FromEncodedObject() docsMartin Panter2016-04-151-16/+8
| |
| * Correct “an” → “a” with “Unicode”, “user”, “UTF”, etcMartin Panter2016-04-152-5/+5
| | | | | | | | This affects documentation, code comments, and a debugging messages.
* | Issue #26200: Added Py_SETREF and replaced Py_XSETREF with Py_SETREFSerhiy Storchaka2016-04-101-2/+12
|\ \ | |/ | | | | in places where Py_DECREF was used.
| * Issue #26200: Added Py_SETREF and replaced Py_XSETREF with Py_SETREFSerhiy Storchaka2016-04-101-2/+12
| | | | | | | | in places where Py_DECREF was used.
* | Issue #22570: Renamed Py_SETREF to Py_XSETREF.Serhiy Storchaka2016-04-061-2/+2
|\ \ | |/
| * Issue #22570: Renamed Py_SETREF to Py_XSETREF.Serhiy Storchaka2016-04-061-2/+2
| |
* | Merge typo fixes from 3.5Martin Panter2016-04-051-1/+1
|\ \ | |/
| * Fix typos in documentation and commentsMartin Panter2016-04-051-1/+1
| |
| * Use Py_uintptr_t for atomic pointersVictor Stinner2016-01-221-3/+3
| | | | | | | | | | | | | | | | Issue #26161: Use Py_uintptr_t instead of void* for atomic pointers in pyatomic.h. Use atomic_uintptr_t when <stdatomic.h> is used. Using void* causes compilation warnings depending on which implementation of atomic types is used.
* | Revert back to 3.6.0, buildbots do not want chocolate for 04-01Ned Deily2016-03-311-3/+3
| |
* | Python 8: no pep8, no chocolate!Victor Stinner2016-03-311-3/+3
| |
* | Merge 3.5 (pystate.h)Victor Stinner2016-03-251-2/+0
|\ \ | |/
| * pystate.h: fix _PyThreadState_UncheckedGet()Victor Stinner2016-03-241-2/+0
| | | | | | | | Declare the function even if thread support is disabled.
* | Issue #23848: Expose _Py_DumpHexadecimal()Victor Stinner2016-03-231-1/+14
| | | | | | | | This function will be reused by faulthandler.
* | Issue #26588:Victor Stinner2016-03-231-1/+1
| | | | | | | | | | | | | | * Optimize tracemalloc_add_trace(): modify hashtable entry data (trace) if the memory block is already tracked, rather than trying to remove the old trace and then add a new trace. * Add _Py_HASHTABLE_ENTRY_WRITE_DATA() macro
* | Issue #26588: remove debug traces from _tracemalloc.Victor Stinner2016-03-221-2/+0
| |
* | Issue #26588: fix compilation on WindowsVictor Stinner2016-03-221-0/+2
| |
* | Add C functions _PyTraceMalloc_Track()Victor Stinner2016-03-221-0/+34
| | | | | | | | | | | | | | | | Issue #26530: * Add C functions _PyTraceMalloc_Track() and _PyTraceMalloc_Untrack() to track memory blocks using the tracemalloc module. * Add _PyTraceMalloc_GetTraceback() to get the traceback of an object.
* | fix indentation in Py_DECREF()Victor Stinner2016-03-191-1/+1
| |
* | On ResourceWarning, log traceback where the object was allocatedVictor Stinner2016-03-191-0/+7
| | | | | | | | | | | | | | | | | | | | Issue #26567: * Add a new function PyErr_ResourceWarning() function to pass the destroyed object * Add a source attribute to warnings.WarningMessage * Add warnings._showwarnmsg() which uses tracemalloc to get the traceback where source object was allocated.
* | faulthandler now works in non-Python threadsVictor Stinner2016-03-162-8/+29
| | | | | | | | | | | | | | | | | | | | | | Issue #26563: * Add _PyGILState_GetInterpreterStateUnsafe() function: the single PyInterpreterState used by this process' GILState implementation. * Enhance _Py_DumpTracebackThreads() to retrieve the interpreter state from autoInterpreterState in last resort. The function now accepts NULL for interp and current_tstate parameters. * test_faulthandler: fix a ResourceWarning when test is interrupted by CTRL+c
* | Enhance and rewrite traceback dump C functionsVictor Stinner2016-03-151-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | Issue #26564: * Expose _Py_DumpASCII() and _Py_DumpDecimal() in traceback.h * Change the type of the second _Py_DumpASCII() parameter from int to unsigned long * Rewrite _Py_DumpDecimal() and dump_hexadecimal() to write directly characters in the expected order, avoid the need of reversing the string. * dump_hexadecimal() limits width to the size of the buffer * _Py_DumpASCII() does nothing if the object is not a Unicode string * dump_frame() wrtites "???" as the line number if the line number is negative
* | Add more checks on the GILVictor Stinner2016-03-141-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | Issue #10915, #15751, #26558: * PyGILState_Check() now returns 1 (success) before the creation of the GIL and after the destruction of the GIL. It allows to use the function early in Python initialization and late in Python finalization. * Add a flag to disable PyGILState_Check(). Disable PyGILState_Check() when Py_NewInterpreter() is called * Add assert(PyGILState_Check()) to: _Py_dup(), _Py_fstat(), _Py_read() and _Py_write()
* | Add PYTHONMALLOC env varVictor Stinner2016-03-141-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | Issue #26516: * Add PYTHONMALLOC environment variable to set the Python memory allocators and/or install debug hooks. * PyMem_SetupDebugHooks() can now also be used on Python compiled in release mode. * The PYTHONMALLOCSTATS environment variable can now also be used on Python compiled in release mode. It now has no effect if set to an empty string. * In debug mode, debug hooks are now also installed on Python memory allocators when Python is configured without pymalloc.
* | Merge 3.5 (issue #25888)Yury Selivanov2016-03-021-0/+1
|\ \ | |/
| * coroutines: Error when awaiting on coroutine that's being awaitedYury Selivanov2016-03-021-0/+1
| | | | | | | | Issue #25888
* | Issue #26304: Merge doc wording from 3.5Martin Panter2016-02-101-1/+1
|\ \ | |/
| * Issue #26304: Change "allows to <verb>" to "allows <verb>ing" or similarMartin Panter2016-02-101-1/+1
| | | | | | | | | | The original form is incorrect grammar and feels awkward, even though the meaning is clear.