summaryrefslogtreecommitdiff
path: root/Python/getargs.c
AgeCommit message (Expand)AuthorLines
2012-03-16use memory macrosBenjamin Peterson-3/+3
2012-03-16check result of PyMem_NewBenjamin Peterson-0/+8
2012-03-16Issue #14325: Stop using python lists, capsules, and the garbage collector to...Jean-Paul Calderone-118/+83
2011-10-13convertsimple(): "str without bytes" => "str without characters"Victor Stinner-3/+3
2011-10-11Use PyUnicode_AsUnicodeAndSize() instead of PyUnicode_GET_SIZE()Victor Stinner-4/+6
2011-10-04Fix usage og PyUnicode_READY()Victor Stinner-7/+14
2011-09-28Implement PEP 393.Martin v. Löwis-21/+25
2011-07-29Issue #12380: PyArg_ParseTuple now accepts a bytearray for the 'c' format.Eli Bendersky-0/+2
2011-03-21Issue #10833: Use PyErr_Format() and PyUnicode_FromFormat() instead ofVictor Stinner-26/+22
2011-03-02Remove useless argument of _PyUnicode_AsDefaultEncodedString()Victor Stinner-1/+1
2011-02-22Issue #8914: fix various warnings from the Clang static analyzer v254.Brett Cannon-3/+2
2011-01-04Issue #8992: convertsimple() doesn't need to fill msgbuf if an error occurredVictor Stinner-38/+41
2011-01-04Issue #8992: Simplify addcleanup() APIVictor Stinner-13/+15
2011-01-04Issue #8651: PyArg_Parse*() functions raise an OverflowError if the fileVictor Stinner-1/+11
2010-11-17handle dict subclasses gracefully in PyArg_ValidateKeywordArgumentsBenjamin Peterson-1/+1
2010-08-11Issue #2443: Added a new macro, Py_VA_COPY, which is equivalent to C99Alexander Belopolsky-36/+4
2010-07-28Issue #8991: convertbuffer() rejects discontigious buffersVictor Stinner-21/+8
2010-06-25Issue #8850: Remove "w" and "w#" formats from PyArg_Parse*() functions, useVictor Stinner-47/+17
2010-06-24getbuffer(): release the buffer on error (if the buffer is not contiguous)Victor Stinner-0/+1
2010-06-24PyArg_Parse*() functions: factorize code for s/z and u/Z formatsVictor Stinner-96/+25
2010-06-24Issue #8949: "z" format of PyArg_Parse*() functions doesn't accept bytesVictor Stinner-5/+0
2010-06-13getargs.c: remove last reference to "t#" formatVictor Stinner-1/+0
2010-06-13Issue #8592: PyArg_Parse*() functions raise a TypeError for "y", "u" and "Z"Victor Stinner-3/+17
2010-06-10Issue #8950: Make PyArg_Parse* with 'L' code raise for float inputs,Mark Dickinson-17/+3
2010-06-08Issue #8838, #8339: Remove codecs.charbuffer_encode() and "t#" parsing formatVictor Stinner-40/+1
2010-06-08PyArg_Parse*("Z#") raises an error for unknown typeVictor Stinner-3/+4
2010-06-06convertsimple(): call PyErr_NoMemory() on PyMem_NEW() failureVictor Stinner-0/+2
2010-06-06Simplify getbuffer(): convertbuffer() fails anyway if bf_getbuffer is NULLVictor Stinner-19/+11
2010-05-29Remove dead codeVictor Stinner-12/+1
2010-05-28Issue #8837: Remove "O?" format of PyArg_Parse*() functions. The format is noVictor Stinner-11/+0
2010-05-19Issue #6697: Fix a crash if a keyword contains a surrogateVictor Stinner-6/+9
2010-05-09Recorded merge of revisions 81029 via svnmerge fromAntoine Pitrou-1539/+1539
2010-04-24prevent the dict constructor from accepting non-string keyword args #8419Benjamin Peterson-0/+15
2010-04-06Merged revisions 79837 via svnmerge fromAntoine Pitrou-10/+0
2010-01-01Merged revisions 77218 via svnmerge fromMark Dickinson-1/+17
2009-12-03Issue #7414: Add missing 'case 'C'' to skipitem() in getargs.c. ThisMark Dickinson-0/+1
2009-10-18Issue 7147 - remove ability to attempt to build Python without complex number...Skip Montanaro-4/+0
2009-08-01- Issue #6624: yArg_ParseTuple with "s" format when parsing argument withSean Reifscheider-1/+1
2009-05-29Issue #6012: Add cleanup support to O& argument parsing.Martin v. Löwis-1/+47
2009-05-05add a replacement API for PyCObject, PyCapsule #5630Benjamin Peterson-8/+26
2009-04-11Merged revisions 70980,71059,71225,71234,71241,71243,71249,71251,71255,71266,...Benjamin Peterson-1/+1
2009-04-02make 'c' only accept bytes and 'C' only unicode #5499Benjamin Peterson-10/+4
2008-12-27Merged revisions 67889-67892,67895,67898,67904-67907,67912,67918,67920-67921,...Benjamin Peterson-1/+1
2008-12-27string -> bytes in error message #4745Benjamin Peterson-1/+1
2008-08-29#3668: When PyArg_ParseTuple correctly parses a s* format, but raises anAntoine Pitrou-15/+46
2008-08-27Fix #3651 various memory leaks when using the buffer interfaceBenjamin Peterson-10/+11
2008-08-24Merged revisions 66006 via svnmerge fromNeal Norwitz-3/+7
2008-08-13Merged revisions 65654 via svnmerge fromMartin v. Löwis-11/+108
2008-08-07Rename PyUnicode_AsString -> _PyUnicode_AsString andMarc-André Lemburg-1/+1
2008-05-26Renamed PyString to PyBytesChristian Heimes-22/+22