Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-25381: Update explanation of exceptions in C. (GH-26838) | Terry Jan Reedy | 2021-11-15 | 1 | -7/+5 |
| | | | | | | | | | | | | | | * bpo-25381: Update explanation of exception globals This paragraph in extending/extending.rst was unchanged (except for NULL markup) since committed in 2007 Aug 15 for 2.6 alpha. * Respond to reviews and remove duplication. * Update Doc/extending/extending.rst Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | ||||
* | bpo-45633: Fix newtypes doc typo (GH-29318) | Dmitry Smirnov | 2021-11-02 | 1 | -1/+1 |
| | |||||
* | bpo-28737: Document when tp_dealloc should call PyObject_GC_UnTrack() (GH-29246) | Sam Gross | 2021-10-27 | 1 | -1/+13 |
| | | | | | Objects that support garbage collection ("container" objects) should call PyObject_GC_UnTrack() from their destructors before clearing any fields which may point to other "container" objects. | ||||
* | bpo-42800: Rename AUDIT_READ to PY_AUDIT_READ (GH-25736) | Steve Dower | 2021-04-30 | 1 | -4/+4 |
| | |||||
* | bpo-42800: add audit hooks for f_code and tb_frame (GH-24182) | Ryan Hileman | 2021-04-29 | 1 | -5/+10 |
| | | | | | | | | | | Accessing the following attributes will now fire PEP 578 style audit hooks as ("object.__getattr__", obj, name): * PyTracebackObject: tb_frame * PyFrameObject: f_code * PyGenObject: gi_code, gi_frame * PyCoroObject: cr_code, cr_frame * PyAsyncGenObject: ag_code, ag_frame Add an AUDIT_READ attribute flag aliased to READ_RESTRICTED. Update obsolete flag documentation. | ||||
* | bpo-43774: Remove --without-cycle-gc doc (GH-25364) | Victor Stinner | 2021-04-12 | 1 | -6/+1 |
| | | | | | The configure --without-cycle-gc option has been removed in Python 2.3 by the commit cccd1e72481106b0a373117f32fda6261f3141a7. It's now time to remove the last reference to it in the documentation. | ||||
* | bpo-43739: Add type declaration Doc/extending/extending.rst example | Shreyan Avigyan | 2021-04-10 | 1 | -1/+1 |
| | |||||
* | bpo-43774: Document configure options (GH-25283) | Victor Stinner | 2021-04-08 | 2 | -2/+3 |
| | | | | | | Add Doc/using/configure.rst documentation to document configure, preprocessor, compiler and linker options. Add a new section about the "Python debug build". | ||||
* | bpo-42802: Remove distutils bdist_wininst command (GH-24043) | Victor Stinner | 2021-01-08 | 1 | -1/+0 |
| | | | | | | | | | | The distutils bdist_wininst command deprecated in Python 3.8 has been removed. The distutils bidst_wheel command is now recommended to distribute binary packages on Windows. * Remove Lib/distutils/command/bdist_wininst.py * Remove PC/bdist_wininst/ project * Remove Lib/distutils/command/wininst-*.exe programs * Remove all references to bdist_wininst | ||||
* | bpo-40204: Fix reference to terms in the doc (GH-21865) | Victor Stinner | 2020-08-14 | 1 | -1/+1 |
| | | | | | | | | Sphinx 3 requires to refer to terms with the exact case. For example, fix the Sphinx 3 warning: Doc/library/pkgutil.rst:71: WARNING: term Loader not found in case sensitive match.made a reference to loader instead. | ||||
* | bpo-40279: Add some error-handling to the module initialisation docs example ↵ | Cajetan Rodrigues | 2020-04-25 | 1 | -3/+11 |
| | | | | (GH-19705) | ||||
* | bpo-38600: NULL -> ``NULL``. (GH-17001) | Serhiy Storchaka | 2019-10-30 | 1 | -1/+1 |
| | | | Also fix some other formatting. | ||||
* | bpo-38600: Change the mark up of NULL in the C API documentation. (GH-16950) | Serhiy Storchaka | 2019-10-30 | 4 | -57/+57 |
| | | | | Replace all *NULL* with ``NULL``. | ||||
* | bpo-38391: Fixing a typo for Py_DECREF (GH-16616) | Krishna Oza | 2019-10-07 | 1 | -1/+1 |
| | |||||
* | bpo-26868: Fix example usage of PyModule_AddObject. (#15725) | Brandt Bucher | 2019-09-12 | 2 | -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 Demeyer | 2019-07-04 | 1 | -1/+1 |
| | |||||
* | Doc: Replace the deprecated highlightlang directive by highlight. (#13377) | Stéphane Wirtel | 2019-05-17 | 6 | -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 Wei | 2019-04-22 | 1 | -0/+1 |
| | |||||
* | Doc: define PY_SSIZE_T_CLEAN always (GH-12794) | Inada Naoki | 2019-04-13 | 2 | -3/+9 |
| | |||||
* | fix typo in doc (#12686) | Caleb Marchent | 2019-04-10 | 1 | -2/+2 |
| | |||||
* | bpo-33012: Fix invalid function cast warnings with gcc 8. (GH-6749) | Serhiy Storchaka | 2018-11-27 | 1 | -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 Storchaka | 2018-10-31 | 1 | -2/+3 |
| | |||||
* | bpo-17045: Improve C-API doc for PyTypeObject. (gh-7413) | Eric Snow | 2018-06-14 | 1 | -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 Poyarekar | 2018-04-29 | 1 | -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 Storchaka | 2018-04-08 | 3 | -9/+15 |
| | |||||
* | bpo-33201: Modernize "Extension types" doc (GH-6337) | Antoine Pitrou | 2018-04-07 | 3 | -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 Storchaka | 2018-02-09 | 1 | -2/+2 |
| | |||||
* | bpo-25910: Link redirections in docs (#1933) | Sanyam Khurana | 2018-01-20 | 2 | -2/+3 |
| | | | Fixes some redirection links in docs. | ||||
* | Extending Python Doc minor updates (GH-4518) | Emanuele Gaifas | 2017-11-24 | 2 | -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 Krah | 2017-09-22 | 1 | -10/+3 |
| | |||||
* | Fix the indentation in Extending Python code example (GH-3244) | Sergey Fedoseev | 2017-08-30 | 1 | -6/+6 |
| | | | | Code was indented with three spaces. Fixed using four spaces. | ||||
* | bpo-31095: fix potential crash during GC (GH-2974) | INADA Naoki | 2017-08-24 | 1 | -9/+20 |
| | |||||
* | bpo-28315: Improve code examples in docs (GH-1372) | UltimateCoder | 2017-05-03 | 1 | -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 Storchaka | 2017-03-30 | 2 | -6/+6 |
| | |||||
* | Issue #28761: The fields name and doc of structures PyMemberDef, PyGetSetDef, | Serhiy Storchaka | 2016-11-22 | 1 | -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 Storchaka | 2016-11-21 | 1 | -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 Storchaka | 2016-11-21 | 1 | -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.6 | Martin Panter | 2016-10-30 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Issue #26638: Mask undefined CLI options to defeat new Sphinx warnings | Martin Panter | 2016-10-30 | 1 | -1/+1 |
| | | |||||
* | | Issue #18287: PyType_Ready() now checks that tp_name is not NULL. | Serhiy Storchaka | 2016-10-07 | 1 | -1/+3 |
|\ \ | |/ | | | | | Original patch by Niklas Koep. | ||||
| * | Issue #18287: PyType_Ready() now checks that tp_name is not NULL. | Serhiy Storchaka | 2016-10-07 | 1 | -1/+3 |
| | | | | | | | | Original patch by Niklas Koep. | ||||
* | | Issue #23710: Merge from 3.5 | Berker Peksag | 2016-08-03 | 1 | -5/+9 |
|\ \ | |/ | |||||
| * | Issue #23710: Update PyObject_HEAD documentation | Berker Peksag | 2016-08-03 | 1 | -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.5 | Martin Panter | 2016-07-29 | 4 | -14/+25 |
|\ \ | |/ | |||||
| * | Issue #26462: Doc: reduce literal_block warnings, fix syntax highlighting. | Martin Panter | 2016-07-26 | 4 | -14/+25 |
| | | | | | | | | Patch by Julien Palard. | ||||
* | | Issue #17264: Fix cross refs and a markup error in extending/building.rst | Berker Peksag | 2016-04-09 | 1 | -5/+6 |
|\ \ | |/ | |||||
| * | Issue #17264: Fix cross refs and a markup error in extending/building.rst | Berker Peksag | 2016-04-09 | 1 | -5/+6 |
| | | |||||
* | | merge with 3.5 | Georg Brandl | 2016-02-26 | 2 | -2/+2 |
|\ \ | |/ | |||||
| * | Closes #25910: fix dead and permanently redirected links in the docs. Thanks ↵ | Georg Brandl | 2016-02-26 | 2 | -2/+2 |
| | | | | | | | | to SilentGhost for the patch. | ||||
* | | Merge with 3.5 | Terry Jan Reedy | 2016-01-09 | 1 | -1/+1 |
|\ \ | |/ |