[Checkins] [zopefoundation/BTrees] d7d826: Fix #140 by turning OverflowError into TypeError.

Jason Madden noreply at github.com
Tue Apr 7 14:21:23 CEST 2020


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/BTrees
  Commit: d7d826aeb9dd0c22e3dd9620e94aafb4dde6ac27
      https://github.com/zopefoundation/BTrees/commit/d7d826aeb9dd0c22e3dd9620e94aafb4dde6ac27
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2020-04-06 (Mon, 06 Apr 2020)

  Changed paths:
    M BTrees/BTreeModuleTemplate.c
    M BTrees/BTreeTemplate.c
    M BTrees/BucketTemplate.c
    M BTrees/_datatypes.py
    M BTrees/intkeymacros.h
    M BTrees/intvaluemacros.h
    M BTrees/tests/common.py
    M BTrees/tests/testBTrees.py
    M BTrees/tests/test__datatypes.py
    M CHANGES.rst
    M docs/overview.rst

  Log Message:
  -----------
  Fix #140 by turning OverflowError into TypeError.

Fingers crossed for 32-bit builds on Windows.


  Commit: 5f9ce957d952ba9765dc5cc7c92c07410b8228e5
      https://github.com/zopefoundation/BTrees/commit/5f9ce957d952ba9765dc5cc7c92c07410b8228e5
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2020-04-07 (Tue, 07 Apr 2020)

  Changed paths:
    M BTrees/intvaluemacros.h
    M BTrees/tests/common.py
    M CHANGES.rst

  Log Message:
  -----------
  The value macros for ints also need to convert OverflowError into TypeError.

This only showed up on Windows (because it follows the LLP64 data model). See https://ci.appveyor.com/project/mgedmin/btrees/builds/31998447/job/m3xs7q1d8b4u5u3b


  Commit: 5efafc89925d084e23af67c6a84435b47e4265ac
      https://github.com/zopefoundation/BTrees/commit/5efafc89925d084e23af67c6a84435b47e4265ac
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2020-04-07 (Tue, 07 Apr 2020)

  Changed paths:
    M BTrees/BTreeModuleTemplate.c
    M BTrees/BTreeTemplate.c
    M BTrees/BucketTemplate.c
    M BTrees/_datatypes.py
    M BTrees/intkeymacros.h
    M BTrees/intvaluemacros.h
    M BTrees/tests/common.py
    M BTrees/tests/testBTrees.py
    M BTrees/tests/test__datatypes.py
    M CHANGES.rst
    M docs/overview.rst

  Log Message:
  -----------
  Merge pull request #141 from zopefoundation/issue140

Fix #140 by turning OverflowError into TypeError.


Compare: https://github.com/zopefoundation/BTrees/compare/65d239521e4d...5efafc89925d


More information about the checkins mailing list