289 Commits (d499031f5f33c3ef71be7c81ef52eee6b47c42e1)

Author SHA1 Message Date
Guido van Rossum ddefaf31b3 Merged the int/long unification branch, by very crude means (sorry Thomas!). 20 years ago
Neal Norwitz 545686b279 Remove PyFloat_AsReprString() and PyFloat_AsString() which should not 20 years ago
Jack Diederich 4dafcc4ece - patch #1600346 submitted by Tomer Filiba 20 years ago
Alex Martelli 348dc88097 Reverting the patch that tried to fix the issue whereby x**2 raises 20 years ago
Alex Martelli 20362a820b x**2 should about equal x*x (including for a float x such that the result is 20 years ago
Neal Norwitz 4886cc331f Get rid of most of the rest of coerce (slot is still there for now). 20 years ago
Guido van Rossum 3cf5b1eef9 Get rid of most of the flags (in tp_flags) that keep track of various 20 years ago
Thomas Wouters 477c8d5e70 Much-needed merge (using svnmerge.py this time) of trunk changes into p3yk. 20 years ago
Kristján Valur Jónsson f94323fbb4 Added a new macro, Py_IS_FINITE(X). On windows there is an intrinsic for this and it is more efficient than to use !Py_IS_INFINITE(X) && !Py_IS_NAN(X). No change on other platforms 20 years ago
Thomas Wouters 49fd7fa443 Merge p3yk branch with the trunk up to revision 45595. This breaks a fair 20 years ago
Skip Montanaro 429433b30b C++ compiler cleanup: bunch-o-casts, plus use of unsigned loop index var in a couple places 20 years ago
Anthony Baxter 377be11ee1 More C++-compliance. Note especially listobject.c - to get C++ to accept the 20 years ago
Georg Brandl 347b30042b Remove unnecessary casts in type object initializers. 20 years ago
Neal Norwitz bcc0db82dc Get rid of remnants of integer division 20 years ago
Thomas Wouters 8b87a0b5fc Use %ld and casts to long for refcount printing, in absense of a universally 21 years ago
Martin v. Löwis 15e62742fa Revert backwards-incompatible const changes. 21 years ago
Martin v. Löwis 18e165558b Merge ssize_t branch. 21 years ago
Neal Norwitz b2da01b27c Fix icc warnings: remove unused variable 21 years ago
Jeremy Hylton af68c874a6 Add const to several API functions that take char *. 21 years ago
Michael W. Hudson b78a5fc004 Fix bug 21 years ago
Michael W. Hudson 3095ad0650 Apparently some compiler gives a warning on 21 years ago
Michael W. Hudson ba283e2b7f This is my patch: 21 years ago
Brett Cannon c3647ac93e Make subclasses of int, long, complex, float, and unicode perform type 21 years ago
Tim Peters e1c69b3f6f float_richcompare(): Use the new Py_IS_NAN macro to ensure that, on 22 years ago
Tim Peters 307fa78107 SF bug #513866: Float/long comparison anomaly. 22 years ago
Neal Norwitz 739a8f86d6 Fix a couple of signed/unsigned comparison warnings 22 years ago
Martin v. Löwis 737ea82a5a Patch #774665: Make Python LC_NUMERIC agnostic. 22 years ago
Michael W. Hudson 08678a1055 Remove float_compare as per 22 years ago
Michael W. Hudson 6bee23cdc3 Oops, didn't mean to commit the removal of float_compare! 23 years ago
Michael W. Hudson 957f9774b6 Pass a variable that actually exists to PyFPE_END_PROTECT in 23 years ago
Michael W. Hudson d3b33b5f6f "Fix" (for certain configurations of the planets, including 23 years ago
Skip Montanaro ce59c04127 Remove support for SunOS 4. 23 years ago
Jack Jansen eddc1449ba Getting rid of all the code inside #ifdef macintosh too. 23 years ago
Raymond Hettinger f466793fcc SF patch 703666: Several objects don't decref tmp on failure in subtype_new 23 years ago
Tim Peters e87568dd9a SF bug 705231: Assertion failed, python aborts. 23 years ago
Tim Peters f1ed934278 _PyFloat_Pack4(): Removed needless call of floor(). 24 years ago
Tim Peters 9905b943f7 New private API functions _PyFloat_{Pack,Unpack}(4,8}. This is a 24 years ago
Guido van Rossum 5d9113d8be Implement appropriate __getnewargs__ for all immutable subclassable builtin 24 years ago
Neal Norwitz abcb0c03ad Fix SF bug# 676155, RuntimeWarning with tp_compare 24 years ago
Tim Peters 7d791240c0 float_int(): Some systems raise an exception if a double is cast to 24 years ago
Walter Dörwald f171540ab8 Change int() so that passing a string, unicode, float or long argument 24 years ago
Neil Schemenauer 2c77e90804 Improve exception message raised by PyFloat_AsDouble if the object does not 24 years ago
Guido van Rossum e3a8e7ed1d Call me anal, but there was a particular phrase that was speading to 24 years ago
Jeremy Hylton 938ace69a0 staticforward bites the dust. 24 years ago
Martin v. Löwis 14f8b4cfcb Patch #568124: Add doc string macros. 24 years ago
Skip Montanaro 71390a9a94 clarify message when raising TypeError to indicate that float() accepts 24 years ago
Tim Peters dc5a508761 SF bug 525705: [2.2] underflow raise OverflowException. 25 years ago
Tim Peters 77d8a4fc91 float_floor_div: An expression like 3.//1j crashed the interpreter, or 25 years ago
Tim Peters 63a3571e17 float_int_div(): For clarity, move this closer to the other float 25 years ago
Tim Peters 97019e4110 PyFloat_AsStringEx(): This function takes an output char* but doesn't 25 years ago