Hi Stefan!
Could you push the 3.0a4 tag to GitHub?
--
Jakub Wilk
___
cython-devel mailing list
cython-devel@python.org
https://mail.python.org/mailman/listinfo/cython-devel
builtin_range, __pyx_tuple_, NULL); ...
...
(The problem goes away if cdef the iteration variables, which I should
do anyway, so it's not a big deal for me.)
--
Jakub Wilk
def for_from():
for i from 0 <= i < 10:
for j from 0 <= j < 10:
print(i
the
documentation[0]. You might want to fix them, or add appropriate
warnings.
[0] $ grep -r "DEF.*=.*['\"]" docs/
docs/src/reference/language_basics.rst:DEF FavouriteFood = "spam"
docs/src/userguide/language_basics.rst:DEF Favouri
I think something is still not quite right in Cython 0.23.2.
Consider this code:
DEF FOO = 'foo'
print type('foo')
print type(FOO)
In Python 3, I get:
--
Jakub Wilk
___
cython-devel mailing list
cython-devel@python.org
htt
tension],
include_path=cython_include_dirs, quiet=quiet)
File
"/home/jwilk/.local/lib/python2.7/site-packages/Cython/Build/Dependencies.py",
line 877, in cythonize
cythonize_one(*args)
File
"/home/jwilk/.local/lib/python2.7/site-packages/Cython/Build/Dependenci
DEF silently converts byte strings to Unicode strings:
$ cat testcase.pyx
DEF ABYTE = b'a'
print type(ABYTE)
$ python --version
Python 2.7.10
$ python -c 'import pyximport as p; p.install(); import testcase'
Tested with Cython 0.
(value, 0)
ValueError: invalid literal for int() with base 0: '2166136261L'
--
Jakub Wilk
DEF X = 0x811C9DC5
cdef void f():
cdef unsigned int x = X
___
cython-devel mailing list
cython-devel@python.org
https://mail.python.org/mailman/listinfo/cython-devel
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.py
be a long.
This works correctly in Python 2.7:
$ python2.7 -c 'import pyximport as p; p.install(); import testlong; print
type(testlong.f(42))'
It also worked correctly in Cython 0.22.1 + Python 2.6.
--
Jakub Wilk
___
cython-devel mailing lis