summaryrefslogtreecommitdiff
path: root/Python/getargs.c
AgeCommit message (Expand)AuthorLines
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
2000-12-01Clarified some of the error messages, esp. "read-only characterGuido van Rossum-17/+16
2000-09-26Rationalize use of limits.h, moving the inclusion to Python.h.Fred Drake-3/+0
2000-09-21Special case the "s#" PyArg_Parse() token for Unicode objects:Marc-André Lemburg-26/+53
2000-09-15Added B format char to Py_BuildValue (same as b,h,i, but makesJack Jansen-1/+1
2000-09-08This patch hopefully fixes the problem with "es#" and "es" inMarc-André Lemburg-0/+2
2000-09-01REMOVED all CWI, CNRI and BeOpen copyright markings.Guido van Rossum-9/+0
2000-08-05Changed H specifier to mean "bitfield", i.e. any value fromJack Jansen-5/+27
2000-08-03This patch finalizes the move from UTF-8 to a default encoding inMarc-André Lemburg-4/+6
2000-07-22Mass ANSIfication of function definitions. Doesn't cover all 'extern'Thomas Wouters-95/+12
2000-07-16Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in eitherThomas Wouters-1/+1