summaryrefslogtreecommitdiff
path: root/Python/getargs.c
AgeCommit message (Expand)AuthorLines
2006-08-09Backport fixes for #1523610 (crashes in PyArg_ParseTuple):Georg Brandl-2/+13
2006-06-08Argh. "integer" is a very confusing word ;)Georg Brandl-2/+2
2006-06-08Bug #1502750: Fix getargs "i" format to use LONG_MIN and LONG_MAX for bounds ...Georg Brandl-2/+2
2005-09-14Complete format code support in getargs.c::skipitem(), which is called whenGeorg Brandl-59/+39
2005-08-26Disallow keyword arguments for type constructors that don't use themGeorg Brandl-0/+26
2005-03-03Revert previous checkin on getargs 'L' code. Try to convert allMartin v. Löwis-1/+0
2005-03-03Clear internal call error in 'L' format. Fixes #723201.Martin v. Löwis-0/+1
2004-08-07FixMichael W. Hudson-9/+7
2004-07-10Add PyArg_VaParseTupleAndKeywords(). Document this function andBrett Cannon-0/+36
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