summaryrefslogtreecommitdiffstats
path: root/Modules/clinic
Commit message (Collapse)AuthorAgeFilesLines
* Issue #25638: Optimized ElementTree.iterparse(); it is now 2x faster.Serhiy Storchaka2015-12-071-3/+4
| | | | | ElementTree.XMLParser._setevents now accepts any objects with the append method, not just a list.
* Issue #25626: Merge zlib fix from 3.5Martin Panter2015-11-211-4/+4
|\
| * Issue #25626: Change zlib to accept Py_ssize_t and cap to UINT_MAXMartin Panter2015-11-201-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The underlying zlib library stores sizes in “unsigned int”. The corresponding Python parameters are all sizes of buffers filled in by zlib, so it is okay to reduce higher values to the UINT_MAX internal cap. OverflowError is still raised for sizes that do not fit in Py_ssize_t. Sizes are now limited to Py_ssize_t rather than unsigned long, because Python byte strings cannot be larger than Py_ssize_t. Previously this could result in a SystemError on 32-bit platforms. This resolves a regression in the gzip module when reading more than UINT_MAX or LONG_MAX bytes in one call, introduced by revision 62723172412c.
* | Issue #25523: Merge a-to-an corrections from 3.5Martin Panter2015-11-021-5/+5
|\ \ | |/
| * Issue #25523: Merge "a" to "an" fixes from 3.4 into 3.5Martin Panter2015-11-021-5/+5
| |\
| | * Issue #25523: Correct "a" article to "an" articleMartin Panter2015-11-021-5/+5
| | | | | | | | | | | | | | | | | | This changes the main documentation, doc strings, source code comments, and a couple error messages in the test suite. In some cases the word was removed or edited some other way to fix the grammar.
* | | Issue #25357: Add an optional newline paramer to binascii.b2a_base64().Victor Stinner2015-10-111-7/+10
| | | | | | | | | | | | base64.b64encode() uses it to avoid a memory copy.
* | | Issue #23738: Merge 3.5 into 3.6Martin Panter2015-09-091-3/+3
|\ \ \ | |/ /
| * | Issue #23738: Merge 3.4 into 3.5Martin Panter2015-09-091-3/+3
| |\ \ | | |/
* | | Issue #23530: fix clinic comment.Charles-François Natali2015-08-131-3/+7
|/ /
* | Issue #24824: Signatures of codecs.encode() and codecs.decode() now areSerhiy Storchaka2015-08-091-7/+5
| | | | | | | | compatible with pydoc.
* | Issue #19176: Fixed doctype() related bugs in C implementation of ElementTree.Serhiy Storchaka2015-06-291-6/+19
|\ \ | |/ | | | | | | | | | | A deprecation warning no longer issued by XMLParser subclass with default doctype() method. Direct call of doctype() now issues a warning. Parser's doctype() now is not called if target's doctype() is called. Based on patch by Martin Panter.
* | Issue #19543: Implementation of isclose as per PEP 485Tal Einat2015-05-311-1/+52
| | | | | | | | | | | | | | | | | | For details, see: PEP 0485 -- A Function for testing approximate equality Functions added: math.isclose() and cmath.isclose(). Original code by Chris Barker. Patch by Tal Einat.
* | Specify default values of semantic booleans in Argument Clinic generated ↵Serhiy Storchaka2015-05-301-6/+6
| | | | | | | | signatures as booleans.
* | Fixed compilation error in signalmodule.c (issue #20182).Serhiy Storchaka2015-05-161-5/+5
| |
* | Issue #20182: converted the signal module to use Argument ClinicTal Einat2015-05-161-0/+432
| |
* | Issue #20172: Update clinicizations to current clinic.Zachary Ware2015-05-131-65/+68
| |
* | Issue #20172: Convert the _winapi module to Argument Clinic.Zachary Ware2015-05-131-0/+851
| |
* | Converted os._getfullpathname() and os._isdir() to Argument Clinic.Serhiy Storchaka2015-05-121-1/+73
| |
* | Issue #20173: Converted the _codecs module to Argument Clinic.Serhiy Storchaka2015-05-121-1/+1369
| |
* | Issue #20159. Converted the _elementtree module to Argument Clinic.Serhiy Storchaka2015-05-041-0/+666
| |
* | Issue #20179: Converted the _ssl module to Argument Clinic.Serhiy Storchaka2015-05-031-0/+1105
| |
* | Issue #20148: Converted the _sre module to Argument Clinic.Serhiy Storchaka2015-05-031-0/+693
| |
* | Issue #20168: Converted the _tkinter module to Argument Clinic.Serhiy Storchaka2015-05-031-0/+624
| |
* | Issue #24007: Argument Clinic now writes the format of PyArg_Parse*() at theSerhiy Storchaka2015-04-2325-634/+288
| | | | | | | | same line as function name.
* | Issue #23728: binascii.crc_hqx() could return an integer outside of the rangeSerhiy Storchaka2015-04-201-8/+8
|\ \ | |/ | | | | 0-0xffff for empty data.
| * Issue #23728: binascii.crc_hqx() could return an integer outside of the rangeSerhiy Storchaka2015-04-201-7/+7
| | | | | | | | 0-0xffff for empty data.
* | Issue #20181: Converted the unicodedata module to Argument Clinic.Serhiy Storchaka2015-04-171-12/+360
| |
* | Issue #20184: Converted _dbm and _gdbm modules to Argument Clinic.Serhiy Storchaka2015-04-172-10/+336
| |
* | Issue #23944: Argument Clinic now wraps long impl prototypes at column 78.Larry Hastings2015-04-1413-75/+144
| |
* | Issue #20586: Argument Clinic now ensures signatures on functions without ↵Zachary Ware2015-04-131-2/+3
| | | | | | | | docstrings.
* | Issue #23668: Regenerates posixmodule.c.h for new ifdefsSteve Dower2015-04-121-5/+5
| |
* | Issue #23492: Argument Clinic now generates argument parsing code withSerhiy Storchaka2015-04-0311-236/+236
| | | | | | | | PyArg_Parse instead of PyArg_ParseTuple if possible.
* | Issue #23501: Argumen Clinic now generates code into separate files by default.Serhiy Storchaka2015-04-0314-0/+6984
| |
* | Issue #23500: Argument Clinic is now smarter about generating the "#ifndef"Larry Hastings2015-04-032-14/+10
| | | | | | | | | | | | (empty) definition of the methoddef macro: it's only generated once, even if Argument Clinic processes the same symbol multiple times, and it's emitted at the end of all processing rather than immediately after the first use.
* | Issue #22832: Tweaked parameter names for fcntl module to better matchSerhiy Storchaka2015-03-201-18/+17
| | | | | | | | | | official POSIX documentation. Updated the documenttion for Python 3. Patch by Alex Shkop.
* | Issue #15955: Add an option to limit the output size in bz2.decompress().Antoine Pitrou2015-02-261-14/+23
| | | | | | | | Patch by Nikolaus Rath.
* | Regenerated Argument Clinic checksums.Serhiy Storchaka2015-02-202-3/+3
| |
* | Merge with 3.4 (closes #23280)Zachary Ware2015-01-201-1/+69
|\ \ | |/
| * Issue #23280: Fix docstrings for binascii.(un)hexlifyZachary Ware2015-01-201-1/+69
| |
* | Issue #15955: Add an option to limit output size when decompressing LZMA data.Antoine Pitrou2015-01-171-14/+23
| | | | | | | | Patch by Nikolaus Rath and Martin Panter.
* | Issue #21092: Merge from 3.4.Mark Dickinson2015-01-111-3/+3
|\ \ | |/
* | Issue #15513: Added a __sizeof__ implementation for pickle classes.Serhiy Storchaka2014-12-161-1/+55
|\ \ | |/
| * Issue #15513: Added a __sizeof__ implementation for pickle classes.Serhiy Storchaka2014-12-161-1/+55
| |
* | Issue 20152, 22821: Port the fcntl module to Argument Clinic.Brett Cannon2014-11-101-0/+188
| | | | | | | | | | | | | | | | Along the way, fix an argumrnt to fcntl.fcntl to be an int instead of a long. Thanks to Serhiy Storchaka for reviewing my Clinic patch and for writing the patch to fix the long/int issue.
* | Issue #20152: Convert the cmath module to Argument Clinic.Brett Cannon2014-10-141-0/+851
| |
* | Issue #22615: Argument Clinic now supports the "type" argument for theLarry Hastings2014-10-131-3/+3
| | | | | | | | | | int converter. This permits using the int converter with enums and typedefs.
* | Issue #20152: Port the array module to Argument Clinic.Brett Cannon2014-10-101-0/+505
| |
* | Add a missing Argument Clinic fileBrett Cannon2014-08-221-0/+73
| |
* | Issue #20152: Port the spwd module to Argument Clinic.Brett Cannon2014-08-221-0/+70
| |