summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
Commit message (Collapse)AuthorAgeFilesLines
* 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
|\ \ | |/
| * Issue #26516: Enhance Python mem allocators docVictor Stinner2016-03-091-43/+77
| | | | | | | | | | | | | | * add link to PYTHONMALLOCSTATS env var * add parameters to PyMem macros like PyMem_MALLOC() * fix PyMem_SetupDebugHooks(): add Calloc functions * add some newlines for readability
* | Issue #22836: Merge exception reporting from 3.5Martin Panter2016-02-281-2/+2
|\ \ | |/
| * Issue #22836: Keep exception reports sensible despite errorsMartin Panter2016-02-281-2/+2
| |
* | Issue #25985: sys.version_info is now used instead of sys.versionSerhiy Storchaka2016-02-111-3/+4
| | | | | | | | to format short Python version.
* | Issue #26304: Merge doc wording from 3.5Martin Panter2016-02-102-2/+2
|\ \ | |/
| * Issue #26304: Change "allows to <verb>" to "allows <verb>ing" or similarMartin Panter2016-02-102-2/+2
| | | | | | | | | | The original form is incorrect grammar and feels awkward, even though the meaning is clear.
| * Issue #26198: Fixed error messages for some argument parsing errors.Serhiy Storchaka2016-02-071-1/+2
| | | | | | | | | | Fixed the documented about buffer overflow error for "es#" and "et#" format units.
* | Add a link to PEP 384 in stable.rstBerker Peksag2016-01-281-1/+1
|\ \ | |/
| * Add a link to PEP 384 in stable.rstBerker Peksag2016-01-281-1/+1
| |
* | merge from 3.5Senthil Kumaran2016-01-211-7/+7
|\ \ | |/ | | | | | | | | | | issue25909 - Correct the documentation of PyMapping_Items, PyMapping_Keys and PyMapping_Values in Include/abstract.h and Doc/c-api/mapping.rst. Patch contributed by Sonali Gupta.
| * issue25909 - Correct the documentation of PyMapping_Items, PyMapping_Keys andSenthil Kumaran2016-01-211-7/+7
| | | | | | | | | | | | PyMapping_Values in Include/abstract.h and Doc/c-api/mapping.rst. Patch contributed by Sonali Gupta.
* | Merge for issue #12484Brett Cannon2015-12-271-5/+0
|\ \ | |/
| * Issue #12484: Remove a mention of Py_InitModule() and ↵Brett Cannon2015-12-271-5/+0
| | | | | | | | | | | | | | _PyImport_FixupExtension(). Thanks to Alejandro Santos for the bug report and Anish Shah for the patch.
* | Issue #25701: Merge set and delete documentation from 3.5Martin Panter2015-12-083-19/+40
|\ \ | |/
| * Issue #25701: Document C API functions that both set and delete objectsMartin Panter2015-12-083-19/+40
| | | | | | | | | | | | Also document that the separate functions that delete objects are preferred; using PyObject_SetAttr(), _SetAttrString(), and PySequence_SetItem() to delete is deprecated.
* | Issue #5319: New Py_FinalizeEx() API to exit with status 120 on failureMartin Panter2015-11-303-19/+32
|/
* Issue #25706: Fixed markup in the documentation.Serhiy Storchaka2015-11-231-1/+1
|\
| * Issue #25706: Fixed markup in the documentation.Serhiy Storchaka2015-11-231-1/+1
| |
* | Issue #25523: Merge "a" to "an" fixes from 3.4 into 3.5Martin Panter2015-11-021-1/+1
|\ \ | |/
| * Issue #25523: Correct "a" article to "an" articleMartin Panter2015-11-021-1/+1
| | | | | | | | | | | | This changes the main documentation, doc strings, source code comments, and a couple error messages in the test suite. In some cases the word was removed or edited some other way to fix the grammar.
* | Issue #25161: Merge full stops from 3.4 into 3.5Martin Panter2015-10-103-3/+3
|\ \ | |/
| * Issue #25161: Add full stops in documentation; patch by Takase ArihiroMartin Panter2015-10-103-3/+3
| |
* | Issue #24808: Merge 3.4 into 3.5; adjust new tp_as_async fieldMartin Panter2015-08-251-5/+5
|\ \ | |/
| * Issue #24808: Update the documentation of some PyTypeObject fieldsMartin Panter2015-08-251-5/+5
| | | | | | | | Patch by Joseph Weston.
* | merge 3.4 (#24883)Benjamin Peterson2015-08-181-4/+4
|\ \ | |/
| * 'Py_Buffer' should be 'Py_buffer' (closes #24883)Benjamin Peterson2015-08-181-4/+4
| |