Numexpr 2.2.1 fails to build on Debian systems with s390 architecture (see [1]).
The issue seems to be related to the type of a pointer parameter that do not
matches the function signature of PyBytes_AsStringAndSize.
Please find attached the patch that should fix the issue (also implemented in
my fork at [2]).
Unfortunately I can't test the patch on s390 but it is quite simple and works
perfectly on amd64.
[1]
https://buildd.debian.org/status/fetch.php?pkg=numexpr&arch=s390&ver=2.2.1-1&sta
mp=1379971889
[2]
http://code.google.com/r/avalentinoit-numexpr/source/detail?r=98e71bd24bd89b85f8
96b163e98aaa12f35a748f
Original issue reported on code.google.com by a.valent...@gmail.com on 26 Sep 2013 at 8:59
Original issue reported on code.google.com by
a.valent...@gmail.com
on 26 Sep 2013 at 8:59Attachments: