[Checkins] [zopefoundation/BTrees] 01dc1f: Use 'sys.maxsize' to detect real 32-bit Python.

GitHub noreply at github.com
Thu Apr 14 18:24:41 CEST 2016


  Branch: refs/heads/32-win64-long_is_32_bits_waaaaa
  Home:   https://github.com/zopefoundation/BTrees
  Commit: 01dc1fbb71281d09459a93bd2c12b8d9db44cbc9
      https://github.com/zopefoundation/BTrees/commit/01dc1fbb71281d09459a93bd2c12b8d9db44cbc9
  Author: Tres Seaver <tseaver at palladion.com>
  Date:   2016-04-14 (Thu, 14 Apr 2016)

  Changed paths:
    M BTrees/tests/common.py

  Log Message:
  -----------
  Use 'sys.maxsize' to detect real 32-bit Python.

Works around the fact that 'platform.architecture()' reports size of
*pointers*, rather than size of *longs*, which matters on Win64.

Closes: #32.




More information about the checkins mailing list