Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #20287: Argument Clinic's output is now configurable, allowing | Larry Hastings | 2014-01-18 | 3 | -58/+23 |
| | | | | delaying its output or even redirecting it to a separate file. | ||||
* | avoid a compiler warning about assigning const char * to char *. | Gregory P. Smith | 2014-01-17 | 1 | -1/+1 |
|\ | |||||
| * | avoid a compiler warning about assigning const char * to char *. | Gregory P. Smith | 2014-01-17 | 1 | -1/+1 |
| | | |||||
* | | Issue #20226: Major improvements to Argument Clinic. | Larry Hastings | 2014-01-16 | 6 | -12/+14 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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: Remove executable bits from C source files and several forgotten | Serhiy Storchaka | 2014-01-16 | 2 | -0/+0 |
|\ \ | |/ | | | | | test files. | ||||
| * | Issue #19936: Remove executable bits from C source files and several forgotten | Serhiy Storchaka | 2014-01-16 | 2 | -0/+0 |
| | | | | | | | | test files. | ||||
* | | Issue #19936: Added executable bits or shebang lines to Python scripts which | Serhiy Storchaka | 2014-01-16 | 4 | -0/+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. | ||||
| * | Issue #19936: Added executable bits or shebang lines to Python scripts which | Serhiy Storchaka | 2014-01-16 | 4 | -0/+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 line to use python3 executable in the unittestgui script. | ||||
* | | Merge from 3.3. | Stefan Krah | 2014-01-16 | 3 | -6/+0 |
|\ \ | |/ | |||||
| * | Issue #19936: Disable shebang lines in order to prevent using a random | Stefan Krah | 2014-01-16 | 3 | -6/+0 |
| | | | | | | | | system python. | ||||
* | | Clinic-ize the crypt module. Derby! | Antoine Pitrou | 2014-01-14 | 1 | -15/+56 |
| | | |||||
* | | merge 3.3 (#20251) | Benjamin Peterson | 2014-01-14 | 1 | -1/+0 |
|\ \ | |/ | |||||
| * | remove overly strict assertion (closes #20251) | Benjamin Peterson | 2014-01-14 | 1 | -1/+0 |
| | | |||||
* | | merge 3.3 (#20250) | Benjamin Peterson | 2014-01-14 | 1 | -1/+3 |
|\ \ | |/ | |||||
| * | correct defaultdict signature in docstring (closes #20250) | Benjamin Peterson | 2014-01-14 | 1 | -1/+3 |
| | | | | | | | | Patch from Andrew Barnert. | ||||
| * | merge 3.2 (#20246) | Benjamin Peterson | 2014-01-14 | 1 | -0/+5 |
| |\ | |||||
| | * | complain when nbytes > buflen to fix possible buffer overflow (closes #20246) | Benjamin Peterson | 2014-01-14 | 1 | -0/+5 |
| | | | |||||
| | * | Issue #17857: Prevent build failures with pre-3.5.0 versions of sqlite3, | Serhiy Storchaka | 2013-04-28 | 3 | -7/+7 |
| | | | | | | | | | | | | such as was shipped with Centos 5 and Mac OS X 10.4. | ||||
| | * | This local change was lost during the fixing of issue17192 to update | Gregory P. Smith | 2013-04-30 | 1 | -0/+5 |
| | | | | | | | | | | | | | | | | | | | | | libffi to 3.0.13. (i'm not sure if it is needed anymore but see issue 10309 for details which makes no mention of upstream; this change is already in 3.3 and 3.4 but may need reapplying to 2.7 as done here) | ||||
| * | | fix build when SCHED_SPORADIC is defined (closes #20217) | Benjamin Peterson | 2014-01-10 | 1 | -1/+1 |
| | | | |||||
* | | | merge 3.3 (#20246) | Benjamin Peterson | 2014-01-14 | 1 | -0/+5 |
| | | | |||||
* | | | fix refleak in the error case | Benjamin Peterson | 2014-01-13 | 1 | -2/+2 |
| | | | |||||
* | | | Issue #20228: Argument Clinic now has special support for class special | Larry Hastings | 2014-01-12 | 1 | -8/+2 |
| | | | | | | | | | | | | methods. | ||||
* | | | Issue #20214: Fixed a number of small issues and documentation errors in | Larry Hastings | 2014-01-12 | 1 | -6/+6 |
| | | | | | | | | | | | | Argument Clinic (see issue for details). | ||||
* | | | Issue #20207: Always disable SSLv2 except when PROTOCOL_SSLv2 is explicitly ↵ | Antoine Pitrou | 2014-01-09 | 1 | -4/+5 |
|\ \ \ | |/ / | | | | | | | asked for. | ||||
| * | | Remove conditional: it is useless at this point (OpenSSL headers are not yet ↵ | Antoine Pitrou | 2014-01-09 | 1 | -2/+0 |
| | | | | | | | | | | | | included) | ||||
| * | | Issue #20207: Always disable SSLv2 except when PROTOCOL_SSLv2 is explicitly ↵ | Antoine Pitrou | 2014-01-09 | 1 | -2/+5 |
| | | | | | | | | | | | | asked for. | ||||
* | | | merge 3.3 | Benjamin Peterson | 2014-01-09 | 1 | -3/+1 |
|\ \ \ | |/ / | |||||
| * | | fix zipimport ref leak | Benjamin Peterson | 2014-01-09 | 1 | -3/+1 |
| | | | |||||
* | | | (Merge 3.3) Issue #20113: os.readv() and os.writev() now raise an OSError | Victor Stinner | 2014-01-08 | 1 | -9/+15 |
|\ \ \ | |/ / | | | | | | | exception on error instead of returning -1. | ||||
| * | | Issue #20113: os.readv() and os.writev() now raise an OSError exception on | Victor Stinner | 2014-01-08 | 1 | -9/+15 |
| | | | | | | | | | | | | error instead of returning -1. | ||||
* | | | Fixes issue #19081: When a zipimport .zip file in sys.path being imported from | Gregory P. Smith | 2014-01-08 | 1 | -48/+238 |
|\ \ \ | |/ / | | | | | | | | | | | | | is modified during the lifetime of the Python process after zipimport has already cached the zip's table of contents we detect this and recover rather than read bad data from the .zip (causing odd import errors). | ||||
| * | | Fixes Issue #19081: When a zipimport .zip file in sys.path being imported from | Gregory P. Smith | 2014-01-08 | 1 | -47/+238 |
| | | | | | | | | | | | | | | | | | | is modified during the lifetime of the Python process after zipimport has already cached the zip's table of contents we detect this and recover rather than read bad data from the .zip (causing odd import errors). | ||||
* | | | Issue #19723: Missed one conversion to the new Argument Clinic syntax. | Larry Hastings | 2014-01-07 | 1 | -3/+3 |
| | | | |||||
* | | | Issue #12837: Silence a Clang compiler warning on OS X. | Brett Cannon | 2014-01-07 | 1 | -1/+15 |
| | | | | | | | | | | | | | | | | | | | | | | | | Now makes CPython build without warnings on OS X under Clang with -Wno-unused-value -Wno-empty-body -Qunused-arguments -Wno-deprecated-declarations. Thanks to David Watson for taking an initial stab at a solution. | ||||
* | | | Issue #19273: The marker comments Argument Clinic uses have been changed | Larry Hastings | 2014-01-07 | 9 | -135/+135 |
| | | | | | | | | | | | | to improve readability. | ||||
* | | | Issue #20141: Improved Argument Clinic's support for the PyArg_Parse "O!" | Larry Hastings | 2014-01-07 | 1 | -5/+5 |
| | | | | | | | | | | | | format unit. | ||||
* | | | Issue #20144: Argument Clinic now supports simple constants as parameter | Larry Hastings | 2014-01-07 | 2 | -18/+62 |
| | | | | | | | | | | | | | | | default values. inspect.Signature correspondingly supports them in __text_signature__ fields for builtins. | ||||
* | | | Issue #20142: Py_buffer variables generated by Argument Clinic are now | Larry Hastings | 2014-01-06 | 1 | -4/+4 |
| | | | | | | | | | | | | initialized with a default value. | ||||
* | | | Issue #19659: Added documentation for Argument Clinic. | Larry Hastings | 2014-01-04 | 1 | -5/+2 |
| | | | |||||
* | | | Issue #19976: Argument Clinic METH_NOARGS functions now always | Larry Hastings | 2014-01-04 | 2 | -20/+137 |
| | | | | | | | | | | | | take two parameters. | ||||
* | | | Merge from 3.3. | Stefan Krah | 2014-01-04 | 1 | -3/+3 |
|\ \ \ | |/ / | |||||
| * | | Whitespace. | Stefan Krah | 2014-01-04 | 1 | -3/+3 |
| | | | |||||
* | | | * Issue #16113: Remove sha3 module again. | Martin v. Löwis | 2014-01-03 | 23 | -7930/+0 |
| | | | | | | | | | | | | Patch by Christian Heimes, with modifications. | ||||
* | | | Issue #18294: Fix uint_converter() in zlibmodule.c, fix the "> UINT_MAX" check | Victor Stinner | 2014-01-03 | 1 | -5/+6 |
| | | | |||||
* | | | audioop: adpcm2lin() and lin2adpcm() now raises a TypeError instead of a | Victor Stinner | 2014-01-03 | 1 | -0/+6 |
| | | | | | | | | | | | | SystemError if the state type is invalid. | ||||
* | | | threading.RLock._acquire_restore() now raises a TypeError instead of a | Victor Stinner | 2014-01-02 | 1 | -3/+3 |
| | | | | | | | | | | | | SystemError when it is not called with 2 arguments | ||||
* | | | (Merge 3.3) parser: fix usage of Py_BuildValue() to build a parser error | Victor Stinner | 2014-01-02 | 1 | -1/+1 |
|\ \ \ | |/ / | | | | | | | Fix typo: "os" format => "Os" | ||||
| * | | parser: fix usage of Py_BuildValue() to build a parser error | Victor Stinner | 2014-01-02 | 1 | -1/+1 |
| | | | | | | | | | | | | Fix typo: "os" format => "Os" | ||||
* | | | whatsnew for gc.get_stats, plus doc tweaks. | R David Murray | 2013-12-26 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clarified the "At the moment" wording, and added the get_stats entry in the module summary that Serhiy noted was missing at the end of issue 16351. Given that pydoc lists all the function docstrings, I'm not sure that module summary section is actually needed; but, it is probably better to address that when the module is converted to use Argument Clinic. In the meantime we should keep the list complete. |