summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
Commit message (Collapse)AuthorAgeFilesLines
* [2.7] Correct a couple of unbalanced parenthesis. (GH-10779). (GH-10963)Andre Delfino2018-12-061-1/+1
| | | | (cherry picked from commit 55f41e45b4318cbe19209f5144641344d0049fb8)
* bpo-33892: Doc: Use gender neutral words (GH-7770)Andrés Delfino2018-06-181-1/+1
| | | | | (cherry picked from commit 5092439c2cb32112a5869b138011d38491db90a9) Co-authored-by: Andrés Delfino <adelfino@gmail.com>
* bpo-33583: Add note in PyObject_GC_Resize() doc (GH-7021)Miss Islington (bot)2018-05-211-1/+1
| | | | | (cherry picked from commit 1179f4b40f375af5c59cd4b6be9cc313fa0e1a37) Co-authored-by: INADA Naoki <methane@users.noreply.github.com>
* [2.7] Fix C API docs: PyCapsule_Import always set an exception on failure. ↵Miss Islington (bot)2018-05-181-2/+9
| | | | | | (GH-6967) (GH-6970) (cherry picked from commit bde3e0bf096219234321ca9898fc3d3aed598453)
* bpo-32500: Correct the documentation for PySequence_Size() and ↵Miss Islington (bot)2018-02-251-3/+2
| | | | | | | | PySequence_Length() (GH-5767) Dropped the part that says: "For objects that do not provide sequence protocol". (cherry picked from commit 7a1e1786f98ad49caa157dcdf14ada9d0b07d0fd) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
* Fix PyTrace_RETURN documentation (GH-5384) (GH-5387)Miss Islington (bot)2018-01-281-1/+1
| | | | It will be triggered when propagating an exception. (cherry picked from commit 79db11ce99332d62917be9d03b31494b1ff2f96a)
* bpo-32687: Fix wrong meaning of args for PyTrace_LINE/CALL in documentation ↵Miss Islington (bot)2018-01-281-2/+2
| | | | | (GH-5361) (GH-5378) (cherry picked from commit 9ed0aee27c249dada410a22fff4325a4a61df36d)
* bpo-17799: Explain real behaviour of sys.settrace and sys.setprofile ↵Xiang Zhang2018-01-241-3/+7
| | | | | (GH-4056). (#5299) (cherry picked from commit 131fd7f96c619bc7eaea956e45c6337175f4b27f)
* bpo-20064: Document PyObject_Malloc() (#4204)Victor Stinner2017-10-311-0/+82
| | | | | | | | | Document the following functions: * PyObject_Malloc() * PyObject_Realloc() * PyObject_Free() Document also the pymalloc allocator.
* [2.7] bpo-31692: Add PYTHONSHOWALLOCCOUNT env var (GH-3927)Victor Stinner2017-10-171-1/+1
| | | | | | | | | | | | | | | | bpo-31692, bpo-19527: * Add a new PYTHONSHOWALLOCCOUNT environment variable, similar to the Python 3 "-X showalloccount" option * When Python is compiled with COUNT_ALLOCS, the new PYTHONSHOWALLOCCOUNT environment variable now has to be set to dump allocation counts into stderr on shutdown. Moreover, allocations statistics are now dumped into stderr rather than stdout. * Add @test.support.requires_type_collecting decorator: skip test if COUNT_ALLOCS is defined * Fix tests for COUNT_ALLOCS: decorate some methods with @requires_type_collecting * test_sys.test_objecttypes(): update object type when COUNT_ALLOCS is defined
* [2.7] bpo-31754: Fix type of 'itemsize' in PyBuffer_FillContiguousStrides ↵vyas452017-10-161-1/+1
| | | | (GH-3993)
* bpo-29916: Include PyGetSetDef in C API extension documentation. (#831) (#3609)Michael Seifert2017-09-162-15/+40
| | | (cherry picked from commit da67e0d644bd3185efdaa4d15cc2ac0828ca83f9)
* [2.7] Fix typos in multiple `.rst` files (GH-1668) (#1707)delirious-lettuce2017-05-221-4/+4
|
* bpo-19225: Remove duplicated description for standard warning categories ↵cocoatomo2017-04-201-12/+9
| | | | (GH-1068)
* [2.7] bpo-30059: Include Py_Ellipsis in C API documentation (GH-1018) (GH-1147)Michael Seifert2017-04-151-0/+11
|
* [2.7] bpo-19225: Lack of c api exceptions doc (#964)cocoatomo2017-04-081-66/+150
| | | | | | * Keep the c-api exception doc up-to-date cherry-pick'ed from ec1f5df..e3d6db3 and fix conflict
* Fix references within buffer protocol docs (#1016)Eric Wieser2017-04-061-4/+4
|
* bpo-29917: DOC: Remove link from PyMethodDef (#890) (#896)Senthil Kumaran2017-03-301-2/+2
| | | (cherry picked from commit c3c7ef088583cc12bd218138036d1edb6de9c63f)
* Issue #28771: Correct documentation of signatures using constMartin Panter2016-12-011-6/+8
|
* Issue #25701: Document that some C APIs can both set and delete itemsMartin Panter2016-11-303-20/+45
| | | | | | Also document that using the dedicated functions to delete items is preferred. Using PyObject_SetAttr/String() and PySequence_SetItem/Slice() for deletion is deprecated.
* Issue #28496: Mark up constants 0, 1 and -1 that denote return values orSerhiy Storchaka2016-10-2713-52/+52
| | | | special input values as literal text.
* Issue #19795: Improved more markups of True/False.Serhiy Storchaka2016-10-191-2/+2
|
* Issue #19795: Mark up None as literal text.Serhiy Storchaka2016-10-192-6/+6
|
* Issue #18287: PyType_Ready() now checks that tp_name is not NULL.Serhiy Storchaka2016-10-071-1/+2
| | | | Original patch by Niklas Koep.
* Issue #24314: Add links for general attributes like __name__, __dict__Martin Panter2016-06-183-5/+5
|
* Issue #15657: Delete incorrect statement from PyMethodDef documentationBerker Peksag2016-06-121-3/+2
|
* [Issue 15476] Make "code object" its own entry in the indexTommy Beadle2016-06-021-4/+2
|
* note that Py_VISIT handles NULL (closes #27183)Benjamin Peterson2016-06-021-3/+4
|
* Issue #27125: Fix various errors like “will [be] inherited”Martin Panter2016-05-291-1/+1
|
* Corrections for a/an in code comments and documentationMartin Panter2016-05-081-1/+1
|
* Issue #26736: Used HTTPS for external links in the documentation if possible.Serhiy Storchaka2016-05-071-1/+1
|
* Issue #26778: Fixed "a/an/and" typos in code comment and documentation.Serhiy Storchaka2016-04-173-5/+5
|
* Correct “an” → “a” with “Unicode”, “user”, “UTF”, etcMartin Panter2016-04-151-3/+3
| | | | This affects documentation and code comments.
* Issue #22836: Keep exception reports sensible despite errorsMartin Panter2016-02-281-2/+2
|
* 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.
* 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.
* Per issue21949 and issue1629: Document the Py_SIZE, Py_TYPE, Py_REFCNT macros.Gregory P. Smith2016-01-221-0/+31
| | | | | This was already done in the 3.5 branch; this just does the same in the 2.7 branch.
* Issue26142 - Fix a formatting bug in c-api intro doc.Senthil Kumaran2016-01-181-1/+1
|
* Issue #25161: Add full stops in documentation; patch by Takase ArihiroMartin Panter2015-10-103-3/+3
|
* Added the const qualifier for char* argument of Py_EnterRecursiveCall().Serhiy Storchaka2015-06-211-1/+1
|
* Issue #24161: Document that PyIter_Check() returns false positives for ↵Raymond Hettinger2015-05-111-0/+4
| | | | old-style instances.
* Fix PyGILState_GetThisThreadState() prototype in the API documentation.Charles-François Natali2015-04-151-1/+1
|
* Preserve critical whitespace in Doc/*.Stefan Krah2015-02-011-1/+1
|
* Issue #23352: Document that Py_buffer.suboffsets must be NULL if no suboffsetsStefan Krah2015-02-011-1/+4
| | | | are required.
* Closes #23181: codepoint -> code pointGeorg Brandl2015-01-141-2/+2
|
* fix instances of consecutive articles (closes #23221)Benjamin Peterson2015-01-133-3/+3
| | | | Patch by Karan Goel.
* Closes #22580: Fix documentation of PyUnicode_Tailmatch()Victor Stinner2014-10-091-1/+1
| | | | The result type is Py_ssize_t (and not int).
* Closes #10031: overhaul the "imports" section of the programming FAQ.Georg Brandl2014-10-061-1/+1
| | | | | | Remove the advice to never use relative imports. Remove the advice to locally import modules in __init__, it is a strange practice. Remove the advice to use "from ... import *" with some modules.
* Closes #22507: document that PyType_IsSubtype does not call __subclasscheck__.Georg Brandl2014-10-061-0/+5
|
* Remove duplicate PyLong function descriptions.Georg Brandl2014-09-301-28/+0
|