Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #20354: Fix alignment issue in the tracemalloc module on 64-bit | Victor Stinner | 2014-02-01 | 1 | -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 Cannon | 2014-01-31 | 1 | -1/+1 |
| | |||||
* | Issue #20390: Removing detritus from Argument Clinic "file preset" name change. | Larry Hastings | 2014-01-31 | 1 | -231/+0 |
| | |||||
* | Issue #20452: select and selectors round (again) timeout away from zero for | Victor Stinner | 2014-01-31 | 1 | -1/+3 |
| | | | | | | poll and epoll Improve also debug info to analyze the issue | ||||
* | overlapped.c: Fix usage of the union | Victor Stinner | 2014-01-30 | 1 | -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 to | Larry Hastings | 2014-01-28 | 23 | -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 Storchaka | 2014-01-27 | 2 | -479/+485 |
| | | | | file. | ||||
* | Issue #20394: Attempt to silence CID 1164423: Division or modulo by zero in ↵ | Christian Heimes | 2014-01-27 | 1 | -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 Heimes | 2014-01-27 | 1 | -1/+1 |
| | | | | | | instead of zlibmodule.clinic.c | ||||
* | silence compiler warning that 's' may be used uninitialized in the load ↵ | Christian Heimes | 2014-01-27 | 1 | -1/+1 |
| | | | | function. | ||||
* | Issue #20193: The zlib module now uses Argument Clinic. | Serhiy Storchaka | 2014-01-26 | 2 | -307/+607 |
| | |||||
* | cleanup after custom buffer converter | Benjamin Peterson | 2014-01-26 | 2 | -6/+31 |
| | |||||
* | fix refleak on error | Benjamin Peterson | 2014-01-26 | 1 | -4/+7 |
| | |||||
* | Issue #20390: Final fix, for generating NoPositional/NoKeyword for __init__ ↵ | Larry Hastings | 2014-01-26 | 1 | -4/+7 |
| | | | | calls. | ||||
* | Fix for catestrophic errors in previous checkin (Argument Clinic rollup patch). | Larry Hastings | 2014-01-26 | 6 | -1327/+1557 |
| | |||||
* | Issue #20390: Small fixes and improvements for Argument Clinic. | Larry Hastings | 2014-01-26 | 13 | -79/+35 |
| | |||||
* | (Merge 3.3) Issue #20311: Revert 033137c12d88 (02f9db3e684e), | Victor Stinner | 2014-01-25 | 1 | -3/+1 |
|\ | | | | | | | select.epoll.poll() rounds again the timeout towards zero | ||||
| * | Issue #20311: Revert 033137c12d88, select.epoll.poll() rounds again the timeout | Victor Stinner | 2014-01-25 | 1 | -3/+1 |
| | | | | | | | | towards zero | ||||
* | | Issue #20193: The _lzma module now uses Argument Clinic. | Serhiy Storchaka | 2014-01-25 | 2 | -146/+434 |
| | | | | | | | | LZMACompressor.__init__ is left not converted. | ||||
* | | Issue #20193: The _bz2 module now uses Argument Clinic. | Serhiy Storchaka | 2014-01-25 | 2 | -72/+241 |
| | | |||||
* | | Issue #20133: The audioop module now uses Argument Clinic. | Serhiy Storchaka | 2014-01-25 | 2 | -486/+1427 |
| | | |||||
* | | Fixed converting errors in the binascii module (issue20151). | Serhiy Storchaka | 2014-01-25 | 2 | -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 Storchaka | 2014-01-25 | 2 | -294/+736 |
| | | |||||
* | | merge 3.3 (#20374) | Benjamin Peterson | 2014-01-24 | 1 | -4/+4 |
|\ \ | |/ | |||||
| * | new plan: just remove typecasts (closes #20374) | Benjamin Peterson | 2014-01-24 | 1 | -4/+4 |
| | | |||||
* | | Issue #20189: Four additional builtin types (PyTypeObject, | Larry Hastings | 2014-01-24 | 12 | -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 Peterson | 2014-01-24 | 1 | -3/+3 |
|\ \ | |/ | |||||
| * | use new readline function types (closes #20374) | Benjamin Peterson | 2014-01-24 | 1 | -3/+3 |
| | | |||||
* | | Issue #19936: Restored executable bits for several libffi files. | Serhiy Storchaka | 2014-01-23 | 4 | -0/+0 |
|\ \ | |/ | | | | | These files have shebangs and executable bits in the libffi distribution. | ||||
| * | Issue #19936: Restored executable bits for several libffi files. | Serhiy Storchaka | 2014-01-23 | 4 | -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 the | Larry Hastings | 2014-01-22 | 5 | -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 from | Victor Stinner | 2014-01-21 | 1 | -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 Stinner | 2014-01-21 | 1 | -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 Storchaka | 2014-01-20 | 4 | -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 Storchaka | 2014-01-20 | 3 | -40/+0 |
| | | | | | | | | versions. | ||||
* | | Issue #20294: Argument Clinic now supports argument parsing for __new__ and | Larry Hastings | 2014-01-19 | 1 | -48/+26 |
| | | | | | | | | __init__ functions. | ||||
* | | merge 3.3 (#17811) | Benjamin Peterson | 2014-01-19 | 1 | -6/+10 |
|\ \ | |/ | |||||
| * | improve description of buffers argument for readv/writev (closes #17811) | Benjamin Peterson | 2014-01-19 | 1 | -6/+10 |
| | | | | | | | | Patch by Nikolaus Rath. | ||||
* | | 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 |
|\ \ | |/ |