Hi,
Under some circumstances, in asyncio code that runs in uvloop [1],
cython code segfaults in cython/Cython/Utility/Coroutine.c:
static PyObject *
__Pyx_Coroutine_get_qualname(__pyx_CoroutineObject *self)
{
Py_INCREF(self->gi_qualname);
return self->gi_qualname;
}
"self->gi_
In CPython:
>>> async def foo(): pass
>>> foo.__module__
'__main__'
In Cython, async def coroutines lack __module__ attribute
Yury
___
cython-devel mailing list
cython-devel@python.org
https://mail.python.org/mailman/listinfo/cython-devel
I've just discovered that same thing has to be fixed for
__name__.
On 2016-05-14 5:31 PM, Yury Selivanov wrote:
Hi,
Under some circumstances, in asyncio code that runs in uvloop [1],
cython code segfaults in cython/Cython/Utility/Coroutine.c:
static PyO
On 2016-05-16 3:58 AM, Stefan Behnel wrote:
Yury Selivanov schrieb am 14.05.2016 um 23:31:
Under some circumstances, in asyncio code that runs in uvloop [1],
cython code segfaults in cython/Cython/Utility/Coroutine.c:
static PyObject *
__Pyx_Coroutine_get_qualname
On 2016-05-17 1:32 AM, Stefan Behnel wrote:
And finally, since both name values are guaranteed to be strings (the
setter checks their type), I wonder if we shouldn't just make sure they are
*exactly* Unicode strings by converting any subtypes, and then remove their
Py_CLEAR() from the tp_clear
Stefan, any ETA on this? For now I have to patch the C file generated
by Cython (otherwise uvloop segfaults), and that's kind of fragile.
Yury
On 2016-05-17 11:31 AM, Yury Selivanov wrote:
On 2016-05-17 1:32 AM, Stefan Behnel wrote:
And finally, since both name values are guaranteed
Please also take a look at https://github.com/cython/cython/issues/1493
On 2016-10-10 3:50 PM, Robert Bradshaw wrote:
Thanks for all of those to tested the alpha release. I think we've managed
to fix all the issues and regressions raised in that thread; here's a beta
that's likely to turn into
Congrats on the release!
It seems though that it's slightly broken:
https://github.com/cython/cython/issues/1496.
Yury
On 2016-10-25 4:34 PM, Robert Bradshaw wrote:
I'm happy to announce the release of Cython 0.25 which has numerous
new features and bug fixes. It is available at
https://pyp