270 Commits (e7ffb99f842ebff97cffa0fc90b18be4e5abecf2)

Author SHA1 Message Date
Martin v. Löwis 6ce7ed23d0 Revert previous checkin on getargs 'L' code. Try to convert all 21 years ago
Martin v. Löwis ff232d7230 Clear internal call error in 'L' format. Fixes #723201. 21 years ago
Michael W. Hudson 34553388ef Fix 22 years ago
Brett Cannon 711e7d97e4 Add PyArg_VaParseTupleAndKeywords(). Document this function and 22 years ago
Martin v. Löwis e6bbb4d16f Patch #684981: Add cleanup capability for argument parsers. Fixes 501716. 23 years ago
Guido van Rossum fce26e7f9f Roll back changes to 'h' format code -- too much breaks. Other 23 years ago
Thomas Heller a4ea603b05 SF # 595026: support for masks in getargs.c. 23 years ago
Martin v. Löwis b9a0f91218 Rename LONG_LONG to PY_LONG_LONG. Fixes #710285. 23 years ago
Neil Schemenauer 5042da6b1e If a float is passed where a int is expected, issue a DeprecationWarning 23 years ago
Neil Schemenauer b808e99d34 Raise a TypeError if a float is passed when an integer is specified. 23 years ago
Walter Dörwald dffda2eaf9 Wrap uargs declaration in a #ifdef Py_USING_UNICODE, so that 24 years ago
Martin v. Löwis 75d2d94e0f Patch #554716: Use __va_copy where available. 24 years ago
Guido van Rossum 55474766f0 Fix by Greg Chapman from SF bug 534347: Potential AV in vgetargskeywords. 24 years ago
Marc-André Lemburg 3e3eacb5fc Fixed "u#" parser marker to pass through Unicode objects as-is without 24 years ago
Tim Peters faad5ad590 mysnprintf.c: Massive rewrite of PyOS_snprintf and PyOS_vsnprintf, to 25 years ago
Tim Peters cffed4bc21 SF bug 486278 SystemError: Python/getargs.c:1086: bad. 25 years ago
Jeremy Hylton b048b26db0 Two screwups fixed for sizeof(char *) instead of sizeof(char []). 25 years ago
Jeremy Hylton f16e05e7ec Use PyOS_snprintf() at some cost even though it was correct before. 25 years ago
Jeremy Hylton 23ae987401 Use PyOS_snprintf when possible. 25 years ago
Marc-André Lemburg d4c0a9c59b Fixes for possible buffer overflows in sprintf() usages. 25 years ago
Tim Peters c2f011201a vgetargskeywords() 25 years ago
Tim Peters b639d49798 vgetargskeywords: Now that it's clear that nkwlist must equal max, and 25 years ago
Tim Peters dc5eff9170 vgetargskeywords: Prevent another potential sprintf buffer overrun. 25 years ago
Tim Peters 62d48e1735 vgetargskeywords: Verify kwlist has the required length while parsing 25 years ago
Tim Peters 0af4916ad4 vgetargskeywords: Removed all PyErr_Clear() calls. It's possible that 25 years ago
Tim Peters 077f574db1 vgetargskeywords: The keywords arg is a dict (if non-NULL), so use the 25 years ago
Tim Peters 61dde63e3b vgetargskeywords: Removed one of the mysterious PyErr_Clear() calls. 25 years ago
Tim Peters b054be41c0 vgetargskeywords: 25 years ago
Tim Peters b0872fc8a6 vgetargskeywords: 25 years ago
Tim Peters 6fb2635f25 vgetargskeywords: 25 years ago
Tim Peters 28bf7a9770 vgetargskeywords: 25 years ago
Tim Peters f8cd3e8621 PyArg_ParseTupleAndKeywords: return false on internal error, not -1 (I 25 years ago
Tim Peters 45772cde7e PyArg_ParseTupleAndKeywords: do basic sanity checks on the arguments, 25 years ago
Tim Peters a9f4739a1b tuple(3,4,5,x=2) dumped core on my box. vgetargskeywords() overindexed 25 years ago
Tim Peters f4331c1c38 vgetargskeywords(): remove test that can't succeed. Not a bugfix, just 25 years ago
Fred Drake e4616e6752 PyArg_UnpackTuple(): New argument unpacking function suggested by Jim 25 years ago
Fred Drake 563dfc2f73 Style conformance: function name begins a new line *consistently*. 25 years ago
Jeremy Hylton 4819e97a48 Undo part of 2.59: 't' case of convertsimple() should not use convertbuffer(). 25 years ago
Jeremy Hylton 0407aeae01 One more place where PyString_AsString() was used after a 25 years ago
Jeremy Hylton a4c8cd7b2c Use AS_STRING() following the check and avoid an extra call. 25 years ago
Jeremy Hylton 77b8b67919 Fix core dump in PyArg_ParseTuple() with Unicode arguments. 25 years ago
Guido van Rossum cbfc855f57 The "O!" format code should implement an isinstance() test 25 years ago
Martin v. Löwis 339d0f720e Patch #445762: Support --disable-unicode 25 years ago
Jeremy Hylton 3ce45389bd Add _PyUnicode_AsDefaultEncodedString to unicodeobject.h. 25 years ago
Jeremy Hylton 25916bdc11 Change cascaded if stmts to switch stmt in vgetargs1(). 25 years ago
Jeremy Hylton 1cb7aa3e6e Internal refactoring of convertsimple() and friends. 25 years ago
Fred Drake d657303910 Fix whitespace botch. 25 years ago
Jeremy Hylton 0f8117f14a vgetargs1() and vgetargskeywords(): Replace uses of PyTuple_Size() and 25 years ago
Mark Hammond ef8b654bbe Add support for Windows using "mbcs" as the default Unicode encoding when dealing with the file system. As discussed on python-dev and in patch 410465. 25 years ago
Marc-André Lemburg 6f15e5796e Added new parser markers 'et' and 'et#' which do not recode string 25 years ago