| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2013-02-09 | Issue #17173: Remove uses of locale-dependent C functions (isalpha() etc.) ↵ | Antoine Pitrou | -3/+3 | |
| in the interpreter. I've left a couple of them in: zlib (third-party lib), getaddrinfo.c (doesn't include Python.h, and probably obsolete), _sre.c (legitimate use for the re.LOCALE flag), mpdecimal (needs to build without Python.h). | ||||
| 2013-02-09 | Issue #17173: Remove uses of locale-dependent C functions (isalpha() etc.) ↵ | Antoine Pitrou | -3/+3 | |
| in the interpreter. I've left a couple of them in: zlib (third-party lib), getaddrinfo.c (doesn't include Python.h, and probably obsolete), _sre.c (legitimate use for the re.LOCALE flag). | ||||
| 2012-09-10 | Added missing va_end in error branch of PyArg_UnpackTuple(). CID 486641 | Christian Heimes | -0/+1 | |
| 2012-09-10 | Added missing va_end in error branch of PyArg_UnpackTuple(). CID 486641 | Christian Heimes | -0/+1 | |
| 2012-05-29 | PyArg_Parse*("U"): ensure that the Unicode string is ready | Victor Stinner | -1/+4 | |
| 2012-05-08 | Issue #14746: Remove redundant paragraphs from skipitem() in Python/getargs.c. | Larry Hastings | -18/+8 | |
| 2012-05-08 | Merge from 3.2. Issue #14749: Add support for 'Z' to skipitem(). | Larry Hastings | -0/+1 | |
| 2012-05-08 | Issue #14749: Add support for 'Z' to skipitem() in Python/getargs.c. | Larry Hastings | -0/+1 | |
| 2012-05-07 | Issue #14705: Added support for the new 'p' format unit to skipitem(). | Larry Hastings | -0/+1 | |
| 2012-05-05 | Issue #14705: Add 'p' format character to PyArg_ParseTuple* for bool support. | Larry Hastings | -0/+12 | |
| 2012-03-20 | Issue #14328: Add keyword-only parameters to PyArg_ParseTupleAndKeywords. | Larry Hastings | -1/+33 | |
| They're optional-only for now (unlike in pure Python) but that's all I needed. The syntax can easily be relaxed if we want to support required keyword-only arguments for extension types in the future. | ||||
| 2012-03-16 | plug memory leak (closes #14325) | Benjamin Peterson | -1/+1 | |
| 2012-03-16 | kill capsule names that we don't need anymore | Benjamin Peterson | -4/+0 | |
| 2012-03-16 | use memory macros | Benjamin Peterson | -3/+3 | |
| 2012-03-16 | check result of PyMem_New | Benjamin Peterson | -0/+8 | |
| 2012-03-16 | Issue #14325: Stop using python lists, capsules, and the garbage collector ↵ | Jean-Paul Calderone | -118/+83 | |
| to deal with PyArg_Parse* cleanup. | ||||
| 2011-10-13 | convertsimple(): "str without bytes" => "str without characters" | Victor Stinner | -3/+3 | |
| 2011-10-11 | Use PyUnicode_AsUnicodeAndSize() instead of PyUnicode_GET_SIZE() | Victor Stinner | -4/+6 | |
| 2011-10-04 | Fix usage og PyUnicode_READY() | Victor Stinner | -7/+14 | |
| 2011-09-28 | Implement PEP 393. | Martin v. Löwis | -21/+25 | |
| 2011-07-29 | Issue #12380: PyArg_ParseTuple now accepts a bytearray for the 'c' format. | Eli Bendersky | -0/+2 | |
| As a side effect, this now allows the rjust, ljust and center methods of bytes and bytearray to accept a bytearray argument. Patch by Petri Lehtinen | ||||
| 2011-03-21 | Issue #10833: Use PyErr_Format() and PyUnicode_FromFormat() instead of | Victor Stinner | -26/+22 | |
| PyOS_snprintf() to avoid temporary buffer allocated on the stack and a conversion from bytes to Unicode. | ||||
| 2011-03-02 | Remove useless argument of _PyUnicode_AsDefaultEncodedString() | Victor Stinner | -1/+1 | |
| 2011-02-22 | Issue #8914: fix various warnings from the Clang static analyzer v254. | Brett Cannon | -3/+2 | |
| 2011-01-04 | Issue #8992: convertsimple() doesn't need to fill msgbuf if an error occurred | Victor Stinner | -38/+41 | |
| Return msgbug on error is enough. | ||||
| 2011-01-04 | Issue #8992: Simplify addcleanup() API | Victor Stinner | -13/+15 | |
| Don't need to handle unknown destructor anymore. | ||||
| 2011-01-04 | Issue #8651: PyArg_Parse*() functions raise an OverflowError if the file | Victor Stinner | -1/+11 | |
| doesn't have PY_SSIZE_T_CLEAN define and the size doesn't fit in an int (length bigger than 2^31-1). | ||||
| 2010-11-17 | handle dict subclasses gracefully in PyArg_ValidateKeywordArguments | Benjamin Peterson | -1/+1 | |
| 2010-08-11 | Issue #2443: Added a new macro, Py_VA_COPY, which is equivalent to C99 | Alexander Belopolsky | -36/+4 | |
| va_copy, but available on all python platforms. Untabified a few unrelated files. | ||||
| 2010-07-28 | Issue #8991: convertbuffer() rejects discontigious buffers | Victor Stinner | -21/+8 | |
| 2010-06-25 | Issue #8850: Remove "w" and "w#" formats from PyArg_Parse*() functions, use | Victor Stinner | -47/+17 | |
| "w*" format instead. Add tests for "w*" format. | ||||
| 2010-06-24 | getbuffer(): release the buffer on error (if the buffer is not contiguous) | Victor Stinner | -0/+1 | |
| 2010-06-24 | PyArg_Parse*() functions: factorize code for s/z and u/Z formats | Victor Stinner | -96/+25 | |
| 2010-06-24 | Issue #8949: "z" format of PyArg_Parse*() functions doesn't accept bytes | Victor Stinner | -5/+0 | |
| objects, as described in the documentation. | ||||
| 2010-06-13 | getargs.c: remove last reference to "t#" format | Victor Stinner | -1/+0 | |
| "t#" format was removed from convertitem() (convertsimple) but not skipitem(). | ||||
| 2010-06-13 | Issue #8592: PyArg_Parse*() functions raise a TypeError for "y", "u" and "Z" | Victor Stinner | -3/+17 | |
| formats if the string contains a null byte/character. Write unit tests for string formats. | ||||
| 2010-06-10 | Issue #8950: Make PyArg_Parse* with 'L' code raise for float inputs, | Mark Dickinson | -17/+3 | |
| instead of warning. This makes it consistent with the other integer codes. | ||||
| 2010-06-08 | Issue #8838, #8339: Remove codecs.charbuffer_encode() and "t#" parsing format | Victor Stinner | -40/+1 | |
| Remove last references to the "char buffer" of the buffer protocol from Python3. | ||||
| 2010-06-08 | PyArg_Parse*("Z#") raises an error for unknown type | Victor Stinner | -3/+4 | |
| instead of ignoring the error and leave the pointer to the string and the size unchanged (not initialized). Fix also the type in the error message of "Z", "Z#" and "Y" formats. | ||||
| 2010-06-06 | convertsimple(): call PyErr_NoMemory() on PyMem_NEW() failure | Victor Stinner | -0/+2 | |
| Raise a more revelant error (MemoryError instead of TypeError) | ||||
| 2010-06-06 | Simplify getbuffer(): convertbuffer() fails anyway if bf_getbuffer is NULL | Victor Stinner | -19/+11 | |
| 2010-05-29 | Remove dead code | Victor Stinner | -12/+1 | |
| 2010-05-28 | Issue #8837: Remove "O?" format of PyArg_Parse*() functions. The format is no | Victor Stinner | -11/+0 | |
| used anymore and it was never documented. | ||||
| 2010-05-19 | Issue #6697: Fix a crash if a keyword contains a surrogate | Victor Stinner | -6/+9 | |
| 2010-05-09 | Recorded merge of revisions 81029 via svnmerge from | Antoine Pitrou | -1539/+1539 | |
| svn+ssh://pythondev@svn.python.org/python/trunk ........ r81029 | antoine.pitrou | 2010-05-09 16:46:46 +0200 (dim., 09 mai 2010) | 3 lines Untabify C files. Will watch buildbots. ........ | ||||
| 2010-04-24 | prevent the dict constructor from accepting non-string keyword args #8419 | Benjamin Peterson | -0/+15 | |
| This adds PyArg_ValidateKeywordArguments, which checks that keyword arguments are all strings, using an optimized method if possible. | ||||
| 2010-04-06 | Merged revisions 79837 via svnmerge from | Antoine Pitrou | -10/+0 | |
| svn+ssh://pythondev@svn.python.org/python/trunk ........ r79837 | antoine.pitrou | 2010-04-06 17:38:25 +0200 (mar., 06 avril 2010) | 19 lines 14 years later, we still don't know what it's for. Spotted by the PyPy developers. Original commit is: branch: trunk user: guido date: Mon Aug 19 21:32:04 1996 +0200 files: Python/getargs.c description: [svn r6499] Support for keyword arguments (PyArg_ParseTupleAndKeywords) donated by Geoff Philbrick <philbric@delphi.hks.com> (slightly changed by me). Also a little change to make the file acceptable to K&R C compilers (HPUX, SunOS 4.x). ........ | ||||
| 2010-01-01 | Merged revisions 77218 via svnmerge from | Mark Dickinson | -1/+17 | |
| svn+ssh://pythondev@svn.python.org/python/trunk ........ r77218 | mark.dickinson | 2010-01-01 17:27:30 +0000 (Fri, 01 Jan 2010) | 5 lines Issue #5080: turn the DeprecationWarning from float arguments passed to integer PyArg_Parse* format codes into a TypeError. Add a DeprecationWarning for floats passed with the 'L' format code, which didn't previously have a warning. ........ | ||||
| 2009-12-03 | Issue #7414: Add missing 'case 'C'' to skipitem() in getargs.c. This | Mark Dickinson | -0/+1 | |
| was causing PyArg_ParseTupleAndKeywords(args, kwargs, "|CC", ...) to fail with a RuntimeError. Thanks Case Van Horsen for tracking down the source of this error. | ||||
| 2009-10-18 | Issue 7147 - remove ability to attempt to build Python without complex ↵ | Skip Montanaro | -4/+0 | |
| number support (was broken anyway) | ||||
