249 Commits (536ffe161c014f3646cbf52bc527f2ba9ebd6478)

Author SHA1 Message Date
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 25 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
Barry Warsaw af8aef9ee2 PyFloat_FromString(): Conversion of sprintf() to PyOS_snprintf() for 25 years ago
Tim Peters 4e8ab5db38 float_divmod(): the code wasn't sick enough to stop the MS optimizer 25 years ago
Tim Peters d2e40d6691 SF bug #477221: abs and divmod act oddly with -0.0 25 years ago
Tim Peters faf0cd21ed float_abs() again: Guido pointed out that this could screw up in the 25 years ago
Tim Peters d2364e8e2d SF bug #477221: abs and divmod act oddly with -0.0. 25 years ago
Guido van Rossum e2ae77b8b8 SF patch #474590 -- RISC OS support 25 years ago
Guido van Rossum 9475a2310d Enable GC for new-style instances. This touches lots of files, since 25 years ago
Guido van Rossum 1952e388ca Add additional coercion support for "self subtypes" to int, long, 25 years ago
Tim Peters 2400fa4ad1 Again perhaps the end of [#460020] bug or feature: unicode() and subclasses. 25 years ago
Tim Peters 0280cf79a7 More bug 460020: when F is a subclass of float, disable the unary plus 25 years ago
Guido van Rossum dea6ef9bfd Replace a few places where X->ob_type was compared to &PyXXX_Type with 25 years ago
Tim Peters 97f4a33e12 Better error msg for 3-arg pow with a float argument. 25 years ago
Tim Peters a40c793d06 Rework the way we try to check for libm overflow, given that C99 no longer 25 years ago
Tim Peters 4c483c4d8e Make the error msgs in our pow() implementations consistent. 25 years ago
Tim Peters 9fffa3eea3 Raise OverflowError when appropriate on long->float conversion. Most of 25 years ago
Guido van Rossum 1832de4bc0 PEP 238 documented -Qwarn as warning only for classic int or long 25 years ago
Tim Peters 32f453eaa4 New restriction on pow(x, y, z): If z is not None, x and y must be of 25 years ago
Guido van Rossum 393661d15f Add warning mode for classic division, almost exactly as specified in 25 years ago
Guido van Rossum d93dce1699 Fix typo: double semicolons. 25 years ago
Guido van Rossum bef1417f9f Make int, long and float subclassable. 25 years ago
Tim Peters 96685bfbf0 float_pow: Put *all* of the burden on the libm pow in normal 25 years ago
Martin v. Löwis 339d0f720e Patch #445762: Support --disable-unicode 25 years ago
Guido van Rossum 4668b000a1 Implement PEP 238 in its (almost) full glory. 25 years ago
Tim Peters 6d6c1a35e0 Merge of descr-branch back into trunk. 25 years ago
Tim Peters 7321ec437b SF bug #444510: int() should guarantee truncation. 25 years ago
Tim Peters 72f98e9b83 SF bug #422177: Results from .pyc differs from .py 26 years ago
Tim Peters 7069512bd0 When 1.6 boosted the # of digits produced by repr(float), repr(complex) 26 years ago
Martin v. Löwis 01c6526c0e Avoid giving prototypes on Solaris. 26 years ago
Jeremy Hylton 2492a20579 SF patch 103543 from tg@freebsd.org: 26 years ago
Guido van Rossum f916e7aa62 Rich comparisons fall-out: 26 years ago
Neil Schemenauer 010b0cc218 Fix a silly bug in float_pow. Sorry Tim. 26 years ago
Neil Schemenauer 32117e5c29 Make float a new style number type. 26 years ago