[python-arrayfire] 07/11: Post release with af.to_array fix for python3
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Sun May 1 19:50:23 UTC 2016
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch debian/master
in repository python-arrayfire.
commit 86fe60400915f6549308f068328c2d4557166528
Author: Pavan Yalamanchili <pavan at arrayfire.com>
Date: Wed Apr 27 19:21:59 2016 -0400
Post release with af.to_array fix for python3
---
arrayfire/array.py | 2 +-
setup.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arrayfire/array.py b/arrayfire/array.py
index 8ec9d82..660baef 100644
--- a/arrayfire/array.py
+++ b/arrayfire/array.py
@@ -407,7 +407,7 @@ class Array(BaseArray):
buf,buf_len = tmp.buffer_info()
_type_char = tmp.typecode
numdims, idims = _get_info(dims, buf_len)
- elif isinstance(src, long) or isinstance(src, int) or isinstance(src, ct.c_void_p):
+ elif isinstance(src, int) or isinstance(src, ct.c_void_p):
buf = src if not isinstance(src, ct.c_void_p) else src.value
numdims, idims = _get_info(dims, buf_len)
diff --git a/setup.py b/setup.py
index 0237d58..7ffbf90 100644
--- a/setup.py
+++ b/setup.py
@@ -16,7 +16,7 @@ from setuptools import setup, find_packages
## 2) Include test suite
# Some hackery to avoid merge conflicts between master and devel
-current_version = "3.3.20160427"
+current_version = "3.3.20160427.post1"
devel_version = "3.3.0"
release_version = current_version if current_version > devel_version else devel_version
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/python-arrayfire.git
More information about the debian-science-commits
mailing list