summaryrefslogtreecommitdiff
path: root/Python/getargs.c
AgeCommit message (Expand)AuthorLines
2007-11-30Backport of r59241: str.decode fails on very long strings on 64bit platforms.Amaury Forgeot d'Arc-3/+4
2006-10-04Forward-port of r52136: a review of overflow-detecting code.Armin Rigo-3/+4
2006-08-09Introduce an upper bound on tuple nesting depth inGeorg Brandl-0/+3
2006-07-26Part of bug #1523610: fix miscalculation of buffer length.Georg Brandl-2/+10
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
2006-04-18C++ compiler cleanup: cast...Skip Montanaro-2/+2
2006-04-14Make Py_BuildValue, PyObject_CallFunction andMartin v. Löwis-0/+12
2006-04-14SF Bug #1454485, array.array('u') could crash the interpreter whenNeal Norwitz-5/+2
2006-04-13Add a test for Py_ssize_t. Correct typo in getargs.c.Georg Brandl-2/+2
2006-04-12avoid C++ name mangling for the _Py.*SizeT functionsAnthony Baxter-0/+6
2006-03-01Fix C99-ism, and add XXX to commentThomas Wouters-1/+1
2006-03-01Use %zd format characters for Py_ssize_t types.Thomas Wouters-6/+6
2006-03-01Use Py_ssize_t for PyArg_UnpackTuple arguments.Martin v. Löwis-2/+2
2006-02-27Revert backwards-incompatible const changes.Martin v. Löwis-10/+11
2006-02-20Based on discussion with Martin and Thomas on python-checkinsNeal Norwitz-1/+1
2006-02-19Fix compiler warning on amd64. We can't use zd here since this isNeal Norwitz-2/+2
2006-02-16Use Py_ssize_t to count theMartin v. Löwis-2/+2
2006-02-15Merge ssize_t branch.Martin v. Löwis-60/+202
2006-01-20typoGeorg Brandl-1/+1
2005-12-19Remove extra parensNeal Norwitz-1/+1
2005-12-19Fix SF bug #1072182, problems with signed characters.Neal Norwitz-4/+4
2005-12-10Add const to several API functions that take char *.Jeremy Hylton-46/+44
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 them.Georg Brandl-0/+26
2005-03-30I suppose a bug report or even a fix would be a better response, butMichael W. Hudson-1/+2
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