- 17 Mar, 2008 12 commits
-
-
Eric Smith authored
-
Steven Bethard authored
-
Neal Norwitz authored
is outside the range we expect.
-
Gregory P. Smith authored
regardless of the native sizeof(long) used in the integer object. This somewhat odd behavior of returning a signed is maintained in 2.x for compatibility reasons of always returning an integer rather than a long object. Fixes Issue1202 for Python 2.6
-
Travis E. Oliphant authored
-
Eric Smith authored
Added 0b and 0o literals to tokenizer. Modified PyOS_strtoul to support 0b and 0o inputs. Modified PyLong_FromString to support guessing 0b and 0o inputs. Renamed test_hexoct.py to test_int_literal.py and added binary tests. Added upper and lower case 0b, 0O, and 0X tests to test_int_literal.py
-
Martin v. Löwis authored
-
Jeffrey Yasskin authored
an exception. Issue reported by Joseph Armbruster.
-
Jeffrey Yasskin authored
-no-cpp-precomp, and -mno-fused-madd from configure. * r22183 added -no-cpp-precomp, which http://gcc.gnu.org/ml/gcc/2005-12/msg00368.html claims hasn't been needed since gcc-3.1. * r25607 added -Wno-long-double to avoid a warning in Include/objimpl.h (issue 525481). The long double is still there, but OSX 10.4's gcc no longer warns about it. * r33666 fixed issue 775892 on OSX 10.3 by adding -mno-fused-madd, which changed the sign of some float 0s. Tim Peters said it wasn't a real issue anyway, and it no longer causes test failures. Fixes issue #1779871.
-
Eric Smith authored
Deleted unused macro ISXDIGIT.
-
Eric Smith authored
Added "Z" format_char to PyOS_ascii_formatd to support empty float presentation type. Renamed buf_size in PyOS_ascii_formatd to more accurately reflect it's meaning. Modified format.__float__ to use the new "Z" format as the default. Added test cases.
-
Mark Summerfield authored
string is given it should conform to the appropriate XML standards---for example, "UTF-8" is okay, but "UTF8" is not.
-
- 16 Mar, 2008 3 commits
-
-
Vinay Sajip authored
-
Georg Brandl authored
-
Raymond Hettinger authored
-
- 15 Mar, 2008 8 commits
-
-
Neal Norwitz authored
-
Neal Norwitz authored
assert (0, 'message') An empty tuple does not create a warning. While questionable usage: assert (), 'message' should not display a warning. Tested manually. The warning message could be improved. Feel free to update it.
-
Raymond Hettinger authored
-
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 9 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
-