summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Issue #20394: Attempt to silence CID 1164423: Division or modulo by zero in ↵Christian Heimes2014-01-271-1/+2
| | | | | | audioop_ratecv_impl() Serhiy and I had the same idea so it's most likely right. ;)
* Issue #20193: Fix commit r6f217456b9ba by including clinic/zlibmodule.c.h ↵Christian Heimes2014-01-271-1/+1
| | | | | | instead of zlibmodule.clinic.c
* silence compiler warning that 's' may be used uninitialized in the load ↵Christian Heimes2014-01-271-1/+1
| | | | function.
* Issue #20193: The zlib module now uses Argument Clinic.Serhiy Storchaka2014-01-262-307/+607
|
* cleanup after custom buffer converterBenjamin Peterson2014-01-262-6/+31
|
* fix refleak on errorBenjamin Peterson2014-01-261-4/+7
|
* Issue #20390: Final fix, for generating NoPositional/NoKeyword for __init__ ↵Larry Hastings2014-01-261-4/+7
| | | | calls.
* Fix for catestrophic errors in previous checkin (Argument Clinic rollup patch).Larry Hastings2014-01-266-1327/+1557
|
* Issue #20390: Small fixes and improvements for Argument Clinic.Larry Hastings2014-01-2613-79/+35
|
* (Merge 3.3) Issue #20311: Revert 033137c12d88 (02f9db3e684e),Victor Stinner2014-01-251-3/+1
|\ | | | | | | select.epoll.poll() rounds again the timeout towards zero
| * Issue #20311: Revert 033137c12d88, select.epoll.poll() rounds again the timeoutVictor Stinner2014-01-251-3/+1
| | | | | | | | towards zero
* | Issue #20193: The _lzma module now uses Argument Clinic.Serhiy Storchaka2014-01-252-146/+434
| | | | | | | | LZMACompressor.__init__ is left not converted.
* | Issue #20193: The _bz2 module now uses Argument Clinic.Serhiy Storchaka2014-01-252-72/+241
| |
* | Issue #20133: The audioop module now uses Argument Clinic.Serhiy Storchaka2014-01-252-486/+1427
| |
* | Fixed converting errors in the binascii module (issue20151).Serhiy Storchaka2014-01-252-62/+62
| | | | | | | | | | a2b_qp() now accepts keyword arguments. All "ascii" parameters is renamed to "data" for consistancy with a2b_qp().
* | Issue #20151: The binascii module now uses Argument Clinic.Serhiy Storchaka2014-01-252-294/+736
| |
* | merge 3.3 (#20374)Benjamin Peterson2014-01-241-4/+4
|\ \ | |/
| * new plan: just remove typecasts (closes #20374)Benjamin Peterson2014-01-241-4/+4
| |
* | Issue #20189: Four additional builtin types (PyTypeObject,Larry Hastings2014-01-2412-95/+95
| | | | | | | | | | | | 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.
* | merge 3.3 (#20374)Benjamin Peterson2014-01-241-3/+3
|\ \ | |/
| * use new readline function types (closes #20374)Benjamin Peterson2014-01-241-3/+3
| |
* | Issue #19936: Restored executable bits for several libffi files.Serhiy Storchaka2014-01-234-0/+0
|\ \ | |/ | | | | These files have shebangs and executable bits in the libffi distribution.
| * Issue #19936: Restored executable bits for several libffi files.Serhiy Storchaka2014-01-234-0/+0
| | | | | | | | These files have shebangs and executable bits in the libffi distribution.
* | Two minor Argument Clinic bugfixes: use the name of the class in theLarry Hastings2014-01-225-22/+25
| | | | | | | | | | docstring for __new__ and __init__, and always use "goto exit" instead of returning "NULL" for failure to parse (as _new__ and __init__ return ints).
* | (Merge 3.3) Issue #20311: select.epoll.poll() now rounds the timeout away fromVictor Stinner2014-01-211-1/+3
|\ \ | |/ | | | | | | | | zero, instead of rounding towards zero. For example, a timeout of one microsecond is now rounded to one millisecond, instead of being rounded to zero.
| * Issue #20311: select.epoll.poll() now rounds the timeout away from zero,Victor Stinner2014-01-211-1/+3
| | | | | | | | | | instead of rounding towards zero. For example, a timeout of one microsecond is now rounded to one millisecond, instead of being rounded to zero.
* | Issue #20315: Removed support for backward compatibility with early 2.x ↵Serhiy Storchaka2014-01-204-42/+0
|\ \ | |/ | | | | | | | | | | versions. Removed backward compatibility alias curses.window.nooutrefresh which should be removed in 2.3.
| * Issue #20315: Removed support for backward compatibility with early 2.x ↵Serhiy Storchaka2014-01-203-40/+0
| | | | | | | | versions.
* | Issue #20294: Argument Clinic now supports argument parsing for __new__ andLarry Hastings2014-01-191-48/+26
| | | | | | | | __init__ functions.
* | merge 3.3 (#17811)Benjamin Peterson2014-01-191-6/+10
|\ \ | |/
| * improve description of buffers argument for readv/writev (closes #17811)Benjamin Peterson2014-01-191-6/+10
| | | | | | | | Patch by Nikolaus Rath.
* | Issue #20287: Argument Clinic's output is now configurable, allowingLarry Hastings2014-01-183-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. Smith2014-01-171-1/+1
|\ \ | |/
| * avoid a compiler warning about assigning const char * to char *.Gregory P. Smith2014-01-171-1/+1
| |
* | Issue #20226: Major improvements to Argument Clinic.Larry Hastings2014-01-166-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 forgottenSerhiy Storchaka2014-01-162-0/+0
|\ \ | |/ | | | | test files.
| * Issue #19936: Remove executable bits from C source files and several forgottenSerhiy Storchaka2014-01-162-0/+0
| | | | | | | | test files.
* | Issue #19936: Added executable bits or shebang lines to Python scripts whichSerhiy Storchaka2014-01-164-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 whichSerhiy Storchaka2014-01-164-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 Krah2014-01-163-6/+0
|\ \ | |/
| * Issue #19936: Disable shebang lines in order to prevent using a randomStefan Krah2014-01-163-6/+0
| | | | | | | | system python.
* | Clinic-ize the crypt module. Derby!Antoine Pitrou2014-01-141-15/+56
| |
* | merge 3.3 (#20251)Benjamin Peterson2014-01-141-1/+0
|\ \ | |/
| * remove overly strict assertion (closes #20251)Benjamin Peterson2014-01-141-1/+0
| |
* | merge 3.3 (#20250)Benjamin Peterson2014-01-141-1/+3
|\ \ | |/
| * correct defaultdict signature in docstring (closes #20250)Benjamin Peterson2014-01-141-1/+3
| | | | | | | | Patch from Andrew Barnert.
| * merge 3.2 (#20246)Benjamin Peterson2014-01-141-0/+5
| |\
| | * complain when nbytes > buflen to fix possible buffer overflow (closes #20246)Benjamin Peterson2014-01-141-0/+5
| | |
| | * Issue #17857: Prevent build failures with pre-3.5.0 versions of sqlite3,Serhiy Storchaka2013-04-283-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 updateGregory P. Smith2013-04-301-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)