Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | GH-107518: Remove the Argument Clinic How-To (#109900) | Adam Turner | 2023-10-11 | 1 | -2061/+5 |
| | | | | | * Remove the content of the Argument Clinic HOWTO * Update cross-references to the Argument Clinic * Add a note directing readers to the devguide | ||||
* | gh-108494: Argument Clinic: Document how to generate code that uses the ↵ | Victor Stinner | 2023-08-30 | 1 | -1/+22 |
| | | | | | | limited C API (#108584) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> | ||||
* | gh-107704: Argument Clinic: add support for deprecating keyword use of ↵ | Serhiy Storchaka | 2023-08-19 | 1 | -22/+43 |
| | | | | | | | | | | | | parameters (GH-107984) It is now possible to deprecate passing keyword arguments for keyword-or-positional parameters with Argument Clinic, using the new '/ [from X.Y]' syntax. (To be read as "positional-only from Python version X.Y") Co-authored-by: Erlend E. Aasland <erlend@python.org> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | ||||
* | Docs: clean up Argument Clinic howto's (#107797) | Erlend E. Aasland | 2023-08-09 | 1 | -10/+11 |
| | | | | - fix formatting in @text_signature howto and NEWS entry - fix formatting and example text in deprecate-positionals howto | ||||
* | gh-104683: Add --exclude option to Argument Clinic CLI (#107770) | Erlend E. Aasland | 2023-08-08 | 1 | -0/+5 |
| | | | Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | ||||
* | gh-86457: Add docs for Argument Clinic @text_signature directive (#107747) | Erlend E. Aasland | 2023-08-08 | 1 | -0/+34 |
| | | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | ||||
* | gh-95065: Add Argument Clinic support for deprecating positional use of ↵ | Erlend E. Aasland | 2023-08-07 | 1 | -0/+88 |
| | | | | | | | | | | parameters (#95151) It is now possible to deprecate passing parameters positionally with Argument Clinic, using the new '* [from X.Y]' syntax. (To be read as "keyword-only from Python version X.Y") Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | ||||
* | Docs: Argument Clinic: Move the CConverter class to the reference (#107671) | Erlend E. Aasland | 2023-08-07 | 1 | -64/+69 |
| | |||||
* | Docs: Argument Clinic: Improve 'How to write a custom converter' (#107328) | Erlend E. Aasland | 2023-08-05 | 1 | -24/+26 |
| | | | | | | - Omit unneccesary wording and sentences - Don't mention implementation details (no digression, explanation) Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> | ||||
* | gh-107507: Replace 'The goals of Argument Clinic' with a summary (#107508) | Erlend E. Aasland | 2023-07-31 | 1 | -54/+4 |
| | | | | Summarise the goals of Argument Clinic in a single sentence. Mention that Argument Clinic was introduced with PEP-436. | ||||
* | Docs: Argument Clinic: Restructure "Basic concepts and usage" (#106981) | Erlend E. Aasland | 2023-07-26 | 1 | -43/+129 |
| | | | | | | | | | | | | | | Split "Basic concepts and usage" into: - Reference - Terminology - CLI reference - Background - Basic concepts Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> | ||||
* | Docs: Remove the numbered steps from the Argument Clinic tutorial (#107203) | Erlend E. Aasland | 2023-07-26 | 1 | -314/+310 |
| | | | | Instead, order the tutorial as one body of prose, making it easier to align the tutorial according to Diátaxis principles. | ||||
* | Docs: Add missing markup to Argument Clinic docs (#106876) | Erlend E. Aasland | 2023-07-24 | 1 | -126/+143 |
| | | | | Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | ||||
* | Docs: Remove duplicate word in Argument Clinic howto heading (#107169) | Hakan Celik | 2023-07-24 | 1 | -2/+2 |
| | |||||
* | Docs: Argument Clinic: Add Background and Tutorial top-level sections (#106904) | Erlend E. Aasland | 2023-07-21 | 1 | -9/+27 |
| | | | | | | | | | | | | | | | | | | | | | Add Background as a toplevel section with the following subsections: - Background - The goals of Argument Clinic - Basic concepts and usage Rename "Converting your first function" to Tutorial. Add anchors for Background, Tutorial, and How-to Guides: - :ref:`clinic-background` - :ref:`clinic-tutorial` - :ref:`clinic-howtos` Link to these from within the Abstract. Break the compatibility paragraph out of Abstract and make it a note. Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> | ||||
* | Docs: Argument Clinic: Group guides about default values (#106872) | Erlend E. Aasland | 2023-07-18 | 1 | -20/+20 |
| | | | | | | | | | | | | | | | | Previous ToC layout (excerpt): - How to use symbolic default values ... - How to assign default values to parameter - How to use the ``NULL`` default value - How to use expressions as default values New layout: - How to assign default values to parameter - The ``NULL`` default value - Symbolic default values - Expressions as default values | ||||
* | Docs: Normalise Argument Clinic advanced topics headings (#106842) | Erlend E. Aasland | 2023-07-18 | 1 | -49/+46 |
| | | | Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> | ||||
* | Docs: Normalize Argument Clinic How-To section capitalization (#106788) | Erlend E. Aasland | 2023-07-15 | 1 | -11/+18 |
| | |||||
* | gh-104389: Add 'unused' keyword to Argument Clinic C converters (#104390) | Erlend E. Aasland | 2023-05-12 | 1 | -0/+3 |
| | | | | | | | | | Use the unused keyword param in the converter to explicitly mark an argument as unused: /*[clinic input] SomeBaseClass.stubmethod flag: bool(unused=True) [clinic start generated code]*/ | ||||
* | gh-64658: Expand Argument Clinic return converter docs (#104175) | Erlend E. Aasland | 2023-05-05 | 1 | -13/+28 |
| | |||||
* | gh-98763: Prefer "python" over "python3" for command line examples in docs. ↵ | Mariusz Felisiak | 2023-01-11 | 1 | -1/+1 |
| | | | | (#98761) | ||||
* | docs: Change links to label refs (#98454) | Stanley | 2022-10-26 | 1 | -0/+2 |
| | | | Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> | ||||
* | gh-97956: Mention `generate_global_objects.py` in `AC How-To` (#97957) | Nikita Sobolev | 2022-10-07 | 1 | -1/+9 |
| | |||||
* | gh-95007: Remove the NoneType return converter from Argument Clinic Doc (#95529) | Noam Cohen | 2022-08-01 | 1 | -5/+0 |
| | | | The converter was removed in 74b5e4ce80858ac5c7d03411cb8cce7e6865f181 | ||||
* | Docs: remove redundant "adverb-adjective" hyphens from compound modifiers ↵ | Ned Batchelder | 2022-07-05 | 1 | -3/+3 |
| | | | | | (GH-94551) Discussion: https://discuss.python.org/t/slight-grammar-fix-throughout-adverbs-dont-need-hyphen/17021 | ||||
* | Document Py_ssize_t. (GH-92512) | Julien Palard | 2022-05-13 | 1 | -1/+1 |
| | | | | | | It fixes 252 errors from a Sphinx nitpicky run (sphinx-build -n). But there's 8182 errors left. Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> | ||||
* | gh-92536: PEP 623: Remove wstr and legacy APIs from Unicode (GH-92537) | Inada Naoki | 2022-05-12 | 1 | -4/+4 |
| | |||||
* | bpo-46613: Add PyType_GetModuleByDef to the public API (GH-31081) | Petr Viktorin | 2022-02-11 | 1 | -3/+3 |
| | | | | | * Make PyType_GetModuleByDef public (remove underscore) Co-authored-by: Victor Stinner <vstinner@python.org> | ||||
* | bpo-45320: Remove long-deprecated inspect methods (GH-28618) | Hugo van Kemenade | 2021-10-20 | 1 | -3/+0 |
| | |||||
* | bpo-42048: Clinic Howto: Document AC's defining_class converter (GH-23978) | Erlend Egeberg Aasland | 2021-01-20 | 1 | -0/+62 |
| | |||||
* | bpo-38600: NULL -> ``NULL``. (GH-17001) | Serhiy Storchaka | 2019-10-30 | 1 | -1/+1 |
| | | | Also fix some other formatting. | ||||
* | Doc: Replace the deprecated highlightlang directive by highlight. (#13377) | Stéphane Wirtel | 2019-05-17 | 1 | -1/+1 |
| | | | | highlightlang is deprecated since April 2018 in Sphinx. See https://github.com/sphinx-doc/sphinx/pull/4845 | ||||
* | bpo-35042: Use the :pep: role where a PEP is specified (#10036) | Stéphane Wirtel | 2018-10-26 | 1 | -1/+1 |
| | |||||
* | bpo-20260: Implement non-bitwise unsigned int converters for Argument ↵ | Serhiy Storchaka | 2018-07-26 | 1 | -0/+6 |
| | | | | Clinic. (GH-8434) | ||||
* | Docs: be less specific about python versions (GH-6985) | Eitan Adler | 2018-05-20 | 1 | -2/+2 |
| | | | | CPython 3.5 is old now, and we don't bump this version often, so lets avoid using specific versions. | ||||
* | Improve highlighting of some code blocks. (GH-6401) | Serhiy Storchaka | 2018-04-08 | 1 | -17/+51 |
| | |||||
* | bpo-29596: Improve clinic howto documentation (GH-1710) | gfyoung | 2017-06-06 | 1 | -3/+3 |
| | | | Clarify that `two-pass` buffer can only be dumped once, and it prints out all text sent to it during all processing, even from Clinic blocks *after* the dumping point. | ||||
* | bpo-29918: Add missed "const" modifiers in C API documentation. (#846) | Serhiy Storchaka | 2017-03-30 | 1 | -1/+1 |
| | |||||
* | Issues #28755, #28753: Merge Arg Clinic howto from 3.5 | Martin Panter | 2016-12-10 | 1 | -24/+39 |
|\ | |||||
| * | Issue #28755: Improve syntax highlighting in Arg Clinic howto | Martin Panter | 2016-12-10 | 1 | -15/+29 |
| | | |||||
| * | Issue 28753: Argument Clinic howto docfix, courtesy Julien Palard. | Martin Panter | 2016-12-10 | 1 | -14/+15 |
| | | |||||
* | | Merge doc fixups from 3.5 | Martin Panter | 2016-11-21 | 1 | -15/+15 |
|\ \ | |/ | |||||
| * | Change double hyphens (en dashes) to em (longer) dashes | Martin Panter | 2016-11-21 | 1 | -15/+15 |
| | | |||||
* | | clinic: PY_LONG_LONG -> long long | Benjamin Peterson | 2016-09-08 | 1 | -2/+2 |
|/ | |||||
* | Issue #27745: Fix some typos in Argument Clinic howto, by Lele Gaifax | Martin Panter | 2016-08-12 | 1 | -4/+4 |
| | |||||
* | Issue #26462: Doc: reduce literal_block warnings, fix syntax highlighting. | Martin Panter | 2016-07-26 | 1 | -1/+3 |
| | | | | Patch by Julien Palard. | ||||
* | Issue #27626: Spelling fixes in docs, comments and internal names | Martin Panter | 2016-07-28 | 1 | -1/+1 |
| | | | | Based on patch by Ville Skyttä. | ||||
* | Issue #27130: Fix handling of buffers exceeding UINT_MAX in “zlib” module | Martin Panter | 2016-07-23 | 1 | -6/+6 |
| | | | | Patch by Xiang Zhang. | ||||
* | Issue #25626: Change zlib to accept Py_ssize_t and cap to UINT_MAX | Martin Panter | 2015-11-20 | 1 | -8/+8 |
| | | | | | | | | | | | | | | The underlying zlib library stores sizes in “unsigned int”. The corresponding Python parameters are all sizes of buffers filled in by zlib, so it is okay to reduce higher values to the UINT_MAX internal cap. OverflowError is still raised for sizes that do not fit in Py_ssize_t. Sizes are now limited to Py_ssize_t rather than unsigned long, because Python byte strings cannot be larger than Py_ssize_t. Previously this could result in a SystemError on 32-bit platforms. This resolves a regression in the gzip module when reading more than UINT_MAX or LONG_MAX bytes in one call, introduced by revision 62723172412c. | ||||
* | Issue #24232: Fix typos. Patch by Ville Skyttä. | Berker Peksag | 2015-05-18 | 1 | -1/+1 |
|\ |