summaryrefslogtreecommitdiffstats
path: root/Doc/howto/clinic.rst
Commit message (Collapse)AuthorAgeFilesLines
* bpo-38600: NULL -> ``NULL``. (GH-17001)Serhiy Storchaka2019-10-301-1/+1
| | | Also fix some other formatting.
* Doc: Replace the deprecated highlightlang directive by highlight. (#13377)Stéphane Wirtel2019-05-171-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 Wirtel2018-10-261-1/+1
|
* bpo-20260: Implement non-bitwise unsigned int converters for Argument ↵Serhiy Storchaka2018-07-261-0/+6
| | | | Clinic. (GH-8434)
* Docs: be less specific about python versions (GH-6985)Eitan Adler2018-05-201-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 Storchaka2018-04-081-17/+51
|
* bpo-29596: Improve clinic howto documentation (GH-1710)gfyoung2017-06-061-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 Storchaka2017-03-301-1/+1
|
* Issues #28755, #28753: Merge Arg Clinic howto from 3.5Martin Panter2016-12-101-24/+39
|\
| * Issue #28755: Improve syntax highlighting in Arg Clinic howtoMartin Panter2016-12-101-15/+29
| |
| * Issue 28753: Argument Clinic howto docfix, courtesy Julien Palard.Martin Panter2016-12-101-14/+15
| |
* | Merge doc fixups from 3.5Martin Panter2016-11-211-15/+15
|\ \ | |/
| * Change double hyphens (en dashes) to em (longer) dashesMartin Panter2016-11-211-15/+15
| |
* | clinic: PY_LONG_LONG -> long longBenjamin Peterson2016-09-081-2/+2
|/
* Issue #27745: Fix some typos in Argument Clinic howto, by Lele GaifaxMartin Panter2016-08-121-4/+4
|
* Issue #26462: Doc: reduce literal_block warnings, fix syntax highlighting.Martin Panter2016-07-261-1/+3
| | | | Patch by Julien Palard.
* Issue #27626: Spelling fixes in docs, comments and internal namesMartin Panter2016-07-281-1/+1
| | | | Based on patch by Ville Skyttä.
* Issue #27130: Fix handling of buffers exceeding UINT_MAX in “zlib” moduleMartin Panter2016-07-231-6/+6
| | | | Patch by Xiang Zhang.
* Issue #25626: Change zlib to accept Py_ssize_t and cap to UINT_MAXMartin Panter2015-11-201-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 Peksag2015-05-181-1/+1
|\
| * Issue #24232: Fix typos. Patch by Ville Skyttä.Berker Peksag2015-05-181-1/+1
| |
* | Argument Clinic: added missing bit of info in howtoTal Einat2015-05-161-0/+1
| |
* | Issue #24000: Improved Argument Clinic's mapping of converters to legacyLarry Hastings2015-05-081-37/+33
| | | | | | | | "format units". Updated the documentation to match.
* | Fix Issue #21528 - Fix documentation typosDonald Stufft2014-05-201-4/+4
|/
* #Issue 20456: Several improvements and bugfixes for Argument Clinic,Larry Hastings2014-02-011-72/+100
| | | | | including correctly generating code for Clinic blocks inside C preprocessor conditional blocks.
* Documentation fixes, including fixing "suspicious" problems.Larry Hastings2014-01-261-50/+64
|
* #20348: fix headers markup in Argument Clinic howto. Patch by Moritz Neeb.Ezio Melotti2014-01-251-6/+2
|
* Doc fixes for Argument Clinic.Larry Hastings2014-01-221-6/+18
|
* Issue #20294: Argument Clinic now supports argument parsing for __new__ andLarry Hastings2014-01-191-2/+21
| | | | __init__ functions.
* Doc improvements for Clinic howto "Goals" section.Larry Hastings2014-01-181-9/+9
|
* Issue #20287: Argument Clinic's output is now configurable, allowingLarry Hastings2014-01-181-1/+319
| | | | delaying its output or even redirecting it to a separate file.
* Issue #20226: Major improvements to Argument Clinic.Larry Hastings2014-01-161-42/+227
| | | | | | | | | | | | | | | | | | | | | | | * You may now specify an expression as the default value for a parameter! Example: "sys.maxsize - 1". This support is intentionally quite limited; you may only use values that can be represented as static C values. * Removed "doc_default", simplified support for "c_default" and "py_default". (I'm not sure we still even need "py_default", but I'm leaving it in for now in case a use presents itself.) * Parameter lines support a trailing '\\' as a line continuation character, allowing you to break up long lines. * The argument parsing code generated when supporting optional groups now uses PyTuple_GET_SIZE instead of PyTuple_GetSize, leading to a 850% speedup in parsing. (Just kidding, this is an unmeasurable difference.) * A bugfix for the recent regression where the generated prototype from pydoc for builtins would be littered with unreadable "=<object ...>"" default values for parameters that had no default value. * Converted some asserts into proper failure messages. * Many doc improvements and fixes.
* Issue #20268: Argument Clinic now supports cloning the parametersLarry Hastings2014-01-151-0/+43
| | | | and return converter from existing functions.
* Minor doc fix in Clinic howto.Larry Hastings2014-01-121-3/+4
|
* Issue #20214: Fixed a number of small issues and documentation errors inLarry Hastings2014-01-121-20/+120
| | | | Argument Clinic (see issue for details).
* Closes #20200: Argument Clinic custom converter example should be in aZachary Ware2014-01-101-2/+2
| | | | | 'python' clinic block, not a 'clinic' clinic block. Patch written by Ryan Smith-Roberts.
* Issue #19273: The marker comments Argument Clinic uses have been changedLarry Hastings2014-01-071-63/+63
| | | | to improve readability.
* Issue #20141: Improved Argument Clinic's support for the PyArg_Parse "O!"Larry Hastings2014-01-071-12/+15
| | | | format unit.
* Argument Clinic: fixed test suite, improved howto.Larry Hastings2014-01-051-87/+154
|
* Issue #19659: Added documentation for Argument Clinic.Larry Hastings2014-01-041-0/+900