300 Commits (793cb85437299a3da3d74fe65480d720af330cbb)

Author SHA1 Message Date
Armin Rigo 4b63c21d6f Forward-port of r52136: a review of overflow-detecting code. 20 years ago
Walter Dörwald d14bf61d05 Fix typo. 20 years ago
Thomas Wouters 0e3f591aee Merged revisions 46753-51188 via svnmerge from 20 years ago
Georg Brandl 209307eb3b Introduce an upper bound on tuple nesting depth in 20 years ago
Guido van Rossum 3cf5b1eef9 Get rid of most of the flags (in tp_flags) that keep track of various 20 years ago
Georg Brandl 5f135787ec Part of bug #1523610: fix miscalculation of buffer length. 20 years ago
Georg Brandl 98251f8a2f Argh. "integer" is a very confusing word ;) 20 years ago
Georg Brandl 22ccbbc4ec Bug #1502750: Fix getargs "i" format to use LONG_MIN and LONG_MAX for bounds checking. 20 years ago
Thomas Wouters 49fd7fa443 Merge p3yk branch with the trunk up to revision 45595. This breaks a fair 20 years ago
Skip Montanaro b507972cdd C++ compiler cleanup: cast... 20 years ago
Martin v. Löwis 5cb6936672 Make Py_BuildValue, PyObject_CallFunction and 20 years ago
Neal Norwitz 615461603c SF Bug #1454485, array.array('u') could crash the interpreter when 20 years ago
Georg Brandl 7f573f7319 Add a test for Py_ssize_t. Correct typo in getargs.c. 20 years ago
Anthony Baxter 97300387ec avoid C++ name mangling for the _Py.*SizeT functions 20 years ago
Guido van Rossum 45aecf451a Checkpoint. 218 tests are okay; 53 are failing. Done so far: 20 years ago
Thomas Wouters c3547a311e Fix C99-ism, and add XXX to comment 20 years ago
Thomas Wouters 572a9f32dc Use %zd format characters for Py_ssize_t types. 20 years ago
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