- 19 Eyl, 2000 1 kayıt (commit)
-
-
Tim Peters yazdı
When reading a short, sign-extend on platforms where shorts are bigger than 16 bits. When reading a long, repair the unportable sign extension that was being done for 64-bit machines (it assumed that signed right shift sign-extends).
-
- 01 Eyl, 2000 1 kayıt (commit)
-
-
Guido van Rossum yazdı
This should match the situation in the 1.6b1 tree.
-
- 23 Tem, 2000 2 kayıt (commit)
-
-
Tim Peters yazdı
good C practice hasn't been available to everything all along. Added Py_SAFE_DOWNCAST(VALUE, WIDE, NARROW) macro to pyport.h; this just casts VALUE from type WIDE to type NARROW, but assert-fails if Py_DEBUG is defined and info is lost due to casting. Replaced a line in Fredrik's fix to marshal.c to use the new macro.
-
Fredrik Lundh yazdı
(this is what the callers expect).
-
- 22 Tem, 2000 1 kayıt (commit)
-
-
Thomas Wouters yazdı
declarations yet, those come later.
-
- 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ı
-
- 28 Haz, 2000 2 kayıt (commit)
-
-
Guido van Rossum yazdı
The depth field was never decremented inside w_object(), and it was never initialized in PyMarshal_WriteObjectToFile(). This caused imports from .pyc files to fil mysteriously when the .pyc file was written by the broken code -- w_object() would bail out early, but PyMarshal_WriteObjectToFile() doesn't check the error or return an error code, and apparently the marshalling code doesn't call PyErr_Check() either. (That's a separate patch if I feel like it.)
-
Fred Drake yazdı
As I really do not have anything better to do at the moment, I have written a patch to Python/marshal.c that prevents Python dumping core when trying to marshal stack bustingly deep (or recursive) data structure. It just throws an exception; even slightly clever handling of recursive data is what pickle is for... [Fred Drake:] Moved magic constant 5000 to a #define. This closes SourceForge patch #100645.
-
- 03 May, 2000 1 kayıt (commit)
-
-
Guido van Rossum yazdı
For more comments, read the patches@python.org archives. For documentation read the comments in mymalloc.h and objimpl.h. (This is not exactly what Vladimir posted to the patches list; I've made a few changes, and Vladimir sent me a fix in private email for a problem that only occurs in debug mode. I'm also holding back on his change to main.c, which seems unnecessary to me.)
-
- 31 Mar, 2000 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 10 Mar, 2000 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 08 Eki, 1998 1 kayıt (commit)
-
-
Guido van Rossum yazdı
meant for checkin, and which broke marshal.loads().
-
- 07 Eki, 1998 1 kayıt (commit)
-
-
Guido van Rossum yazdı
as the code string of code objects, as long as they support the (readonly) buffer interface. By Greg Stein.
-
- 08 Haz, 1998 1 kayıt (commit)
-
-
Guido van Rossum yazdı
and lists; if the size is negative, raise an exception. Also raise an exception when an undefined type is found -- all this to increase the chance that garbage input causes an exception instead of a core dump.
-
- 14 May, 1998 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 10 Nis, 1998 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 26 Tem, 1997 1 kayıt (commit)
-
-
Guido van Rossum yazdı
to free lnotab).
-
- 22 May, 1997 1 kayıt (commit)
-
-
Guido van Rossum yazdı
PyErr_Clear(). Add checking of those errors.
-
- 29 Nis, 1997 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 14 Mar, 1997 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 14 Şub, 1997 2 kayıt (commit)
-
-
Guido van Rossum yazdı
New file pyfpe.c and exception FloatingPointError. Surround some f.p. operations with PyFPE macro brackets.
-
Guido van Rossum yazdı
-
- 24 Ock, 1997 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 17 Ock, 1997 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 10 Ara, 1996 1 kayıt (commit)
-
-
Guido van Rossum yazdı
Tested with AMK's help.
-
- 05 Ara, 1996 1 kayıt (commit)
-
-
Guido van Rossum yazdı
A plain int that doesn't fit in 32 bits will be marshalled using a new type. 32 bits machines can't handle this and will issue a warning.
-
- 25 Eki, 1996 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 11 Eki, 1996 1 kayıt (commit)
-
-
Guido van Rossum yazdı
be Ellipsis!). Bumped the API version because a linker-visible symbol is affected. Old C code will still compile -- there's a b/w compat macro. Similarly, old Python code will still run, builtin exports both Ellipses and Ellipsis.
-
- 19 Agu, 1996 1 kayıt (commit)
-
-
Guido van Rossum yazdı
from marshal_loads()).
-
- 30 Tem, 1996 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 21 Tem, 1996 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 26 Haz, 1996 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 28 May, 1996 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 12 Ock, 1996 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 27 Eki, 1995 1 kayıt (commit)
-
-
Jack Jansen yazdı
-
- 28 Agu, 1995 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 18 Tem, 1995 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 09 Mar, 1995 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-