swapnil jariwala schrieb am 15.07.2016 um 14:11:
> trac.cython.org does not open for me, I've come across an error while
> trying the tutorial, I've elaborated the same in below question
>
> http://stackoverflow.com/questions/38386722/how-to-resolve-error-error-compiling-cython-file-error
>
> any
> On Apr 24, 2016, at 03:15, Nathaniel Smith wrote:
>
> I don't know whether the same thing happens with released versions of
> emacs.
I see the same behaviour with the 24.5 release of emacs (stock python.el +
elpy). Turning off which-function-mode seems to solve it (thanks for the tip,
BTW).
Yes, we should be giving an error message here rather than crashing;
thanks for the report.
On Tue, Jul 9, 2013 at 7:36 AM, John Benediktsson wrote:
> Hi,
>
> I had some trouble debugging a traceback that I got from Cython, which ended
> up being a simple typo in a .pyx file. Below is a reduced
Russell Warren, 08.05.2012 08:25:
> Python's built-in function 'enumerate' has a lesser-known 2nd argument that
> allows the start value of the enumeration to be set. See the python docs
> here:
> http://docs.python.org/library/functions.html#enumerate
>
> Cython 0.16 doesn't like it, and only al
2011/12/17 mark florisson :
> Thanks, that was very helpful. The problem was that generator
> functions apparently don't fill out a name in the symbol table. You
> can try again from this branch:
> https://github.com/markflorisson88/cython/commit/ed648d932f3922f77e140a6292d65f56f4899090
> which wil
On 17 December 2011 12:57, Lars Buitinck wrote:
> 2011/12/17 mark florisson :
>> Thanks for your report, could you paste/attach the code of your
>> extension module?
>
> The code is online at https://github.com/larsmans/sortedcollection
>
> --
> Lars Buitinck
> Scientific programmer, ILPS
> Univer
2011/12/17 mark florisson :
> Thanks for your report, could you paste/attach the code of your
> extension module?
The code is online at https://github.com/larsmans/sortedcollection
--
Lars Buitinck
Scientific programmer, ILPS
University of Amsterdam
__
On 17 December 2011 12:40, Lars Buitinck wrote:
> 2011/12/17 Lars Buitinck :
>> I was trying to build a C++ extension with debugging support as
>> described in http://docs.cython.org/src/userguide/debugging.html, but
>> I got an error from the Cython compiler:
>
> Forgot to mention: I was using th
2011/12/17 Lars Buitinck :
> I was trying to build a C++ extension with debugging support as
> described in http://docs.cython.org/src/userguide/debugging.html, but
> I got an error from the Cython compiler:
Forgot to mention: I was using the very latest Git version of Cython,
a04c0f4eccc96ad47536
Vitja Makarov, 24.03.2011 19:15:
2011/3/24 Stefan Behnel:
Vitja Makarov, 23.03.2011 20:11:
2011/3/23 Stefan Behnel:
Vitja Makarov, 23.03.2011 17:25:
File "/home/vitja/tmp/cython-my-git/Cython/Compiler/Parsing.py",
line 2307, in p_c_arg_decl
if 'pxd' in s.level:
AttributeError: 'Pyr
2011/3/24 Stefan Behnel :
> Vitja Makarov, 23.03.2011 20:11:
>>
>> 2011/3/23 Stefan Behnel:
>>>
>>> Vitja Makarov, 23.03.2011 17:25:
File "/home/vitja/tmp/cython-my-git/Cython/Compiler/Parsing.py",
line 2307, in p_c_arg_decl
if 'pxd' in s.level:
AttributeError: 'Pyrex
Vitja Makarov, 23.03.2011 20:11:
2011/3/23 Stefan Behnel:
Vitja Makarov, 23.03.2011 17:25:
File "/home/vitja/tmp/cython-my-git/Cython/Compiler/Parsing.py",
line 2307, in p_c_arg_decl
if 'pxd' in s.level:
AttributeError: 'PyrexScanner' object has no attribute 'level'
Yes it does:
"""
2011/3/23 Stefan Behnel :
> Vitja Makarov, 23.03.2011 17:25:
>>
>> File "/home/vitja/tmp/cython-my-git/Cython/Compiler/Parsing.py",
>> line 2307, in p_c_arg_decl
>> if 'pxd' in s.level:
>> AttributeError: 'PyrexScanner' object has no attribute 'level'
>
> Yes it does:
>
> """
> # Cython/Plex/
Vitja Makarov, 23.03.2011 17:25:
def f():
return lambda x=0: x
f()()
Gives me this bogus code at function entry:
Py_ssize_t kw_args = PyDict_Size(__pyx_kwds);
PyObject* values[1] = {0};
values[0] = ((PyObject *)0); // <<< !!!
Looks like the default value is considered an
Vitja Makarov, 23.03.2011 17:25:
File "/home/vitja/tmp/cython-my-git/Cython/Compiler/Parsing.py",
line 2307, in p_c_arg_decl
if 'pxd' in s.level:
AttributeError: 'PyrexScanner' object has no attribute 'level'
Yes it does:
"""
# Cython/Plex/Scanners.pxd
cdef class Scanner:
[...]
2011/3/23 René Rex :
> Hello
>
> The attached code creates a segfault with Cython 0.14.1. A workaround
> is to use a real function instead of lambda. Using the normal python
> interpreter the same code works flawlessly.
>
> Here are my build commands:
>
> cython --embed vectorizeBug.pyx
> gcc -pthr
16 matches
Mail list logo