- 15 Mar, 2008 5 commits
-
-
Raymond Hettinger authored
Unlike Scheme where exactness is implemented as taints, the Python implementation associated exactness with data types. This created inheritance issues (making an exact subclass of floats would result in the subclass having both an explicit Exact registration and an inherited Inexact registration). This was a problem for the decimal module which was designed to span both exact and inexact arithmetic. There was also a question of use cases and no examples were found where ABCs for exactness could be used to improve code. One other issue was having separate tags for both the affirmative and negative cases. This is at odds with the approach taken elsewhere in the Python (i.e. we don't have an ABC both Hashable and Unhashable).
-
Skip Montanaro authored
-
Skip Montanaro authored
-
Skip Montanaro authored
-
Georg Brandl authored
-
- 14 Mar, 2008 8 commits
-
-
Georg Brandl authored
-
Martin v. Löwis authored
-
Thomas Heller authored
-
Mark Dickinson authored
across platforms: it should now raise OverflowError on all platforms. (Previously it raised OverflowError only on non IEEE 754 platforms.) Also fix the (already existing) test for this behaviour so that it actually raises TestFailed instead of just referencing it.
-
Brett Cannon authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Raymond Hettinger authored
-
- 13 Mar, 2008 13 commits
-
-
Brett Cannon authored
Closes issue #2055. Thanks Giampaolo Rodola.
-
Brett Cannon authored
Closes issue #1960. Thanks Giampaolo Rodola.
-
Brett Cannon authored
Patch from GHOP 294 by David Marek.
-
Brett Cannon authored
Done as GHOP 238 by Josip Dzolonga.
-
Brett Cannon authored
Thanks Benjamin Peterson for the patch.
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Andrew M. Kuchling authored
-
Georg Brandl authored
-
Georg Brandl authored
-
Georg Brandl authored
-
- 11 Mar, 2008 3 commits
-
-
Raymond Hettinger authored
-
Guido van Rossum authored
(Exploit at request.)
-
Raymond Hettinger authored
-
- 09 Mar, 2008 3 commits
-
-
Neal Norwitz authored
Some buildbots were consistently failing (e.g., amd64). Also remove a couple of semi-colons.
-
Georg Brandl authored
-
Georg Brandl authored
-
- 08 Mar, 2008 7 commits
-
-
Jeffrey Yasskin authored
string.
-
Jeffrey Yasskin authored
-
Jeffrey Yasskin authored
-
Facundo Batista authored
optional: it defaults to the traceback of the exception that is currently being handled.
-
Georg Brandl authored
-
Marc-André Lemburg authored
-
Georg Brandl authored
-
- 07 Mar, 2008 1 commit
-
-
Andrew M. Kuchling authored
-