summaryrefslogtreecommitdiff
path: root/Doc/extending
Commit message (Collapse)AuthorAgeFilesLines
* bpo-38391: Fixing a typo for Py_DECREF (GH-16616)Krishna Oza2019-10-071-1/+1
|
* bpo-26868: Fix example usage of PyModule_AddObject. (#15725)Brandt Bucher2019-09-122-7/+27
| | | | | | | | | | | | | | | | * Add a note to the PyModule_AddObject docs. * Correct example usages of PyModule_AddObject. * Whitespace. * Clean up wording. * 📜🤖 Added by blurb_it. * First code review. * Add < 0 in the tests with PyModule_AddObject
* bpo-37493: use _PyObject_CallNoArg in more places (GH-14575)Jeroen Demeyer2019-07-041-1/+1
|
* Doc: Replace the deprecated highlightlang directive by highlight. (#13377)Stéphane Wirtel2019-05-176-8/+8
| | | | highlightlang is deprecated since April 2018 in Sphinx. See https://github.com/sphinx-doc/sphinx/pull/4845
* Doc: add the missing ".tp_flags" in type definition (GH-12902)Wu Wei2019-04-221-0/+1
|
* Doc: define PY_SSIZE_T_CLEAN always (GH-12794)Inada Naoki2019-04-132-3/+9
|
* fix typo in doc (#12686)Caleb Marchent2019-04-101-2/+2
|
* bpo-33012: Fix invalid function cast warnings with gcc 8. (GH-6749)Serhiy Storchaka2018-11-271-1/+1
| | | | | | Fix invalid function cast warnings with gcc 8 for method conventions different from METH_NOARGS, METH_O and METH_VARARGS excluding Argument Clinic generated code.
* bpo-35110: Fix unintentional spaces around hyphens and dashes. (GH-10231)Serhiy Storchaka2018-10-311-2/+3
|
* bpo-17045: Improve C-API doc for PyTypeObject. (gh-7413)Eric Snow2018-06-141-0/+2
| | | The existing doc had a number of info gaps and was a little hard to use. This patch provides several quick-reference tables as well as examples.
* bpo-33012: Fix invalid function cast warnings with gcc 8 for METH_NOARGS. ↵Siddhesh Poyarekar2018-04-291-1/+1
| | | | | | | | | (GH-6030) METH_NOARGS functions need only a single argument but they are cast into a PyCFunction, which takes two arguments. This triggers an invalid function cast warning in gcc8 due to the argument mismatch. Fix this by adding a dummy unused argument.
* Improve highlighting of some code blocks. (GH-6401)Serhiy Storchaka2018-04-083-9/+15
|
* bpo-33201: Modernize "Extension types" doc (GH-6337)Antoine Pitrou2018-04-073-1025/+1016
| | | | | | | | | * bpo-33201: Modernize "Extension types" doc * Split tutorial and other topics * Some small fixes * Address some review comments * Rename noddy* to custom* and shoddy to sublist * Fix markup
* Make formatting of some return codes conforming to the general style. (#5587)Serhiy Storchaka2018-02-091-2/+2
|
* bpo-25910: Link redirections in docs (#1933)Sanyam Khurana2018-01-202-2/+3
| | | Fixes some redirection links in docs.
* Extending Python Doc minor updates (GH-4518)Emanuele Gaifas2017-11-242-4/+4
| | | | Move footnote markers to be closer to the related terminology: before the end of the sentence, instead of after.
* bpo-31443: Formulate the type slot initialization rules in terms of C99. (#3688)Stefan Krah2017-09-221-10/+3
|
* Fix the indentation in Extending Python code example (GH-3244)Sergey Fedoseev2017-08-301-6/+6
| | | | Code was indented with three spaces. Fixed using four spaces.
* bpo-31095: fix potential crash during GC (GH-2974)INADA Naoki2017-08-241-9/+20
|
* bpo-28315: Improve code examples in docs (GH-1372)UltimateCoder2017-05-031-1/+1
| | | | | | Replace File "<stdin>", line 1, in ? with File "<stdin>", line 1, in <module>
* bpo-29918: Add missed "const" modifiers in C API documentation. (#846)Serhiy Storchaka2017-03-302-6/+6
|
* Issue #28761: The fields name and doc of structures PyMemberDef, PyGetSetDef,Serhiy Storchaka2016-11-221-5/+5
| | | | | PyStructSequence_Field, PyStructSequence_Desc, and wrapperbase are now of type "const char *" rather of "char *".
* Fixed the documentation of the structure PyMethodDef.Serhiy Storchaka2016-11-211-2/+2
|\ | | | | | | The fields ml_name and ml_doc are of type "const char *" rather of "char *".
| * Fixed the documentation of the structure PyMethodDef.Serhiy Storchaka2016-11-211-2/+2
| | | | | | | | The fields ml_name and ml_doc are of type "const char *" rather of "char *".
* | Issue #26638: Merge option warning fixes from 3.5 into 3.6Martin Panter2016-10-301-1/+1
|\ \ | |/
| * Issue #26638: Mask undefined CLI options to defeat new Sphinx warningsMartin Panter2016-10-301-1/+1
| |
* | Issue #18287: PyType_Ready() now checks that tp_name is not NULL.Serhiy Storchaka2016-10-071-1/+3
|\ \ | |/ | | | | Original patch by Niklas Koep.
| * Issue #18287: PyType_Ready() now checks that tp_name is not NULL.Serhiy Storchaka2016-10-071-1/+3
| | | | | | | | Original patch by Niklas Koep.
* | Issue #23710: Merge from 3.5Berker Peksag2016-08-031-5/+9
|\ \ | |/
| * Issue #23710: Update PyObject_HEAD documentationBerker Peksag2016-08-031-5/+9
| | | | | | | | | | | | | | Since PEP 3123, PyObject_HEAD only has one field named ob_base. Users now need to use the Py_TYPE macro instead of self->ob_type. Initial patch by Ammar Askar.
* | Issue #26462: Merge code block fixes from 3.5Martin Panter2016-07-294-14/+25
|\ \ | |/
| * Issue #26462: Doc: reduce literal_block warnings, fix syntax highlighting.Martin Panter2016-07-264-14/+25
| | | | | | | | Patch by Julien Palard.
* | Issue #17264: Fix cross refs and a markup error in extending/building.rstBerker Peksag2016-04-091-5/+6
|\ \ | |/
| * Issue #17264: Fix cross refs and a markup error in extending/building.rstBerker Peksag2016-04-091-5/+6
| |
* | merge with 3.5Georg Brandl2016-02-262-2/+2
|\ \ | |/
| * Closes #25910: fix dead and permanently redirected links in the docs. Thanks ↵Georg Brandl2016-02-262-2/+2
| | | | | | | | to SilentGhost for the patch.
* | Merge with 3.5Terry Jan Reedy2016-01-091-1/+1
|\ \ | |/
| * Issue #26029: Finish correction.Terry Jan Reedy2016-01-091-1/+1
| |
* | Merge with 3.5Terry Jan Reedy2016-01-091-1/+1
|\ \ | |/
| * Issue #26029: Remove extraneous word. Patch by Upendra Kumar.Terry Jan Reedy2016-01-091-1/+1
| |
* | Issue #5319: New Py_FinalizeEx() API to exit with status 120 on failureMartin Panter2015-11-301-2/+4
|/
* Issue #25022: Merge with 3.4Zachary Ware2015-09-101-143/+3
|\
| * Issue #25022: Add NEWS, fix docs to not mention the old example.Zachary Ware2015-09-101-144/+3
| |
* | Issue #24808: Merge 3.4 into 3.5; adjust new tp_as_async fieldMartin Panter2015-08-251-3/+3
|\ \ | |/
| * Issue #24808: Update the documentation of some PyTypeObject fieldsMartin Panter2015-08-251-3/+3
| | | | | | | | Patch by Joseph Weston.
* | Issue #24680: Merge with 3.4Zachary Ware2015-07-211-1/+1
|\ \ | |/
| * Issue #24680: Remove random backslash. Patch by cdz.Zachary Ware2015-07-211-1/+1
| |
* | Close #24458: PEP 489 documentationNick Coghlan2015-07-033-19/+56
| | | | | | | | Patch by Petr Viktorin.
* | Fixed documentation of functions with const char* arguments.Serhiy Storchaka2015-06-211-3/+3
|\ \ | |/
| * Fixed documentation of functions with const char* arguments.Serhiy Storchaka2015-06-211-3/+3
| |