summaryrefslogtreecommitdiffstats
path: root/Doc/extending
Commit message (Collapse)AuthorAgeFilesLines
* Doc: add the missing ".tp_flags" in type definition (GH-12902)Miss Islington (bot)2019-04-221-0/+1
| | | | | (cherry picked from commit 662ebd2ab2047aeae9689ad254b39915c38069fd) Co-authored-by: Wu Wei <weiwu@cacheme.net>
* Doc: define PY_SSIZE_T_CLEAN always (GH-12794)Miss Islington (bot)2019-04-132-3/+9
| | | | | (cherry picked from commit c88feceb449d6e85d7e17ec36559206094d10d81) Co-authored-by: Inada Naoki <songofacandy@gmail.com>
* [3.7] bpo-35110: Fix unintentional spaces around hyphens and dashes. ↵Serhiy Storchaka2018-10-311-2/+3
| | | | | | (GH-10231). (GH-10253) (cherry picked from commit 3f819ca138db6945ee4271bf13e42db9f9b3b1e4)
* Improve highlighting of some code blocks. (GH-6401)Miss Islington (bot)2018-04-093-9/+15
| | | | | (cherry picked from commit 46936d5a71d1683dbd8ddb6d7f39aab50ecfec50) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* bpo-33201: Modernize "Extension types" doc (GH-6337) (GH-6411)Miss Islington (bot)2018-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 (cherry picked from commit 1d80a561734b9932961c546b0897405a3bfbf3e6) Co-authored-by: Antoine Pitrou <pitrou@free.fr>
* Make formatting of some return codes conforming to the general style. ↵Miss Islington (bot)2018-02-091-2/+2
| | | | | | | (GH-5587) (GH-5597) (cherry picked from commit 5bb0005f9ff768ac443924b4bb26c3818ce8dc5a) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* 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-221-1/+1
|\ \ | |/
| * Issue #24680: Remove random backslash. Patch by cdz.Zachary Ware2015-07-221-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
| |
* | Issue 24180: Documentation for PEP 492 changes.Yury Selivanov2015-05-211-1/+1
| |
* | Merge: #17380: Document tp_init return value in extending docs.R David Murray2015-04-131-1/+2
|\ \ | |/
| * #17380: Document tp_init return value in extending docs.R David Murray2015-04-131-1/+2
| | | | | | | | Patch by James Powell.
* | Issue #22883: Update PyInt to PyLong in C API example.Serhiy Storchaka2015-02-171-1/+1
|\ \ | |/
| * Issue #22883: Update PyInt to PyLong in C API example.Serhiy Storchaka2015-02-171-1/+1
| |
* | merge 3.4Benjamin Peterson2015-01-051-5/+10
|\ \ | |/
| * emphasize that cffi is better than extension modules for portabilityBenjamin Peterson2015-01-051-5/+10
| |
* | merge with 3.4Georg Brandl2014-10-311-5/+2
|\ \ | |/