summaryrefslogtreecommitdiff
path: root/Python/getargs.c
AgeCommit message (Expand)AuthorLines
2003-05-03Patch #684981: Add cleanup capability for argument parsers. Fixes 501716.Martin v. Löwis-28/+90
2003-04-18Roll back changes to 'h' format code -- too much breaks. OtherGuido van Rossum-5/+5
2003-04-17SF # 595026: support for masks in getargs.c.Thomas Heller-27/+49
2003-03-29Rename LONG_LONG to PY_LONG_LONG. Fixes #710285.Martin v. Löwis-6/+6
2003-02-04If a float is passed where a int is expected, issue a DeprecationWarningNeil Schemenauer-12/+25
2003-01-24Raise a TypeError if a float is passed when an integer is specified.Neil Schemenauer-6/+24
2002-11-21Wrap uargs declaration in a #ifdef Py_USING_UNICODE, so thatWalter Dörwald-0/+2
2002-07-28Patch #554716: Use __va_copy where available.Martin v. Löwis-0/+4
2002-04-04Fix by Greg Chapman from SF bug 534347: Potential AV in vgetargskeywords.Guido van Rossum-1/+7
2002-01-09Fixed "u#" parser marker to pass through Unicode objects as-is withoutMarc-André Lemburg-2/+6
2001-12-03mysnprintf.c: Massive rewrite of PyOS_snprintf and PyOS_vsnprintf, toTim Peters-3/+3
2001-11-29SF bug 486278 SystemError: Python/getargs.c:1086: bad.Tim Peters-7/+10
2001-11-28Two screwups fixed for sizeof(char *) instead of sizeof(char []).Jeremy Hylton-77/+82
2001-11-28Use PyOS_snprintf() at some cost even though it was correct before.Jeremy Hylton-6/+7
2001-11-28Use PyOS_snprintf when possible.Jeremy Hylton-34/+41
2001-11-28Fixes for possible buffer overflows in sprintf() usages.Marc-André Lemburg-14/+9
2001-10-27vgetargskeywords()Tim Peters-16/+17
2001-10-27vgetargskeywords: Now that it's clear that nkwlist must equal max, andTim Peters-4/+3
2001-10-27vgetargskeywords: Prevent another potential sprintf buffer overrun.Tim Peters-2/+2
2001-10-27vgetargskeywords: Verify kwlist has the required length while parsingTim Peters-20/+24
2001-10-27vgetargskeywords: Removed all PyErr_Clear() calls. It's possible thatTim Peters-4/+8
2001-10-27vgetargskeywords: The keywords arg is a dict (if non-NULL), so use theTim Peters-5/+5
2001-10-27vgetargskeywords: Removed one of the mysterious PyErr_Clear() calls.Tim Peters-10/+1
2001-10-27vgetargskeywords:Tim Peters-16/+9
2001-10-27vgetargskeywords:Tim Peters-20/+7
2001-10-27vgetargskeywords:Tim Peters-12/+13
2001-10-27vgetargskeywords:Tim Peters-15/+10
2001-10-27PyArg_ParseTupleAndKeywords: return false on internal error, not -1 (ITim Peters-30/+34
2001-10-27PyArg_ParseTupleAndKeywords: do basic sanity checks on the arguments,Tim Peters-1/+16
2001-10-27tuple(3,4,5,x=2) dumped core on my box. vgetargskeywords() overindexedTim Peters-3/+13
2001-10-27vgetargskeywords(): remove test that can't succeed. Not a bugfix, justTim Peters-13/+7
2001-10-23PyArg_UnpackTuple(): New argument unpacking function suggested by JimFred Drake-0/+60
2001-10-23Style conformance: function name begins a new line *consistently*.Fred Drake-7/+11
2001-10-11Undo part of 2.59: 't' case of convertsimple() should not use convertbuffer().Jeremy Hylton-5/+11
2001-10-10One more place where PyString_AsString() was used after aJeremy Hylton-1/+1
2001-10-10Use AS_STRING() following the check and avoid an extra call.Jeremy Hylton-1/+1
2001-09-10Fix core dump in PyArg_ParseTuple() with Unicode arguments.Jeremy Hylton-15/+17
2001-08-28The "O!" format code should implement an isinstance() testGuido van Rossum-1/+1
2001-08-17Patch #445762: Support --disable-unicodeMartin v. Löwis-1/+21
2001-07-30Add _PyUnicode_AsDefaultEncodedString to unicodeobject.h.Jeremy Hylton-5/+0
2001-05-29Change cascaded if stmts to switch stmt in vgetargs1().Jeremy Hylton-19/+25
2001-05-29Internal refactoring of convertsimple() and friends.Jeremy Hylton-510/+509
2001-05-18Fix whitespace botch.Fred Drake-1/+1
2001-05-18vgetargs1() and vgetargskeywords(): Replace uses of PyTuple_Size() andJeremy Hylton-10/+8
2001-05-13Add support for Windows using "mbcs" as the default Unicode encoding when dea...Mark Hammond-1/+1
2001-05-02Added new parser markers 'et' and 'et#' which do not recode stringMarc-André Lemburg-4/+20
2001-02-12Related to SF bug 132008 (PyList_Reverse blows up).Tim Peters-0/+2
2001-01-25Better error message when non-dictionary received for **kwargJeremy Hylton-2/+7
2001-01-15This patch makes sure that the function name always appears in the errorKa-Ping Yee-26/+35
2000-12-11vgetargskeywords(): Patch for memory leak identified in bug #119862.Barry Warsaw-0/+1