- 05 Sep, 2016 2 commits
-
-
Christoph Groth authored
-
Christoph Groth authored
-
- 26 May, 2016 1 commit
-
-
Christoph Groth authored
-
- 24 May, 2016 2 commits
-
-
Joseph Weston authored
Python2's weird comparison semantics are inconsistent with what we expect when `NotImplemented` is returned.
-
Joseph Weston authored
If the arrays do not have the same shape then we return NotImplemented.
-
- 11 May, 2016 2 commits
-
-
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.
-
Joseph Weston authored
-
- 31 Mar, 2016 1 commit
-
-
Joseph Weston authored
-
- 01 Dec, 2015 8 commits
-
-
Christoph Groth authored
-
Christoph Groth authored
-
Christoph Groth authored
-
-
Christoph Groth authored
-
-
-
Christoph Groth authored
-
- 13 Nov, 2015 2 commits
-
-
Christoph Groth authored
-
Christoph Groth authored
This makes it fail for Python 3 also on 64 bit platforms.
-
- 08 Nov, 2015 4 commits
-
-
Christoph Groth authored
-
Christoph Groth authored
-
Christoph Groth authored
-
Christoph Groth authored
The motivation behind this change is to allow keeping Tinyarray distributions in git repositories that have a different layout from the canonical Tinyarray git repository. This is useful for example for packaging. The static version is now kept in the file "version" and can take a special value that signifies that the version should be determined using git. This file is rewritten upon creation of a source distribution.
-
- 07 Nov, 2015 4 commits
-
-
Christoph Groth authored
-
Christoph Groth authored
-
Christoph Groth authored
-
Christoph Groth authored
-
- 06 Aug, 2015 9 commits
-
-
Joseph Weston authored
Also, be explicit about Python 2 support. Drop development status to 4 - Beta until we can test on other platforms.
-
Joseph Weston authored
In Python 3 changes the semantics of the `/` operator for integers. See https://docs.python.org/3/howto/pyporting.html#division for details. This required that we convert Array<long> to Array<float> before doing the division
-
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 authored
There is no `PyUnicode_AsString` in Python 3, so I have no idea why this even compiled.
-
Joseph Weston authored
Ran 2to3, removed conditional cPickle import and replaced `div` operation with `truediv`.
-
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 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 authored
Mostly change string -> unicode, except in one instance where we want to have bytes (pickling/unpickling)
-
Joseph Weston authored
Python 3 only defines floor_divide and true_divide, where true_divide should return floats even if the two inputs are integers. This is a non-trivial change, so we disable division of two integer arrays for now.
-
- 05 Aug, 2015 3 commits
-
-
Joseph Weston authored
Followed http://python3porting.com/cextensions.html#changes-in-python to convert references to PyInt to PyLong
-
Joseph Weston authored
Followed the advice here http://python3porting.com/cextensions.html#module-initialization on porting module creation. Should remain compatible with Python2 this way.
-
Joseph Weston authored
-
- 17 Sep, 2013 2 commits
-
-
Christoph Groth authored
-
Christoph Groth authored
-