summaryrefslogtreecommitdiffstats
path: root/Doc/howto/clinic.rst
Commit message (Collapse)AuthorAgeFilesLines
* 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