- 25 Ock, 2001 1 kayıt (commit)
-
-
Jeremy Hylton yazdı
-
- 15 Ock, 2001 1 kayıt (commit)
-
-
Ka-Ping Yee yazdı
message, and tries to make the messages more consistent and helpful when the wrong number of arguments or duplicate keyword arguments are supplied. Comes with more tests for test_extcall.py and and an update to an error message in test/output/test_pyexpat.
-
- 11 Ara, 2000 1 kayıt (commit)
-
-
Barry Warsaw yazdı
-
- 01 Ara, 2000 1 kayıt (commit)
-
-
Guido van Rossum yazdı
buffer" replaced by "string or read-only character buffer".
-
- 26 Eyl, 2000 1 kayıt (commit)
-
-
Fred Drake yazdı
Add definitions of INT_MAX and LONG_MAX to pyport.h. Remove includes of limits.h and conditional definitions of INT_MAX and LONG_MAX elsewhere. This closes SourceForge patch #101659 and bug #115323.
-
- 21 Eyl, 2000 1 kayıt (commit)
-
-
Marc-André Lemburg yazdı
"s#" will now return a pointer to the default encoded string data of the Unicode object instead of a pointer to the raw UTF-16 data. The latter is still available via PyObject_AsReadBuffer(). The patch also adds an optimization for string objects which is based on the fact that string objects return the raw character data for getreadbuffer access and are always single-segment.
-
- 15 Eyl, 2000 1 kayıt (commit)
-
-
Jack Jansen yazdı
bgen-generated code work).
-
- 08 Eyl, 2000 1 kayıt (commit)
-
-
Marc-André Lemburg yazdı
PyArg_ParseTupleAndKeywords() and closes bug #113807.
-
- 01 Eyl, 2000 1 kayıt (commit)
-
-
Guido van Rossum yazdı
This should match the situation in the 1.6b1 tree.
-
- 05 Agu, 2000 1 kayıt (commit)
-
-
Jack Jansen yazdı
-32768..65535 is acceptable. Added B specifier (with values from -128..255). No L added (which would have completed the set) because l already accepts any value (and the letter L is taken for quadwords).
-
- 03 Agu, 2000 1 kayıt (commit)
-
-
Marc-André Lemburg yazdı
the Python Unicode implementation. The internal buffer used for implementing the buffer protocol is renamed to defenc to make this change visible. It now holds the default encoded version of the Unicode object and is calculated on demand (NULL otherwise). Since the default encoding defaults to ASCII, this will mean that Unicode objects which hold non-ASCII characters will no longer work on C APIs using the "s" or "t" parser markers. C APIs must now explicitly provide Unicode support via the "u", "U" or "es"/"es#" parser markers in order to work with non-ASCII Unicode strings. (Note: this patch will also have to be applied to the 1.6 branch of the CVS tree.)
-
- 22 Tem, 2000 1 kayıt (commit)
-
-
Thomas Wouters yazdı
declarations yet, those come later.
-
- 16 Tem, 2000 1 kayıt (commit)
-
-
Thomas Wouters yazdı
comments, docstrings or error messages. I fixed two minor things in test_winreg.py ("didn't" -> "Didn't" and "Didnt" -> "Didn't"). There is a minor style issue involved: Guido seems to have preferred English grammar (behaviour, honour) in a couple places. This patch changes that to American, which is the more prominent style in the source. I prefer English myself, so if English is preferred, I'd be happy to supply a patch myself ;)
-
- 12 Tem, 2000 1 kayıt (commit)
-
-
Jeremy Hylton yazdı
-
- 09 Tem, 2000 1 kayıt (commit)
-
-
Tim Peters yazdı
-
- 06 Tem, 2000 1 kayıt (commit)
-
-
Jack Jansen yazdı
Py_BuildValue.
-
- 01 Tem, 2000 1 kayıt (commit)
-
-
Guido van Rossum yazdı
Include limits.h if we have it.
-
- 30 Haz, 2000 2 kayıt (commit)
-
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
- 28 Haz, 2000 1 kayıt (commit)
-
-
Guido van Rossum yazdı
This patch fixes a problem on AIX with the signed int case code in getargs.c, after Trent Mick's intervention about MIN/MAX overflow checks. The AIX compiler/optimizer generates bogus code with the default flags "-g -O" causing test_builtin to fail: int("10", 16) <> 16L. Swapping the two checks in the signed int code makes the problem go away. Also, make the error messages fit in 80 char lines in the source.
-
- 09 May, 2000 1 kayıt (commit)
-
-
Fred Drake yazdı
Limit the 'b' formatter of PyArg_ParseTuple to valid values of an unsigned char, i.e. [0,UCHAR_MAX]. It is expected that this is the common usage of 'b'. An OverflowError is raised if the parsed value is outside this range.
-
- 08 May, 2000 1 kayıt (commit)
-
-
Guido van Rossum yazdı
Changes the 'b', 'h', and 'i' formatters in PyArg_ParseTuple to raise an Overflow exception if they overflow (previously they just silently overflowed). Changes by Guido: always accept values [0..255] (in addition to [CHAR_MIN..CHAR_MAX]) for 'b' format; changed some spaces into tabs in other code.
-
- 03 May, 2000 1 kayıt (commit)
-
-
Fred Drake yazdı
Added 'u' and 'u#' tags for PyArg_ParseTuple - these turn a PyUnicodeObject argument into a Py_UNICODE * buffer, or a Py_UNICODE * buffer plus a length with the '#'. Also added an analog to 'U' for Py_BuildValue.
-
- 27 Nis, 2000 1 kayıt (commit)
-
-
Guido van Rossum yazdı
Fixed a memory leak found by Fredrik Lundh. Instead of PyUnicode_AsUTF8String() we now use _PyUnicode_AsUTF8String() which returns the string object without incremented refcount (and assures that the so obtained object remains alive until the Unicode object is garbage collected).
-
- 28 Mar, 2000 2 kayıt (commit)
-
-
Guido van Rossum yazdı
The attached patch set includes a workaround to get Python with Unicode compile on BSDI 4.x (courtesy Thomas Wouters; the cause is a bug in the BSDI wchar.h header file) and Python interfaces for the MBCS codec donated by Mark Hammond. Also included are some minor corrections w/r to the docs of the new "es" and "es#" parser markers (use PyMem_Free() instead of free(); thanks to Mark Hammond for finding these). The unicodedata tests are now in a separate file (test_unicodedata.py) to avoid problems if the module cannot be found.
-
Guido van Rossum yazdı
-
- 24 Mar, 2000 1 kayıt (commit)
-
-
Guido van Rossum yazdı
Attached you find the latest update of the Unicode implementation. The patch is against the current CVS version. It includes the fix I posted yesterday for the core dump problem in codecs.c (was introduced by my previous patch set -- sorry), adds more tests for the codecs and two new parser markers "es" and "es#".
-
- 10 Mar, 2000 1 kayıt (commit)
-
-
Guido van Rossum yazdı
object.
-
- 17 Şub, 1999 1 kayıt (commit)
-
-
Guido van Rossum yazdı
is used in the format string, instead of requiring a tuple. This is in line with the general trend towards accepting arbitrary sequences.
-
- 25 Ock, 1999 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 08 Eki, 1998 1 kayıt (commit)
-
-
Guido van Rossum yazdı
object that implements the buffer interface, but requires a buffer that contains 8-bit character data. Greg Stein.
-
- 25 Agu, 1998 1 kayıt (commit)
-
-
Guido van Rossum yazdı
The MS compiler doesn't call it 'long long', it uses __int64, so a new #define, LONG_LONG, has been added and all occurrences of 'long long' are replaced with it.
-
- 04 Agu, 1998 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 15 May, 1998 1 kayıt (commit)
-
-
Guido van Rossum yazdı
Date: Thu, 14 Sep 1995 12:18:20 -0400 From: Alan Morse <alan@dvcorp.com> To: python-list@cwi.nl Subject: getargs bug in 1.2 and 1.3 BETA We have found a bug in the part of the getargs code that we added and submitted, and which was incorporated into 1.1. The parsing of "O?" format specifiers is not handled correctly; there is no "else" for the "if" and therefore it can never fail. What's worse, the advancing of the varargs pointer is not handled properly, so from then on it is out of sync, wreaking all sorts of havoc. (If it had failed properly, then the out-of-sync varargs would not have been an issue.) Below is the context diff for the change. Note that I have made a few stylistic changes beyond adding the else case, namely: 1) Making the "O" case follow the convention established by the other format specifiers of getting all their vararg arguments before performing the test, rather than getting some before and some after the test passes. 2) Making the logic of the tests parallel, so the "if" part indicates that the format is accepted and the "else" part indicates that the format has failed. They were inconsistent with each other and with the the other format specifiers. -Alan Morse (amorse@dvcorp.com)
-
- 10 Nis, 1998 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 19 Ock, 1998 1 kayıt (commit)
-
-
Guido van Rossum yazdı
the error was about a bad format string :-).
-
- 19 Ara, 1997 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 09 Ara, 1997 1 kayıt (commit)
-
-
Guido van Rossum yazdı
format. This will complain about illegal formats like "O#" instead of ignoring the '#'.
-
- 05 May, 1997 2 kayıt (commit)
-
-
Guido van Rossum yazdı
Not really checked, but didn't fail any tests either...
-
Guido van Rossum yazdı
(Redoing the checking without merging in Jack's buffer mods.)
-