Checking out Cython from master (the 0.23.x branch works fine) and
running "python setup.py install" gives me
Unable to find pgen, not compiling formal grammar.
Compiling module Cython.Compiler.Scanning ...
ERROR: 'module' object has no attribute 'CCodeConfig'
Extension module compilation fail
Jeroen Demeyer schrieb am 05.09.2015 um 11:01:
> Checking out Cython from master (the 0.23.x branch works fine) and running
> "python setup.py install" gives me
>
> Unable to find pgen, not compiling formal grammar.
> Compiling module Cython.Compiler.Scanning ...
>
> ERROR: 'module' object has no
Hi Mark!
Mark Florisson schrieb am 14.07.2015 um 20:34:
> I think this might be a bug (python 3.3 + cython 0.22.1):
>
> def f(term=b"12345"):
>
> val = int('987278186585')
> # The below line does not work, because it treats 1 as a constant integer
> # in the C code (32 bit on my
On 2015-09-05 11:22, Stefan Behnel wrote:
Thanks for the report. Yes, the generated C code evaluates the shift
operation in C space as
(1 << (__pyx_t_2 * 8))
And yes, I consider this a bug. It's not entirely easy to find the right
fix, though. I mean, the obvious thing to do would be to e
Hello Cython-devel,
I noticed that now unsigned constants like
DEF foo = 1
become 1U in the C source code.
This change (i.e. commit ea6414cd293ba2134c3df5b37b158d8e3db79083) broke
Sage. I haven't managed yet to actually isolate why this change broke
something.
Was this change of 1 to 1U in
This is a bug:
DEF myconst = 1
def foo():
cdef long x = -myconst
return x
This returns 4294967295.
___
cython-devel mailing list
cython-devel@python.org
https://mail.python.org/mailman/listinfo/cython-devel
Jeroen Demeyer schrieb am 05.09.2015 um 12:17:
> I noticed that now unsigned constants like
>
> DEF foo = 1
>
> become 1U in the C source code.
>
> This change (i.e. commit ea6414cd293ba2134c3df5b37b158d8e3db79083) broke
> Sage. I haven't managed yet to actually isolate why this change broke
> s
Stefan Behnel schrieb am 05.09.2015 um 16:01:
> Jeroen Demeyer schrieb am 05.09.2015 um 12:17:
>> I noticed that now unsigned constants like
>>
>> DEF foo = 1
>>
>> become 1U in the C source code.
>>
>> This change (i.e. commit ea6414cd293ba2134c3df5b37b158d8e3db79083) broke
>> Sage. I haven't mana
Hi!
It looks like PEP 498 (f-strings) is going to be accepted soon. Anyone
interested in implementing it for Cython?
https://www.python.org/dev/peps/pep-0498/
It's certainly a bit of work, but it's also very much Python-level
functionality and most of it can be handled in the parser, so I would