- 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.
-
- 15 Eyl, 2000 2 kayıt (commit)
-
-
Martin v. Löwis yazdı
-
Martin v. Löwis yazdı
-
- 01 Eyl, 2000 1 kayıt (commit)
-
-
Guido van Rossum yazdı
This should match the situation in the 1.6b1 tree.
-
- 31 Tem, 2000 1 kayıt (commit)
-
-
Peter Schneider-Kamp yazdı
marked my*.h as obsolete
-
- 21 Tem, 2000 1 kayıt (commit)
-
-
Thomas Wouters yazdı
and a couple of functions that were missed in the previous batches. Not terribly tested, but very carefully scrutinized, three times. All these were found by the little findkrc.py that I posted to python-dev, which means there might be more lurking. Cases such as this: long func(a, b) long a; long b; /* flagword */ { and other cases where the last ; in the argument list isn't followed by a newline and an opening curly bracket. Regexps to catch all are welcome, of course ;)
-
- 10 Tem, 2000 1 kayıt (commit)
-
-
Peter Schneider-Kamp yazdı
-
- 09 Tem, 2000 1 kayıt (commit)
-
-
Tim Peters yazdı
-
- 30 Haz, 2000 2 kayıt (commit)
-
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
- 01 Haz, 2000 1 kayıt (commit)
-
-
Fred Drake yazdı
Removed PyErr_BadArgument() calls and replaced them with more useful error messages.
-
- 29 Şub, 2000 1 kayıt (commit)
-
-
Guido van Rossum yazdı
PyArg_ParseTuple() format string arguments as possible.
-
- 04 Ara, 1998 1 kayıt (commit)
-
-
Guido van Rossum yazdı
on BeOS or Windows.
-
- 18 Eyl, 1998 1 kayıt (commit)
-
-
Guido van Rossum yazdı
native format, as void* (translated to Python int or long). Also adds PyLong_FromVoidPtr and PyLong_AsVoidPtr to longobject.c.
-
- 29 Haz, 1998 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 28 May, 1998 1 kayıt (commit)
-
-
Fred Drake yazdı
-
- 10 Nis, 1998 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 21 Ara, 1997 1 kayıt (commit)
-
-
Guido van Rossum yazdı
but other compilers don't like.
-
- 19 Ara, 1997 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 04 Kas, 1997 1 kayıt (commit)
-
-
Guido van Rossum yazdı
0.0 as float or double would yield the representation for 1.0!
-
- 01 Eki, 1997 1 kayıt (commit)
-
-
Guido van Rossum yazdı
(1) Use PyErr_NewException("module.class", NULL, NULL) to create the exception object. (2) Remove all calls to Py_FatalError(); instead, return or ignore the errors -- the import code now checks PyErr_Occurred() after calling a module's init function, so it's no longer a fatal error for the initialization to fail. Also did some small cleanups, e.g. removed unnecessary test for "already initialized" from initfpectl(), and unified initposix()/initnt(). I haven't checked this very thoroughly, so while the changes are pretty trivial -- beware of untested code!
-
- 05 Eyl, 1997 1 kayıt (commit)
-
-
Guido van Rossum yazdı
Added 'p' format character for Pascal string (i.e. leading length byte). This uses the count prefix line 's' does, except that the count includes the length byte; i.e. '10p' takes 10 bytes packed but has space for a length byte and 9 data bytes.
-
- 26 Agu, 1997 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 11 Nis, 1997 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 03 Ock, 1997 3 kayıt (commit)
-
-
Guido van Rossum yazdı
int/long types, and use the new PyLong_FromUnsignedLong() and PyLong_AsUnsignedLong() interfaces instead. Semantic change: the 'I' format will now always return a long int.
-
Guido van Rossum yazdı
-
Barry Warsaw yazdı
-
- 02 Ock, 1997 3 kayıt (commit)
-
-
Guido van Rossum yazdı
Still don't know what to do with Inf/NaN, so I raise an exception on pack(), and something random decided by ldexp() will happen on unpack().
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
These use the ANSI/IEEE standard, which is also used by XDR; so the _xdr module may become obsolete.
-
- 31 Ara, 1996 3 kayıt (commit)
-
-
Guido van Rossum yazdı
unpack('L', ...) is now acceptable to pack('L', ...).
-
Guido van Rossum yazdı
should be memset().
-
Guido van Rossum yazdı
-- The whole implementation is now more table-driven. -- Unsigned integers. Format characters 'B', 'H', 'I' and 'L' mean unsigned byte, short, int and long. For 'I' and 'L', the return value is a Python long integer if a Python plain integer can't represent the required range (note: this is dependent on the size of the relevant C types only, not of the sign of the actual value). -- A new format character 's' packs/unpacks a string. When given a count prefix, this is the size of the string, not a repeat count like for the other format characters; e.g. '10s' means a single 10-byte string, while '10c' means 10 characters. For packing, the string is truncated or padded with null bytes as appropriate to make it fit. For unpacking, the resulting string always has exactly the specified number of bytes. As a special case, '0s' means a single, empty string (while '0c' means 0 characters). -- Various byte order options. The first character of the format string determines the byte order, size and alignment, as follows: First character Byte order size and alignment '@' native native '=' native standard '<' little-endian standard '>' big-endian standard '!' network (= big-endian) standard If the first character is not one of these, '@' is assumed. Native byte order is big-endian or little-endian, depending on the host system (e.g. Motorola and Sun are big-endian; Intel and DEC are little-endian). Native size and alignment are determined using the C compiler's sizeof expression. This is always combined with native byte order. Standard size and alignment are as follows: no alignment is required for any type (so you have to use pad bytes); short is 2 bytes; int and long are 4 bytes. In this mode, there is no support for float and double. Note the difference between '@' and '=': both use native byte order, but the size and alignment of the latter is standardized. The form '!' is available for those poor souls who can't remember whether network byte order is big-endian or little-endian. There is no way to indicate non-native byte order (i.e. force byte-swapping); use the appropriate choice of '<' or '>'.
-
- 12 Ara, 1996 1 kayıt (commit)
-
-
Barry Warsaw yazdı
-
- 25 Eki, 1996 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 02 Şub, 1995 1 kayıt (commit)
-
-
Jack Jansen yazdı
-
- 04 Ock, 1995 1 kayıt (commit)
-
-
Guido van Rossum yazdı
Setup.in: clarified Tk comments somewhat. structmodule.c: use memcpy() instead of double precision assignment.
-
- 01 Agu, 1994 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 29 Mar, 1993 1 kayıt (commit)
-
-
Guido van Rossum yazdı
* Stubs for faster implementation of local variables (not yet finished) * Added function name to code object. Print it for code and function objects. THIS MAKES THE .PYC FILE FORMAT INCOMPATIBLE (the version number has changed accordingly) * Print address of self for built-in methods * New internal functions getattro and setattro (getattr/setattr with string object arg) * Replaced "dictobject" with more powerful "mappingobject" * New per-type functio tp_hash to implement arbitrary object hashing, and hashobject() to interface to it * Added built-in functions hash(v) and hasattr(v, 'name') * classobject: made some functions static that accidentally weren't; added __hash__ special instance method to implement hash() * Added proper comparison for built-in methods and functions
-
- 19 Agu, 1992 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-