17.03.2013 19:18, Pauli Virtanen kirjoitti:
> Hi,
>
> 17.03.2013 18:51, mark florisson kirjoitti:
> [clip]
>> Thanks, I pushed a fix here: https://github.com/markflorisson88/cython
>> (fd4853d202b13a92).
>
> Thanks. You beat me to this, I just arrived at the same fix :)
Note that the Py_XDECREF(
Hi,
17.03.2013 18:51, mark florisson kirjoitti:
[clip]
> Thanks, I pushed a fix here: https://github.com/markflorisson88/cython
> (fd4853d202b13a92).
Thanks. You beat me to this, I just arrived at the same fix :)
Cheers,
Pauli
___
cython-devel mailin
On 17 March 2013 16:15, Pauli Virtanen wrote:
> Hi,
>
> Here's a snippet demonstrating a refcount error with fused types inside
> classes:
>
> -8<-
> cimport cython
>
> ctypedef fused some_t:
> int
> double
>
> class Foo(object):
> def bar(self, some_t x):
> pas
Hi,
Here's a snippet demonstrating a refcount error with fused types inside
classes:
-8<-
cimport cython
ctypedef fused some_t:
int
double
class Foo(object):
def bar(self, some_t x):
pass
cdef extern from "Python.h":
int Py_REFCNT(object)
def main():