Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #27574: Decreased an overhead of parsing keyword arguments in functions | Serhiy Storchaka | 2016-08-14 | 1 | -8/+6 |
| | | | | implemented with using Argument Clinic. | ||||
* | Issue #27626: Merge spelling fixes from 3.5 | Martin Panter | 2016-07-28 | 1 | -1/+1 |
|\ | |||||
| * | 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 #27332: Fixed the type of the first argument of module-level functions | Serhiy Storchaka | 2016-07-07 | 1 | -1/+1 |
|\ \ | |/ | | | | | generated by Argument Clinic. Patch by Petr Viktorin. | ||||
| * | Issue #27332: Fixed the type of the first argument of module-level functions | Serhiy Storchaka | 2016-07-07 | 1 | -1/+1 |
| | | | | | | | | generated by Argument Clinic. Patch by Petr Viktorin. | ||||
* | | Issue #26282: PyArg_ParseTupleAndKeywords() and Argument Clinic now support | Serhiy Storchaka | 2016-06-09 | 1 | -26/+25 |
| | | | | | | | | positional-only and keyword parameters in the same function. | ||||
* | | Issue #26305: Argument Clinic now uses braces in C code as required by PEP 7. | Serhiy Storchaka | 2016-06-09 | 1 | -14/+23 |
|/ | |||||
* | Issue #26305: Argument Clinic now escapes braces. No need to double them. | Serhiy Storchaka | 2016-06-09 | 1 | -13/+14 |
| | |||||
* | Remove duplicated tests. | Serhiy Storchaka | 2016-04-24 | 1 | -10/+0 |
| | | | | There were duplicated methods with the same name and body. | ||||
* | Issue #26316: Fix variable name typo in Argument Clinic | Martin Panter | 2016-02-14 | 1 | -1/+1 |
| | |||||
* | Issue #24000: Improved Argument Clinic's mapping of converters to legacy | Larry Hastings | 2015-05-08 | 1 | -51/+72 |
| | | | | "format units". Updated the documentation to match. | ||||
* | Issue #24001: Argument Clinic converters now use accept={type} | Larry Hastings | 2015-05-04 | 1 | -52/+90 |
| | | | | instead of types={'type'} to specify the types the converter accepts. | ||||
* | Issue #24007: Argument Clinic now writes the format of PyArg_Parse*() at the | Serhiy Storchaka | 2015-04-23 | 1 | -9/+4 |
| | | | | same line as function name. | ||||
* | Issue #23935: Argument Clinic's understanding of format units | Larry Hastings | 2015-04-16 | 1 | -60/+49 |
| | | | | | accepting bytes, bytearrays, and buffers is now consistent with both the documentation and the implementation. | ||||
* | Issue #23944: Argument Clinic now wraps long impl prototypes at column 78. | Larry Hastings | 2015-04-14 | 1 | -0/+57 |
| | |||||
* | Merge with 3.4 | Zachary Ware | 2015-04-13 | 1 | -1/+1 |
|\ | |||||
| * | Make Argument Clinic's '--make' option work on Windows. | Zachary Ware | 2015-04-13 | 1 | -1/+1 |
| | | |||||
* | | Issue #20586: Argument Clinic now ensures signatures on functions without ↵ | Zachary Ware | 2015-04-13 | 1 | -3/+10 |
| | | | | | | | | docstrings. | ||||
* | | Issue #23492: Argument Clinic now generates argument parsing code with | Serhiy Storchaka | 2015-04-03 | 1 | -17/+33 |
| | | | | | | | | PyArg_Parse instead of PyArg_ParseTuple if possible. | ||||
* | | Issue #23501: Argumen Clinic now generates code into separate files by default. | Serhiy Storchaka | 2015-04-03 | 1 | -7/+7 |
| | | |||||
* | | Issue #23500: Argument Clinic is now smarter about generating the "#ifndef" | Larry Hastings | 2015-04-03 | 1 | -65/+95 |
| | | | | | | | | | | | | (empty) definition of the methoddef macro: it's only generated once, even if Argument Clinic processes the same symbol multiple times, and it's emitted at the end of all processing rather than immediately after the first use. | ||||
* | | Issue #23641: Cleaned out legacy dunder names from tests and docs. | Serhiy Storchaka | 2015-03-12 | 1 | -1/+3 |
|\ \ | |/ | | | | | | | Fixed 2 to 3 porting bug in pynche.ColorDB. Added few tests for __truediv__, __floordiv__ and __matmul__. | ||||
| * | Issue #23641: Cleaned out legacy dunder names from tests and docs. | Serhiy Storchaka | 2015-03-12 | 1 | -1/+0 |
| | | | | | | | | Fixed 2 to 3 porting bug in pynche.ColorDB. | ||||
* | | Issue #22823: Use set literals instead of creating a set from a tuple. | Serhiy Storchaka | 2014-11-15 | 1 | -9/+9 |
| | | |||||
* | | Issue #22186: Fix typos in Lib/. | Berker Peksag | 2014-10-19 | 1 | -3/+3 |
|\ \ | |/ | | | | | Patch by Févry Thibault. | ||||
| * | Issue #22186: Fix typos in Lib/. | Berker Peksag | 2014-10-19 | 1 | -3/+3 |
| | | | | | | | | Patch by Févry Thibault. | ||||
* | | Issue #22615: Argument Clinic now supports the "type" argument for the | Larry Hastings | 2014-10-13 | 1 | -1/+3 |
| | | | | | | | | | | int converter. This permits using the int converter with enums and typedefs. | ||||
* | | Issue #22120: For functions using an unsigned integer return converter, | Larry Hastings | 2014-08-05 | 1 | -1/+5 |
| | | | | | | | | | | Argument Clinic now generates a cast to that type for the comparison to -1 in the generated code. (This supresses a compilation warning.) | ||||
* | | Argument Clinic bugfix: Don't let the C preprocessor "Monitor" see lines | Larry Hastings | 2014-07-27 | 1 | -3/+4 |
|/ | | | | | | that we are scanning for the output marker. If we don't find it, we will scan them again, so it sees them twice, and it can get confused (like thinking we're still in a comment). | ||||
* | Issue #21629: Fix Argument Clinic's "--converters" feature. | Larry Hastings | 2014-06-11 | 1 | -3/+1 |
| | |||||
* | Issue #20530: Argument Clinic's signature format has been revised again. | Larry Hastings | 2014-02-09 | 2 | -57/+146 |
| | | | | | | | The new syntax is highly human readable while still preventing false positives. The syntax also extends Python syntax to denote "self" and positional-only parameters, allowing inspect.Signature objects to be totally accurate for all supported builtins in Python 3.4. | ||||
* | #Issue 20456: Several improvements and bugfixes for Argument Clinic, | Larry Hastings | 2014-02-01 | 3 | -264/+554 |
| | | | | | including correctly generating code for Clinic blocks inside C preprocessor conditional blocks. | ||||
* | Issue #20326: Argument Clinic now uses a simple, unique signature to | Larry Hastings | 2014-01-28 | 1 | -43/+150 |
| | | | | | | | | | | annotate text signatures in docstrings, resulting in fewer false positives. "self" parameters are also explicitly marked, allowing inspect.Signature() to authoritatively detect (and skip) said parameters. Issue #20326: Argument Clinic now generates separate checksums for the input and output sections of the block, allowing external tools to verify that the input has not changed (and thus the output is not out-of-date). | ||||
* | Issue #20390: Final fix, for generating NoPositional/NoKeyword for __init__ ↵ | Larry Hastings | 2014-01-26 | 1 | -5/+15 |
| | | | | calls. | ||||
* | Fix for catestrophic errors in previous checkin (Argument Clinic rollup patch). | Larry Hastings | 2014-01-26 | 1 | -1/+5 |
| | |||||
* | Issue #20390: Small fixes and improvements for Argument Clinic. | Larry Hastings | 2014-01-26 | 1 | -35/+98 |
| | |||||
* | Issue #20376: Argument Clinic now escapes backslashes in docstrings. | Zachary Ware | 2014-01-25 | 1 | -0/+1 |
| | |||||
* | Issue #20381: Fix sanity checking on default arguments when c_default is | Zachary Ware | 2014-01-25 | 1 | -3/+11 |
| | | | | also specified. | ||||
* | Issue #20189: Four additional builtin types (PyTypeObject, | Larry Hastings | 2014-01-24 | 1 | -162/+306 |
| | | | | | | PyMethodDescr_Type, _PyMethodWrapper_Type, and PyWrapperDescr_Type) have been modified to provide introspection information for builtins. Also: many additional Lib, test suite, and Argument Clinic fixes. | ||||
* | Two minor Argument Clinic bugfixes: use the name of the class in the | Larry Hastings | 2014-01-22 | 1 | -3/+7 |
| | | | | | docstring for __new__ and __init__, and always use "goto exit" instead of returning "NULL" for failure to parse (as _new__ and __init__ return ints). | ||||
* | Argument Clinic: make 'destination' directive work. | Zachary Ware | 2014-01-22 | 1 | -3/+3 |
| | |||||
* | Improve fix for issue #20300. | Larry Hastings | 2014-01-19 | 1 | -1/+1 |
| | |||||
* | Issue #20300: Fix exception when setting conversion class member "default" | Larry Hastings | 2014-01-19 | 1 | -2/+4 |
| | | | | to None. | ||||
* | Issue #20294: Argument Clinic now supports argument parsing for __new__ and | Larry Hastings | 2014-01-19 | 1 | -188/+294 |
| | | | | __init__ functions. | ||||
* | Issue #20299: Argument Clinic custom converters may now change the default | Larry Hastings | 2014-01-19 | 1 | -2/+4 |
| | | | | value of c_default and py_default with a class member. | ||||
* | Use correct C type in byte_converter. | Serhiy Storchaka | 2014-01-18 | 1 | -1/+1 |
| | |||||
* | Issue #20292: Small bug fix for Argument Clinic supporting format units | Larry Hastings | 2014-01-18 | 1 | -1/+5 |
| | | | | for strings with explicit encodings. | ||||
* | Issue #20287: Argument Clinic's output is now configurable, allowing | Larry Hastings | 2014-01-18 | 2 | -160/+662 |
| | | | | delaying its output or even redirecting it to a separate file. | ||||
* | Issue #20226: Added tests for new features and regressions. | Larry Hastings | 2014-01-16 | 1 | -0/+15 |
| | |||||
* | Issue #20226: Major improvements to Argument Clinic. | Larry Hastings | 2014-01-16 | 2 | -101/+170 |
| | | | | | | | | | | | | | | | | | | | | | | | * 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. |