1. 11 May, 2016 1 commit
    • Joseph Weston's avatar
      implement __sizeof__ for tinyarray · fc33353c
      Joseph Weston authored
      A new method `object_size` is added to the Array template class, which
      calculates the total size of the Python object in bytes.  The function
      `size_of` then wraps this method and provides the necessary interface
      for a Python method object.
  2. 01 Dec, 2015 5 commits
  3. 13 Nov, 2015 1 commit
  4. 08 Nov, 2015 2 commits
  5. 07 Nov, 2015 1 commit
  6. 06 Aug, 2015 4 commits
    • Joseph Weston's avatar
      fix hashing, replace hash for doubles by Python API function · bf7f6707
      Joseph Weston authored
      There were several changes in hashing between Python 2 and 3,
      including several macros being added to avoid "magic numbers".
      In addition, instead of having a hand-rolled implementation of
      hashing for `double` values we just use the Python API function
      `_Py_HashDouble` for compatibility.
    • Joseph Weston's avatar
      correct definition of PyBufferProcs · 4529d48d
      Joseph Weston authored
      We provide no `bf_releasebuffer` member because a buffer is
      just a view and has no resources associated with it (other
      than those which are handled by Python).
    • Joseph Weston's avatar
      remove unnecessary flags from type object defintion · 52e17592
      Joseph Weston authored
      the HAVE_NEWBUFFER flag was only needed in Python 2.x to maintain
      compatibility with versions earlier than 2.6, for which the buffer
      protocol was not backported. CHECKTYPES is now the default in Python
      3.x. Neither of these macros is defined in Python 3.x
    • Joseph Weston's avatar
      add int and string conversion · 9538b5ea
      Joseph Weston authored
      Mostly change string -> unicode, except in one instance where we
      want to have bytes (pickling/unpickling)
  7. 05 Aug, 2015 1 commit
  8. 17 Sep, 2013 2 commits
  9. 06 Sep, 2013 1 commit
  10. 05 Sep, 2013 1 commit
  11. 01 Aug, 2013 3 commits