- Sep 05, 2016
-
-
Christoph Groth authored
-
Christoph Groth authored
-
- May 26, 2016
-
-
Christoph Groth authored
-
- May 24, 2016
-
-
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.
-
- May 11, 2016
-
-
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
-
- Mar 31, 2016
-
- Dec 01, 2015
-
-
Christoph Groth authored
-
Christoph Groth authored
-
-
Christoph Groth authored
-
-
-
Christoph Groth authored
- Nov 13, 2015
-
-
Christoph Groth authored
-
Christoph Groth authored
This makes it fail for Python 3 also on 64 bit platforms.
-
- Nov 08, 2015
-
-
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.
-
- Nov 07, 2015
-
-
Christoph Groth authored
-
Christoph Groth authored
-
Christoph Groth authored
-
Christoph Groth authored
-
- Aug 06, 2015
-
-
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.
-
- Aug 05, 2015
-
-
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
-
- Sep 17, 2013
-
-
Christoph Groth authored
-