* Stefan Behnel <stefan...@behnel.de>, 2015-08-17, 20:33:
$ cat testlong.pyx
def f(x):
      return 0L + x
$ python2.6 -c 'import pyximport as p; p.install(); import testlong; print
type(testlong.f(42))'
<type 'int'>

I added a long to an int, so I'd expect the result to be a long.
[...]
I understand that this is not entirely correct, but does it pose any problems in practice?

It broke my test suite, which is how I noticed; but yeah, I don't think it's a big deal.

--
Jakub Wilk
_______________________________________________
cython-devel mailing list
cython-devel@python.org
https://mail.python.org/mailman/listinfo/cython-devel

Reply via email to