summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
Commit message (Collapse)AuthorAgeFilesLines
* Merge #27782 fix from 3.5Nick Coghlan2016-08-211-1/+1
|\
| * Issue #27782: Fix m_methods handling in multiphase initNick Coghlan2016-08-211-1/+1
| | | | | | | | | | | | | | | | Multi-phase extension module import now correctly allows the ``m_methods`` field to be used to add module level functions to instances of non-module types returned from ``Py_create_mod``. Patch by Xiang Zhang.
* | Issue #12946: Merge from 3.5Berker Peksag2016-08-191-4/+7
|\ \ | |/
| * Issue #12946: Document that PyModule_GetDict can fail in some casesBerker Peksag2016-08-191-4/+7
| |
* | Issue #24637: Merge from 3.5Berker Peksag2016-08-131-8/+9
|\ \ | |/
| * Issue #24637: Document that locals can be any mapping objectBerker Peksag2016-08-131-8/+9
| | | | | | | | | | | | | | This behavior is already tested in test_general_eval in Lib/test/test_builtin.py Patch by Matthew Keeter.
* | Issue #24278: Merge argument parsing docs from 3.5Martin Panter2016-08-041-14/+19
|\ \ | |/
| * Issue #24278: Explain how argument parsing output buffers are managedMartin Panter2016-08-031-14/+19
| |
* | Issue #27481: Docummented that ValueError is now raised instead of TypeErrorSerhiy Storchaka2016-07-122-6/+22
|\ \ | |/ | | | | in case of embedded null characters/bytes. Patch by Xiang Zhang.
| * Issue #27481: Docummented that ValueError is now raised instead of TypeErrorSerhiy Storchaka2016-07-122-6/+22
| | | | | | | | in case of embedded null characters/bytes. Patch by Xiang Zhang.
* | Issue #26896: Disambiguate uses of "importer" with "finder".Brett Cannon2016-07-081-4/+4
| | | | | | | | Thanks to Oren Milman for the patch.
* | Merge from 3.5Berker Peksag2016-07-051-0/+1
|\ \ | |/
| * Add versionadded to PyDict_SetDefault documentationBerker Peksag2016-07-051-0/+1
| | | | | | | | It was added for Python 3.4 in a0b750ea3397.
* | Issue #27186: Update os.fspath()/PyOS_FSPath() to check the returnBrett Cannon2016-06-241-2/+3
| | | | | | | | | | | | | | type of __fspath__(). As part of this change, also make sure that the pure Python implementation of os.fspath() is tested.
* | Issue #24314: Merge doc links from 3.5Martin Panter2016-06-182-4/+4
|\ \ | |/
| * Issue #24314: Fix doc links for general attributes like __name__, __dict__Martin Panter2016-06-182-4/+4
| |
| * Issue #15657: Delete incorrect statement from PyMethodDef documentationBerker Peksag2016-06-121-3/+2
| |
* | Issue #26282: PyArg_ParseTupleAndKeywords() and Argument Clinic now supportSerhiy Storchaka2016-06-091-2/+9
| | | | | | | | positional-only and keyword parameters in the same function.
* | MergeBrett Cannon2016-06-091-4/+2
|\ \
| * \ Issue #15476: Merge index entries from 3.5Martin Panter2016-06-091-4/+2
| |\ \ | | |/
| | * [Issue 15476] Make "code object" its own entry in the indexTommy Beadle2016-06-021-4/+2
| | |
* | | Issue #27186: Document PyOS_FSPath().Brett Cannon2016-06-091-0/+10
|/ /
* | merge 3.5Benjamin Peterson2016-06-021-3/+4
|\ \ | |/
| * note that Py_VISIT handles NULL (closes #27183)Benjamin Peterson2016-06-021-3/+4
| |
* | Issue #27125: Merge typo fixes from 3.5Martin Panter2016-05-301-1/+1
|\ \ | |/
| * Issue #27125: Remove duplicated words from documentation and commentsMartin Panter2016-05-301-1/+1
| |
* | Issue #25533: Merge frozen module docs from 3.5Martin Panter2016-05-151-1/+1
|\ \ | |/
| * Issue #25533: Update documentation regarding the frozen modules tableMartin Panter2016-05-151-1/+1
| | | | | | | | | | * "ctypes" documentation was using Python 2 bytes-str equivalence. * PyImport_FrozenModules is a pointer to const as of Python 3.4
* | merge 3.5 (#26986)Benjamin Peterson2016-05-101-2/+3
|\ \ | |/
| * improve PyFunction_New docs (closes #26986)Benjamin Peterson2016-05-101-2/+3
| | | | | | | | Patch from Xiang Zhang.
* | Issue #26736: Used HTTPS for external links in the documentation if possible.Serhiy Storchaka2016-05-071-1/+1
|\ \ | |/
| * Issue #26736: Used HTTPS for external links in the documentation if possible.Serhiy Storchaka2016-05-071-1/+1
| |
* | Issue #18353: Remove PyUnicode_WRITE_CHAR macro link from c-api/unicode.rstBerker Peksag2016-04-241-2/+1
|\ \ | |/ | | | | Patch by Corey Brune.
| * Issue #18353: Remove PyUnicode_WRITE_CHAR macro link from c-api/unicode.rstBerker Peksag2016-04-241-2/+1
| | | | | | | | Patch by Corey Brune.
* | PyMem_Malloc() now uses the fast pymalloc allocatorVictor Stinner2016-04-221-23/+37
| | | | | | | | | | | | | | Issue #26249: PyMem_Malloc() allocator family now uses the pymalloc allocator rather than system malloc(). Applications calling PyMem_Malloc() without holding the GIL can now crash: use PYTHONMALLOC=debug environment variable to validate the usage of memory allocators in your application.
* | Issue #26778: Fixed "a/an/and" typos in code comment, documentation and errorSerhiy Storchaka2016-04-172-5/+5
|\ \ | |/ | | | | messages.
| * Issue #26778: Fixed "a/an/and" typos in code comment and documentation.Serhiy Storchaka2016-04-172-5/+5
| |
* | Merge for issue #26760Brett Cannon2016-04-151-1/+7
|\ \ | |/
| * Issue #26760: Minimally document PyFrameObjectBrett Cannon2016-04-151-1/+7
| |
* | Issue #15984: Merge PyUnicode doc from 3.5Martin Panter2016-04-155-12/+14
|\ \ | |/
| * Issue #15984: Correct PyUnicode_FromObject() and _FromEncodedObject() docsMartin Panter2016-04-151-5/+7
| |
| * Correct “an” → “a” with “Unicode”, “user”, “UTF”, etcMartin Panter2016-04-155-8/+8
| | | | | | | | This affects documentation, code comments, and a debugging messages.
* | Fix typo in doc: avoid the french "& cie" :-)Victor Stinner2016-03-231-1/+1
| |
* | On ResourceWarning, log traceback where the object was allocatedVictor Stinner2016-03-191-0/+8
| | | | | | | | | | | | | | | | | | | | 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.
* | Doc: fix typos, patch written by Stefan BehnelVictor Stinner2016-03-181-1/+1
| |
* | Enhance documentation on malloc debug hooksVictor Stinner2016-03-181-3/+6
| | | | | | | | Issue #26564, #26516, #26563.
* | On memory error, dump the memory block tracebackVictor Stinner2016-03-151-0/+7
| | | | | | | | | | | | Issue #26564: _PyObject_DebugDumpAddress() now dumps the traceback where a memory block was allocated on memory block. Use the tracemalloc module to get the traceback.
* | Check the GIL in PyObject_Malloc()Victor Stinner2016-03-141-3/+6
| | | | | | | | | | Issue #26558: The debug hook of PyObject_Malloc() now checks that the GIL is held when the function is called.
* | Add PYTHONMALLOC env varVictor Stinner2016-03-141-12/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | 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 (malloc doc)Victor Stinner2016-03-091-43/+77
|\ \ | |/