Search
Clear search
Close search
Main menu
Google apps
Groups
Sign in
Groups
cython-users
Conversations
About
Send feedback
Help
cython-users
1–30 of 4344
Mark all as read
Report group
0 selected
Marc Weber
Apr 10
Pyright and type comments?
I am looking at older version of cupy / cuda (cudart) It looks like it's using Cython. However
unread,
Pyright and type comments?
I am looking at older version of cupy / cuda (cudart) It looks like it's using Cython. However
Apr 10
Gabriel Fougeron
, …
Leo Hstone
7
Apr 8
"Cython memoryview" on existing buffer
Hi! I am trying to achieve something similar, but I already have a 1d memoryview and want to cast it
unread,
"Cython memoryview" on existing buffer
Hi! I am trying to achieve something similar, but I already have a 1d memoryview and want to cast it
Apr 8
Richard Shadrach
, …
Johannes Fischer
7
Mar 30
Performance of C-style vs general memory view access
Found some time to get back to this. First, apologies on that awfully incomplete reproducer. I
unread,
Performance of C-style vs general memory view access
Found some time to get back to this. First, apologies on that awfully incomplete reproducer. I
Mar 30
Brad Hoehne
, …
Prakhar Goel
10
Mar 21
Cython Noob having trouble getting off the ground
Did you move checkplate into the same directory as the rest of your code? What's the output of
unread,
Cython Noob having trouble getting off the ground
Did you move checkplate into the same directory as the rest of your code? What's the output of
Mar 21
raceychan
,
da-woods
2
Mar 6
what does directive decorator `cython.internal` do? is it deprecated?
They don't get added to the module dictionary so are only available from within Cython and not
unread,
what does directive decorator `cython.internal` do? is it deprecated?
They don't get added to the module dictionary so are only available from within Cython and not
Mar 6
Nenner KN
, …
Johannes Fischer
3
Feb 20
MVSC doesn't seem to work with Cython (in my case, at least)
Try to initialize your build env first, something like: "C:\Program Files\Microsoft Visual
unread,
MVSC doesn't seem to work with Cython (in my case, at least)
Try to initialize your build env first, something like: "C:\Program Files\Microsoft Visual
Feb 20
Sebastian Raab
, …
Stefan Behnel
14
Feb 17
Typing Extension Type Object
Am 3. Februar 2025 11:04:28 UTC schrieb Sebastian Raab: >Just to make sure, an here an other
unread,
Typing Extension Type Object
Am 3. Februar 2025 11:04:28 UTC schrieb Sebastian Raab: >Just to make sure, an here an other
Feb 17
Source
Feb 14
Cython subscription for premium git issues priority?
Just an idea. I'd happily subscribe to a monthly Cython donation in exchange for elevated issue
unread,
Cython subscription for premium git issues priority?
Just an idea. I'd happily subscribe to a monthly Cython donation in exchange for elevated issue
Feb 14
Source
,
da-woods
2
Feb 11
Default arguments in extern cppclass
Non-extern cppclass is pretty limited, so I'm not really surprised that i doesn't work. Most
unread,
Default arguments in extern cppclass
Non-extern cppclass is pretty limited, so I'm not really surprised that i doesn't work. Most
Feb 11
Kai-Hsun Chen
,
da-woods
2
Feb 10
Best practice for marking a function as nogil
There isn't a single best practice because most combinations have their uses cdef void some_func(
unread,
Best practice for marking a function as nogil
There isn't a single best practice because most combinations have their uses cdef void some_func(
Feb 10
Prakhar Goel
,
da-woods
4
Feb 1
Cdef class fields and the adaptive interpreter
Interesting. Thanks for looking. -- PG On Sat, Feb 1, 2025, 05:36 da-woods <dw-...@d-woods.co.uk
unread,
Cdef class fields and the adaptive interpreter
Interesting. Thanks for looking. -- PG On Sat, Feb 1, 2025, 05:36 da-woods <dw-...@d-woods.co.uk
Feb 1
Henry S Thompson
Jan 14
Complete working version of cython Queue example?
I've spent several days trying to get this example [1] working, using Python3.11 and Cython 3.0.
unread,
Complete working version of cython Queue example?
I've spent several days trying to get this example [1] working, using Python3.11 and Cython 3.0.
Jan 14
Артем Бабаев (Vavp)
12/23/24
__pyx_vtab of Python object is null, when calling methods from C++
Hello, friends! I'm trying to write a system that can be run in both python and C++. If you build
unread,
__pyx_vtab of Python object is null, when calling methods from C++
Hello, friends! I'm trying to write a system that can be run in both python and C++. If you build
12/23/24
evgeny.b...@gmail.com
12/19/24
const/non-const template type deduction with fused types
Hi, I looking at this fused types / c++ template dediction issue, https://github.com/cython/cython/
unread,
const/non-const template type deduction with fused types
Hi, I looking at this fused types / c++ template dediction issue, https://github.com/cython/cython/
12/19/24
Source
5
12/18/24
Extern void in pyx, with pxd, linking error "undefined reference to ..."
Just want to announce/update the bench results while waiting for a response that the module I made
unread,
Extern void in pyx, with pxd, linking error "undefined reference to ..."
Just want to announce/update the bench results while waiting for a response that the module I made
12/18/24
Andrew Nelson
,
da-woods
2
12/11/24
Using C++ typedef in cython
ctypedef. eg cdef extern from "myfunc.h" nogil: ctypedef libcpp.complex.complex[double]
unread,
Using C++ typedef in cython
ctypedef. eg cdef extern from "myfunc.h" nogil: ctypedef libcpp.complex.complex[double]
12/11/24
bijan SayyafZadeh
, …
Daniele Nicolodi
5
12/10/24
how to prevent generating .c files
On 09/12/24 19:17, bijan SayyafZadeh wrote: > Absolutely Stefan, > > I have a package with
unread,
how to prevent generating .c files
On 09/12/24 19:17, bijan SayyafZadeh wrote: > Absolutely Stefan, > > I have a package with
12/10/24
Johannes Fischer
12/8/24
std::string_view in Cython
As far as I know, Cython doesn't have any native support for std::string_view yet, right? Is it
unread,
std::string_view in Cython
As far as I know, Cython doesn't have any native support for std::string_view yet, right? Is it
12/8/24
Mateusz Sokol
, …
da-woods
4
12/6/24
Overriding `__module__` property in Cython
Small followup (I also posted on the Numpy issue). The problem is that Python sets `type.__module__`
unread,
Overriding `__module__` property in Cython
Small followup (I also posted on the Numpy issue). The problem is that Python sets `type.__module__`
12/6/24
Daniele Nicolodi
12/5/24
Public declarations in pure Python mode
Hello, is it possible to declare a symbol public (as in usable in C code, like explained here https:/
unread,
Public declarations in pure Python mode
Hello, is it possible to declare a symbol public (as in usable in C code, like explained here https:/
12/5/24
Ethan Craigo
,
Stefan Behnel
3
12/4/24
Odd behavior: pxd not linked to corresponding pyx without self-import in pyx
Hi Stefan; thank you for the response! > This implies that you have a Python package "
unread,
Odd behavior: pxd not linked to corresponding pyx without self-import in pyx
Hi Stefan; thank you for the response! > This implies that you have a Python package "
12/4/24
Alix Damman
,
Stefan Behnel
3
12/3/24
Using Numpy constant NPY_NAN from a pyx script
Hi Stefan, Thanks for the info that the Cython project no longer maintains the NumPy declarations. I
unread,
Using Numpy constant NPY_NAN from a pyx script
Hi Stefan, Thanks for the info that the Cython project no longer maintains the NumPy declarations. I
12/3/24
Gabriel Fougeron
, …
da-woods
6
11/24/24
Double complex on windows ?
I ran the build on github actions and the specific cython version is nowhere to be found in the logs
unread,
Double complex on windows ?
I ran the build on github actions and the specific cython version is nowhere to be found in the logs
11/24/24
laan
2
11/22/24
calling cython by c language
may solved the problem from here modify main.c to #include <Python.h> #include "example.h
unread,
calling cython by c language
may solved the problem from here modify main.c to #include <Python.h> #include "example.h
11/22/24
Lina Krings
11/19/24
Conversion problems between cython and xtensor
Hi, I want to use xtensor through cython as a faster numpy for complex math functions. From my
unread,
Conversion problems between cython and xtensor
Hi, I want to use xtensor through cython as a faster numpy for complex math functions. From my
11/19/24
Prakhar Goel
, …
Robert Bradshaw
5
11/19/24
Low-level object customization
I'm aware. The question is what to do if I don't want theGC, etc... to ignore them. I'd
unread,
Low-level object customization
I'm aware. The question is what to do if I don't want theGC, etc... to ignore them. I'd
11/19/24
Derrick Rose
,
da-woods
2
11/18/24
Logging formatting information, function name and corresponding line number cannot be located
I don't know if there's a good option here. "logging" inspects the stack for the
unread,
Logging formatting information, function name and corresponding line number cannot be located
I don't know if there's a good option here. "logging" inspects the stack for the
11/18/24
Sergey
,
da-woods
2
11/18/24
Leightweight logging library in C/C++ easily used in cython
It's probably easiest to tell Cython that it's a C-style varargs function. Cython will just
unread,
Leightweight logging library in C/C++ easily used in cython
It's probably easiest to tell Cython that it's a C-style varargs function. Cython will just
11/18/24
Sergey
,
da-woods
2
11/18/24
pass variable args to printf
If you need to forward C variable length args, you'd normally use vprintf instead of printf. On
unread,
pass variable args to printf
If you need to forward C variable length args, you'd normally use vprintf instead of printf. On
11/18/24
Jérôme Kieffer
, …
Peter Schay
5
11/17/24
Atomic operations ...
Thanks Peter, As David mentionned, there is a fairly good/portable API in C++ and since Cython can
unread,
Atomic operations ...
Thanks Peter, As David mentionned, there is a fairly good/portable API in C++ and since Cython can
11/17/24