Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | merge Include/my*.h into Include/pyport.h | Peter Schneider-Kamp | 2000-07-31 | 1 | -1/+0 |
| | | | | marked my*.h as obsolete | ||||
* | ANSI-fication of the sources. | Fred Drake | 2000-07-09 | 1 | -98/+48 |
| | |||||
* | Change copyright notice - 2nd try. | Guido van Rossum | 2000-06-30 | 1 | -6/+0 |
| | |||||
* | Change copyright notice. | Guido van Rossum | 2000-06-30 | 1 | -22/+7 |
| | |||||
* | This patch addresses two main issues: (1) There exist some non-fatal | Fred Drake | 2000-06-29 | 1 | -28/+9 |
| | | | | | | | | | | | | | | | | | | | | errors in some of the hash algorithms. For exmaple, in float_hash and complex_hash a certain part of the value is not included in the hash calculation. See Tim's, Guido's, and my discussion of this on python-dev in May under the title "fix float_hash and complex_hash for 64-bit *nix" (2) The hash algorithms that use pointers (e.g. func_hash, code_hash) are universally not correct on Win64 (they assume that sizeof(long) == sizeof(void*)) As well, this patch significantly cleans up the hash code. It adds the two function _Py_HashDouble and _PyHash_VoidPtr that the various hashing routine are changed to use. These help maintain the hash function invariant: (a==b) => (hash(a)==hash(b))) I have added Lib/test/test_hash.py and Lib/test/output/test_hash to test this for some cases. | ||||
* | Vladimir Marangozov's long-awaited malloc restructuring. | Guido van Rossum | 2000-05-03 | 1 | -5/+6 |
| | | | | | | | | | | 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.) | ||||
* | Massive patch by Skip Montanaro to add ":name" to as many | Guido van Rossum | 2000-02-29 | 1 | -1/+1 |
| | | | | PyArg_ParseTuple() format string arguments as possible. | ||||
* | The rest of the changes by Trent Mick and Dale Nagata for warning-free | Guido van Rossum | 2000-01-20 | 1 | -1/+1 |
| | | | | compilation on NT Alpha. Mostly added casts etc. | ||||
* | Ai! complex_nonzero() has && which should be ||, else decidedly | Guido van Rossum | 1999-01-25 | 1 | -1/+1 |
| | | | | | non-zero things like 5j and complex(1,0) are considered to be zero/false. Tim Peters. | ||||
* | Add check to conjugate() that there are no excess arguments. | Guido van Rossum | 1998-05-07 | 1 | -2/+5 |
| | |||||
* | Got rid of c_error in favor of errno (and EDOM/ERANGE). | Guido van Rossum | 1997-05-20 | 1 | -49/+43 |
| | | | | | Assume that errno usage is thread-safe -- most vendors do this by making in a macro that refers to a per-thread storage area. | ||||
* | Quickly renamed the last directory. | Guido van Rossum | 1997-05-02 | 1 | -110/+108 |
| | |||||
* | Remove unused variable. | Guido van Rossum | 1997-04-09 | 1 | -1/+0 |
| | |||||
* | Get rid of .conj pseudo data attribute for complex numbers. | Guido van Rossum | 1997-04-01 | 1 | -5/+2 |
| | | | | Add __members__ attribute. | ||||
* | New form of PyFPE_END_PROTECT macro. | Guido van Rossum | 1997-03-14 | 1 | -6/+6 |
| | |||||
* | Changes for Lee Busby's SIGFPE patch set. | Guido van Rossum | 1997-02-14 | 1 | -4/+24 |
| | | | | Surround various f.p. operations with PyFPE_{START,END}_PROTECT macros. | ||||
* | New, better hash for floating point and complex | Guido van Rossum | 1997-01-11 | 1 | -4/+32 |
| | |||||
* | Make gcc -Wall happy | Guido van Rossum | 1996-12-05 | 1 | -14/+0 |
| | |||||
* | Oops... Need to clear c_error before calling c_quot(). | Guido van Rossum | 1996-09-12 | 1 | -0/+2 |
| | |||||
* | Properly(?) implemented remainder and divmod (Tim Hochberg) | Guido van Rossum | 1996-09-12 | 1 | -5/+34 |
| | |||||
* | Raise exception instead of dropping imag part for conversion to int, | Guido van Rossum | 1996-09-11 | 1 | -11/+9 |
| | | | | | | long, float. Raise exception instead of dumping core for remainder and divmod. | ||||
* | Don't dump core on complex % or divmod -- raise a TypeError exception. | Guido van Rossum | 1996-09-11 | 1 | -2/+14 |
| | |||||
* | Changes to make the file acceptable to K&R C compilers (HPUX, SunOS 4.x). | Guido van Rossum | 1996-08-19 | 1 | -25/+38 |
| | |||||
* | complex -> Py_complex | Guido van Rossum | 1996-07-21 | 1 | -40/+40 |
| | |||||
* | make some things static | Guido van Rossum | 1996-05-24 | 1 | -4/+4 |
| | |||||
* | use 'j' instead of 'i' for imaginary constants | Guido van Rossum | 1996-01-25 | 1 | -2/+2 |
| | |||||
* | Removed unused var | Jack Jansen | 1996-01-25 | 1 | -1/+0 |
| | |||||
* | Added PyComplex_AsCComplex | Guido van Rossum | 1996-01-12 | 1 | -0/+12 |
| | |||||
* | complex numbers a la Konrad Hinsen | Guido van Rossum | 1996-01-12 | 1 | -0/+562 |