~ensoft-opensource/+junk/cpython-boxes

Viewing all changes in revision 45.

  • Committer: Phil Connell
  • Date: 2013-08-31 00:26:23 UTC
  • Revision ID: pconnell@gmail.com-20130831002623-a3rkzwes5b0xvubu
Fix for test_decimal (overflow in addition)

Problem was:
    >>> 16000000 + 777216
    0

Uhh... Added a (debug) check for overflow in Py_UNBOXED_CREATE for good
measure.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: