248 Commits (3466bde1cc113750450ffed028cc6fc7c95faedd)

Author SHA1 Message Date
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
Tim Peters 5c4d5bfaf5 Related to SF bug 132008 (PyList_Reverse blows up). 25 years ago
Jeremy Hylton a0ac40c530 Better error message when non-dictionary received for **kwarg 25 years ago
Ka-Ping Yee 2057970601 This patch makes sure that the function name always appears in the error 25 years ago
Barry Warsaw 0705028076 vgetargskeywords(): Patch for memory leak identified in bug #119862. 25 years ago
Guido van Rossum 60a1e7fc99 Clarified some of the error messages, esp. "read-only character 25 years ago
Fred Drake d5fadf75e4 Rationalize use of limits.h, moving the inclusion to Python.h. 26 years ago
Marc-André Lemburg 0afff388ce Special case the "s#" PyArg_Parse() token for Unicode objects: 26 years ago
Jack Jansen a454ebd924 Added B format char to Py_BuildValue (same as b,h,i, but makes 26 years ago
Marc-André Lemburg bbcf2a7c81 This patch hopefully fixes the problem with "es#" and "es" in 26 years ago
Guido van Rossum 8586991099 REMOVED all CWI, CNRI and BeOpen copyright markings. 26 years ago
Jack Jansen cc22fbe3db Changed H specifier to mean "bitfield", i.e. any value from 26 years ago
Marc-André Lemburg bff879cabb This patch finalizes the move from UTF-8 to a default encoding in 26 years ago
Thomas Wouters f70ef4f860 Mass ANSIfication of function definitions. Doesn't cover all 'extern' 26 years ago
Thomas Wouters 7e47402264 Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in either 26 years ago
Jeremy Hylton 03657cfdb0 replace PyXXX_Length calls with PyXXX_Size calls 26 years ago
Tim Peters dbd9ba6a6c Nuke all remaining occurrences of Py_PROTO and Py_FPROTO. 26 years ago
Jack Jansen d50338fbd9 Added support for H (unsigned short) specifier in PyArg_ParseTuple and 26 years ago
Guido van Rossum db67739d4f Jack Jansen, Mac patch: 26 years ago
Guido van Rossum ffcc3813d8 Change copyright notice - 2nd try. 26 years ago
Guido van Rossum fd71b9e9d4 Change copyright notice. 26 years ago
Guido van Rossum 5e08cb8e50 Vladimir Marangozov: 26 years ago