summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Issue #20354: Fix alignment issue in the tracemalloc module on 64-bitVictor Stinner2014-02-011-1/+2
| | | | | | | | platforms. Bug seen on 64-bit Linux when using "make profile-opt". Only align the "frame_t" structure on 32-bit when Visual Studio is used. Before the alignment to 32-bit was applied to the whole file any compiler supporting "#pragma pack(4)" which includes GCC.
* The function name for cmath.isinf in PyArg_ParseTuple() was wrong.Brett Cannon2014-01-311-1/+1
|
* Issue #20390: Removing detritus from Argument Clinic "file preset" name change.Larry Hastings2014-01-311-231/+0
|
* Issue #20452: select and selectors round (again) timeout away from zero forVictor Stinner2014-01-311-1/+3
| | | | | | poll and epoll Improve also debug info to analyze the issue
* overlapped.c: Fix usage of the unionVictor Stinner2014-01-301-9/+11
| | | | | * read_buffer can only be used for TYPE_READ and TYPE_ACCEPT types * write_buffer can only be used for TYPE_WRITE type
* Issue #20326: Argument Clinic now uses a simple, unique signature toLarry Hastings2014-01-2823-211/+211
| | | | | | | | | | 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 #20395: Extract generated clinic code in Modules/_pickle.c to separate ↵Serhiy Storchaka2014-01-272-479/+485
| | | | file.
* 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
|\ \ | |/