Groups
Sign in
Groups
cython-users
Conversations
About
Send feedback
Help
cython-users
Contact owners and managers
1–30 of 4334
Mark all as read
Report group
0 selected
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
Sebastian Raab
,
da-woods
2
11/16/24
Pythran as numpy backend on Windows 11
It has been broken for a little while. I've now merged a PR to fix it (although that's
unread,
Pythran as numpy backend on Windows 11
It has been broken for a little while. I've now merged a PR to fix it (although that's
11/16/24
Brooke Heisler
, …
Prakhar Goel
4
11/16/24
Confusing results when C module depends on Cython module
Not sure approach two will work (you'll just end up having to import your shadow module). From
unread,
Confusing results when C module depends on Cython module
Not sure approach two will work (you'll just end up having to import your shadow module). From
11/16/24
Ross Burton
,
Robert Bradshaw
3
11/2/24
Is the Cython Metadata in generated .c needed?
We're cross compiling so have a sysroot, which means the build path is in the include_dirs member
unread,
Is the Cython Metadata in generated .c needed?
We're cross compiling so have a sysroot, which means the build path is in the include_dirs member
11/2/24
Matwey V. Kornilov
10/31/24
error: Undeclared variable
Hello, I am using Cython 3.0.11 and trying to compile the following code: from cython.parallel
unread,
error: Undeclared variable
Hello, I am using Cython 3.0.11 and trying to compile the following code: from cython.parallel
10/31/24
shakfu
,
Peter Schay
3
10/30/24
Alternative to DEF for constants in .pxd
Peter Schay wrote: Cython's enums are pretty great these days. Try cpdef enum: MAX_SIZE = 128
unread,
Alternative to DEF for constants in .pxd
Peter Schay wrote: Cython's enums are pretty great these days. Try cpdef enum: MAX_SIZE = 128
10/30/24
Pablo Hernán Paiva
10/29/24
setup() stops with an error while it doesn't really seems to happen...
Hi all, I am working on a script to compile to .so all the scripts in a folder (source_directory),
unread,
setup() stops with an error while it doesn't really seems to happen...
Hi all, I am working on a script to compile to .so all the scripts in a folder (source_directory),
10/29/24
Oier Arcelus
,
da-woods
2
10/23/24
segmentation fault in simple cdef function
It isn't infinite recursion is it? You've got two functions called `cfrom_attributes` and
unread,
segmentation fault in simple cdef function
It isn't infinite recursion is it? You've got two functions called `cfrom_attributes` and
10/23/24
Peter Schay
,
da-woods
3
10/16/24
importing a cython module in a subinterpreter
Thank you for the helpful info - exactly the level of detail I was hoping for! I'll run some
unread,
importing a cython module in a subinterpreter
Thank you for the helpful info - exactly the level of detail I was hoping for! I'll run some
10/16/24
BattleSushi
,
Daniele Nicolodi
3
10/16/24
Building Cython Project with C++ core library
Thanks for the hints Dan. I gavescikit-build-core a try, it seemed to me that `scikit-build` is
unread,
Building Cython Project with C++ core library
Thanks for the hints Dan. I gavescikit-build-core a try, it seemed to me that `scikit-build` is
10/16/24
Felipe Bordeu
10/14/24
Compiler crash in AnalyseExpressionsTransform.
Hello, I'm porting a code eignecy (https://github.com/wouterboomsma/eigency/pull/70) to cython
unread,
Compiler crash in AnalyseExpressionsTransform.
Hello, I'm porting a code eignecy (https://github.com/wouterboomsma/eigency/pull/70) to cython
10/14/24
da-woods
, …
Oscar Benjamin
5
10/9/24
Limited API
Hi Oscar, On 09/10/2024 11:34, Oscar Benjamin wrote: Hypothetically would it be possible for me to
unread,
Limited API
Hi Oscar, On 09/10/2024 11:34, Oscar Benjamin wrote: Hypothetically would it be possible for me to
10/9/24