283 Commits (f1aa8aed4a8ce9753ffa8713e7d3461663e0624d)

Author SHA1 Message Date
Martin v. Löwis 762467475d Use Py_ssize_t for PyArg_UnpackTuple arguments. 20 years ago
Martin v. Löwis 15e62742fa Revert backwards-incompatible const changes. 20 years ago
Neal Norwitz 9a27617239 Based on discussion with Martin and Thomas on python-checkins 20 years ago
Neal Norwitz 20dd93f427 Fix compiler warning on amd64. We can't use zd here since this is 20 years ago
Martin v. Löwis d96ee90993 Use Py_ssize_t to count the 20 years ago
Martin v. Löwis 18e165558b Merge ssize_t branch. 20 years ago
Georg Brandl d704817b66 typo 20 years ago
Neal Norwitz 4ac13dfc3a Remove extra parens 20 years ago
Neal Norwitz 30b5c5d011 Fix SF bug #1072182, problems with signed characters. 20 years ago
Jeremy Hylton af68c874a6 Add const to several API functions that take char *. 20 years ago
Georg Brandl 6dd14619bb Complete format code support in getargs.c::skipitem(), which is called when 21 years ago
Georg Brandl 02c42871cf Disallow keyword arguments for type constructors that don't use them. 21 years ago
Michael W. Hudson 5253c30791 I suppose a bug report or even a fix would be a better response, but 21 years ago
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 23 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 24 years ago
Tim Peters cffed4bc21 SF bug 486278 SystemError: Python/getargs.c:1086: bad. 24 years ago
Jeremy Hylton b048b26db0 Two screwups fixed for sizeof(char *) instead of sizeof(char []). 24 years ago
Jeremy Hylton f16e05e7ec Use PyOS_snprintf() at some cost even though it was correct before. 24 years ago
Jeremy Hylton 23ae987401 Use PyOS_snprintf when possible. 24 years ago
Marc-André Lemburg d4c0a9c59b Fixes for possible buffer overflows in sprintf() usages. 24 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