Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make Argument Clinic's '--make' option work on Windows. | Zachary Ware | 2015-04-13 | 1 | -1/+1 |
| | |||||
* | 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 #22186: Fix typos in Lib/. | Berker Peksag | 2014-10-19 | 1 | -3/+3 |
| | | | | Patch by Févry Thibault. | ||||
* | 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. | ||||
* | Issue #19936: Added executable bits or shebang lines to Python scripts which | Serhiy Storchaka | 2014-01-16 | 1 | -2/+0 |
| | | | | | | | requires them. Disable executable bits and shebang lines in test and benchmark files in order to prevent using a random system python, and in source files of modules which don't provide command line interface. Fixed shebang lines in the unittestgui and checkpip scripts. | ||||
* | Closes #20235: Report file and line on unexpected exceptions in Argument Clinic. | Georg Brandl | 2014-01-16 | 1 | -1/+6 |
| | |||||
* | Issue #20268: Argument Clinic now supports cloning the parameters | Larry Hastings | 2014-01-15 | 1 | -0/+46 |
| | | | | and return converter from existing functions. | ||||
* | Replace assert with a proper error | Antoine Pitrou | 2014-01-14 | 1 | -2/+4 |
| | |||||
* | improve an error message in clinic | Antoine Pitrou | 2014-01-14 | 1 | -1/+4 |
| | |||||
* | Issue #20228: Argument Clinic now has special support for class special | Larry Hastings | 2014-01-12 | 1 | -9/+114 |
| | | | | methods. | ||||
* | Issue #20214: Fixed a number of small issues and documentation errors in | Larry Hastings | 2014-01-12 | 1 | -24/+94 |
| | | | | Argument Clinic (see issue for details). | ||||
* | Issue #20196: Fixed a bug where Argument Clinic did not generate correct | Larry Hastings | 2014-01-12 | 1 | -0/+6 |
| | | | | | parsing code for functions with positional-only parameters where all arguments are optional. | ||||
* | Issue #19273: The marker comments Argument Clinic uses have been changed | Larry Hastings | 2014-01-07 | 1 | -6/+7 |
| | | | | to improve readability. | ||||
* | Issue #20157: When Argument Clinic renames a parameter because its name | Larry Hastings | 2014-01-07 | 2 | -5/+32 |
| | | | | collides with a C keyword, it no longer exposes that rename to PyArg_Parse. | ||||
* | Issue #20141: Improved Argument Clinic's support for the PyArg_Parse "O!" | Larry Hastings | 2014-01-07 | 1 | -14/+14 |
| | | | | format unit. | ||||
* | Issue #20144: Argument Clinic now supports simple constants as parameter | Larry Hastings | 2014-01-07 | 1 | -5/+23 |
| | | | | | default values. inspect.Signature correspondingly supports them in __text_signature__ fields for builtins. | ||||
* | Issue #20143: The line numbers reported in Argument Clinic errors are | Larry Hastings | 2014-01-06 | 1 | -2/+3 |
| | | | | now more accurate. | ||||
* | Issue #20142: Py_buffer variables generated by Argument Clinic are now | Larry Hastings | 2014-01-06 | 1 | -1/+9 |
| | | | | initialized with a default value. | ||||
* | Argument Clinic: fixed test suite, improved howto. | Larry Hastings | 2014-01-05 | 2 | -14/+19 |
| | |||||
* | Issue #19659: Added documentation for Argument Clinic. | Larry Hastings | 2014-01-04 | 1 | -5/+49 |
| | |||||
* | Issue #19976: Argument Clinic METH_NOARGS functions now always | Larry Hastings | 2014-01-04 | 1 | -11/+2 |
| | | | | take two parameters. | ||||
* | Clinic: fix "self converters" with METH_NOARGS functions. | Larry Hastings | 2013-11-24 | 1 | -1/+1 |
| | |||||
* | Clinic: Add warning for untested (and unused in CPython!) format units. | Larry Hastings | 2013-11-24 | 1 | -0/+1 |
| | |||||
* | Issue #19674: inspect.signature() now produces a correct signature | Larry Hastings | 2013-11-23 | 1 | -34/+25 |
| | | | | for some builtins. | ||||
* | Issue #19358: "make clinic" now runs the Argument Clinic preprocessor | Larry Hastings | 2013-11-23 | 1 | -3/+24 |
| | | | | over all CPython source files. | ||||
* | Issue #19730: Argument Clinic now supports all the existing PyArg | Larry Hastings | 2013-11-23 | 1 | -82/+269 |
| | | | | | "format units" as legacy converters, as well as two new features: "self converters" and the "version" directive. | ||||
* | Issue #19474: Argument Clinic now always specifies a default value for | Larry Hastings | 2013-11-20 | 1 | -5/+37 |
| | | | | variables in option groups, to prevent "uninitialized value" warnings. | ||||
* | Argument Clinic: rename "self" to "module" for module-level functions. | Larry Hastings | 2013-11-18 | 1 | -10/+16 |
| | |||||
* | Issue #19390: Argument Clinic no longer accepts malformed Python and C ids. | Larry Hastings | 2013-10-27 | 2 | -6/+33 |
| | |||||
* | Two small, quick bugfixes for Argument Clinic. | Larry Hastings | 2013-10-23 | 1 | -2/+2 |
| |